POBInterstitialDelegate Protocol Reference

Conforms to NSObject
Declared in POBInterstitial.h

Overview

Protocol for interaction with the POBInterstitial instance. All messages are guaranteed to occur on the main thread.

– interstitialDidReceiveAd:

Notifies the delegate that an ad has been received successfully.

- (void)interstitialDidReceiveAd:(POBInterstitial *)interstitial

Parameters

interstitial

The POBInterstitial instance sending the message.

Declared In

POBInterstitial.h

– interstitial:didFailToReceiveAdWithError:

Notifies the delegate of an error encountered while loading an ad.

- (void)interstitial:(POBInterstitial *)interstitial didFailToReceiveAdWithError:(NSError *)error

Parameters

interstitial

The POBInterstitial instance sending the message.

error

The error encountered while loading an ad.

Declared In

POBInterstitial.h

– interstitial:didFailToShowAdWithError:

Notifies the delegate of an error encountered while showing an ad.

- (void)interstitial:(POBInterstitial *)interstitial didFailToShowAdWithError:(NSError *)error

Parameters

interstitial

The POBInterstitial instance sending the message.

error

The error encountered while showing an ad.

Declared In

POBInterstitial.h

– interstitialWillPresentAd:

Notifies the delegate that the interstitial ad will be presented as a modal on top of the current view controller.

- (void)interstitialWillPresentAd:(POBInterstitial *)interstitial

Parameters

interstitial

The POBInterstitial instance sending the message.

Declared In

POBInterstitial.h

– interstitialDidPresentAd:

Notifies the delegate that the interstitial ad is presented as a modal on top of the current view controller.

- (void)interstitialDidPresentAd:(POBInterstitial *)interstitial

Parameters

interstitial

The POBInterstitial instance sending the message.

Declared In

POBInterstitial.h

– interstitialDidDismissAd:

Notifies the delegate that the interstitial ad has been animated off the screen.

- (void)interstitialDidDismissAd:(POBInterstitial *)interstitial

Parameters

interstitial

The POBInterstitial instance sending the message.

Declared In

POBInterstitial.h

– interstitialWillLeaveApplication:

Notifies the delegate that a user interaction will open another app (e.g. App Store), leaving the current app. To handle user clicks that open the landing page URL in the internal browser, use ‘interstitialDidClickAd:’ instead.

- (void)interstitialWillLeaveApplication:(POBInterstitial *)interstitial

Parameters

interstitial

The POBInterstitial instance sending the message.

Declared In

POBInterstitial.h

– interstitialDidClickAd:

Notifies the delegate of ad click

- (void)interstitialDidClickAd:(POBInterstitial *)interstitial

Parameters

interstitial

The POBInterstitial instance sending the message.

Declared In

POBInterstitial.h

– interstitialDidExpireAd:

Notifies the delegate of an ad expiration. After this callback, this ‘POBInterstitial’ instance is marked as invalid & will not be shown.

- (void)interstitialDidExpireAd:(POBInterstitial *)interstitial

Parameters

interstitial

The POBInterstitial instance sending the message.

Declared In

POBInterstitial.h

– interstitialDidRecordImpression:

Notifies the delegate that the interstitial ad has recorded the impression.

- (void)interstitialDidRecordImpression:(POBInterstitial *)interstitial

Parameters

interstitial

The POBInterstitial instance sending the message.

Declared In

POBInterstitial.h