AdColonyInterstitialDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | AdColonyInterstitialDelegate.h |
Overview
The delegate of an AdColonyInterstitial object. This delegate receives interstitial lifecycle notifications.
Other Methods
– adColonyInterstitialDidLoad:
required method
Did load notification
- (void)adColonyInterstitialDidLoad:(AdColonyInterstitial *_Nonnull)interstitial
Parameters
interstitial |
Loaded interstitial |
---|
Discussion
Notifies you when interstitial has been created, received an ad and is ready to use. Call is dispatched on main thread.
Declared In
AdColonyInterstitialDelegate.h
– adColonyInterstitialDidFailToLoad:
required method
No ad notification
- (void)adColonyInterstitialDidFailToLoad:(AdColonyAdRequestError *_Nonnull)error
Parameters
error |
Error with failure explanation |
---|
Discussion
Notifies you when SDK was not able to load an ad for requested zone. Call is dispatched on main thread.
Declared In
AdColonyInterstitialDelegate.h
– adColonyInterstitialWillOpen:
Open notification
- (void)adColonyInterstitialWillOpen:(AdColonyInterstitial *_Nonnull)interstitial
Parameters
interstitial |
interstitial ad object |
---|
Discussion
Notifies you when interstitial is going to show fullscreen content. Call is dispatched on main thread.
Declared In
AdColonyInterstitialDelegate.h
– adColonyInterstitialDidClose:
Close notification
- (void)adColonyInterstitialDidClose:(AdColonyInterstitial *_Nonnull)interstitial
Parameters
interstitial |
interstitial ad object |
---|
Discussion
Notifies you when interstitial dismissed fullscreen content. Call is dispatched on main thread.
Declared In
AdColonyInterstitialDelegate.h
– adColonyInterstitialExpired:
Expire notification
- (void)adColonyInterstitialExpired:(AdColonyInterstitial *_Nonnull)interstitial
Parameters
interstitial |
interstitial ad object |
---|
Discussion
Notifies you when an interstitial expires and is no longer valid for playback. This does not get triggered when the expired flag is set because it has been viewed. It’s recommended to request a new ad within this callback. Call is dispatched on main thread.
Declared In
AdColonyInterstitialDelegate.h
– adColonyInterstitialWillLeaveApplication:
Will leave application notification
- (void)adColonyInterstitialWillLeaveApplication:(AdColonyInterstitial *_Nonnull)interstitial
Parameters
interstitial |
interstitial ad object |
---|
Discussion
Notifies you when an ad action cause the user to leave application. Call is dispatched on main thread.
Declared In
AdColonyInterstitialDelegate.h
– adColonyInterstitialDidReceiveClick:
Click notification
- (void)adColonyInterstitialDidReceiveClick:(AdColonyInterstitial *_Nonnull)interstitial
Parameters
interstitial |
interstitial ad object |
---|
Discussion
Notifies you when the user taps on the interstitial causing the action to be taken. Call is dispatched on main thread.
Declared In
AdColonyInterstitialDelegate.h
Videos For Purchase (V4P)
– adColonyInterstitial:iapOpportunityWithProductId:andEngagement:
IAP opportunity notification
- (void)adColonyInterstitial:(AdColonyInterstitial *_Nonnull)interstitial iapOpportunityWithProductId:(NSString *_Nonnull)iapProductID andEngagement:(AdColonyIAPEngagement)engagement
Parameters
interstitial |
interstitial ad object |
---|---|
iapProductID |
IAP product id |
engagement |
engagement type |
Discussion
Notifies you when the ad triggers an IAP opportunity.
Declared In
AdColonyInterstitialDelegate.h