DFPRewardedEventHandler Class Reference

Inherits from NSObject
Conforms to POBRewardedAdEvent
Declared in DFPRewardedEventHandler.h

Overview

This class is responsible for communication between OpenWrap rewarded and DFP rewarded ads. It implements the POBRewardedAdEvent protocol. it notifies event back to OpenWrap SDK using POBRewardedAdEventDelegate methods

– initWithAdUnitId:

Initializes and returns a event handler with the specified DFP ad unit

- (instancetype)initWithAdUnitId:(NSString *)adUnitId

Parameters

adUnitId

DFP ad unit id

Discussion

Initializes and returns a event handler with the specified DFP ad unit

Declared In

DFPRewardedEventHandler.h

  configBlock

A configBlock that is called before event handler makes ad request call to DFP SDK. It passes GAMRequest which will be used to make ad request.

@property (nonatomic, copy) DFPRewardedConfigBlock configBlock

Discussion

A configBlock that is called before event handler makes ad request call to DFP SDK. It passes GAMRequest which will be used to make ad request.

Declared In

DFPRewardedEventHandler.h