POBInterstitialEvent Protocol Reference
| Conforms to | NSObject |
|---|---|
| Declared in | POBInterstitialEvent.h |
Overview
The interstitial custom event protocol. Your interstitial custom event handler must implement this protocol to communicate with ad server SDK.
– requestAdWithBid:
required method
OpenWrap SDK calls this method when it has valid bid/s to pass to the ad server.
- (void)requestAdWithBid:(POBBid *_Nullable)bidParameters
bid |
bid details object having price and other useful information that can be passed to the ad server SDK |
|---|
Discussion
Note that, if the OpenWrap SDK does not have valid bids, requestAdWithBid: will be called with a nil bid value.
Declared In
POBInterstitialEvent.h
– setDelegate:
required method
OpenWrap SDK calls this method to set POBInterstitialEventDelegate, so that the interstitial custom event handler can inform the OpenWrap SDK about the events related to the ad server communication.
- (void)setDelegate:(id<POBInterstitialEventDelegate>)delegateParameters
delegate |
object of POBInterstitialEventDelegate implmentation |
|---|
Discussion
Save the delegate to use it in later phases of ad server events execution
Declared In
POBInterstitialEvent.h
– showFromViewController:
required method
OpenWrap SDK calls this method to show the interstitial ad from the ad server SDK
- (void)showFromViewController:(UIViewController *_Nonnull)controllerParameters
controller |
view controller to be used for presenting the interstitial ad |
|---|
Declared In
POBInterstitialEvent.h
– rendererForPartner:
Optional delegate to provide implementation of POBInterstitialRendering protocol to render ad in custom rendering component. If not implemented, the OpenWrap SDK internally creates its own renderer capable of handling simple HTML and MRAID creatives
- (id<POBInterstitialRendering> _Nullable)rendererForPartner:(NSString *)partnerParameters
partner |
name of the partner associated with the winning bid |
|---|
Discussion
Optional delegate to provide implementation of POBInterstitialRendering protocol to render ad in custom rendering component. If not implemented, the OpenWrap SDK internally creates its own renderer capable of handling simple HTML and MRAID creatives
Declared In
POBInterstitialEvent.h
– interactionDelegate
Return a delegate object to receive all the ad lifecycle events.
- (id<POBFullscreenAdInteractionDelegate>)interactionDelegateReturn Value
idPOBFullscreenAdInteractionDelegate interaction delegate
Discussion
OW SDK will inform the ad lifecycle events to this object. This is mostly useful when ad servers are integrated using mediation waterfall.
Declared In
POBInterstitialEvent.h