POBAppOpenAdDelegate Protocol Reference

Conforms to NSObject
Declared in POBAppOpenAd.h

Overview

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

– appOpenAdDidReceiveAd:

Notifies the delegate that an ad has been received successfully.

- (void)appOpenAdDidReceiveAd:(POBAppOpenAd *)appOpenAd

Parameters

appOpenAd

The POBAppOpenAd instance sending the message.

Discussion

Notifies the delegate that an ad has been received successfully.

Declared In

POBAppOpenAd.h

– appOpenAd:didFailToReceiveAdWithError:

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

- (void)appOpenAd:(POBAppOpenAd *)appOpenAd didFailToReceiveAdWithError:(NSError *)error

Parameters

appOpenAd

The POBAppOpenAd instance sending the message.

error

The error encountered while loading an ad.

Discussion

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

Declared In

POBAppOpenAd.h

– appOpenAd:didFailToShowAdWithError:

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

- (void)appOpenAd:(POBAppOpenAd *)appOpenAd didFailToShowAdWithError:(NSError *)error

Parameters

appOpenAd

The POBAppOpenAd instance sending the message.

error

The error encountered while showing an ad.

Discussion

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

Declared In

POBAppOpenAd.h

– appOpenAdWillPresentAd:

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

- (void)appOpenAdWillPresentAd:(POBAppOpenAd *)appOpenAd

Parameters

appOpenAd

The POBAppOpenAd instance sending the message.

Discussion

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

Declared In

POBAppOpenAd.h

– appOpenAdDidPresentAd:

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

- (void)appOpenAdDidPresentAd:(POBAppOpenAd *)appOpenAd

Parameters

appOpenAd

The POBAppOpenAd instance sending the message.

Discussion

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

Declared In

POBAppOpenAd.h

– appOpenAdDidDismissAd:

Notifies the delegate that the app open ad has been animated off the screen.

- (void)appOpenAdDidDismissAd:(POBAppOpenAd *)appOpenAd

Parameters

appOpenAd

The POBAppOpenAd instance sending the message.

Discussion

Notifies the delegate that the app open ad has been animated off the screen.

Declared In

POBAppOpenAd.h

– appOpenAdWillLeaveApplication:

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 ‘appOpenAdDidClickAd:’ instead.

- (void)appOpenAdWillLeaveApplication:(POBAppOpenAd *)appOpenAd

Parameters

appOpenAd

The POBAppOpenAd instance sending the message.

Discussion

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 ‘appOpenAdDidClickAd:’ instead.

Declared In

POBAppOpenAd.h

– appOpenAdDidClickAd:

Notifies the delegate of ad click

- (void)appOpenAdDidClickAd:(POBAppOpenAd *)appOpenAd

Parameters

appOpenAd

The POBAppOpenAd instance sending the message.

Discussion

Notifies the delegate of ad click

Declared In

POBAppOpenAd.h

– appOpenAdDidExpireAd:

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

- (void)appOpenAdDidExpireAd:(POBAppOpenAd *)appOpenAd

Parameters

appOpenAd

The POBAppOpenAd instance sending the message.

Discussion

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

Declared In

POBAppOpenAd.h

– appOpenAdDidRecordImpression:

Notifies the delegate that the app open ad has recorded the impression.

- (void)appOpenAdDidRecordImpression:(POBAppOpenAd *)appOpenAd

Parameters

appOpenAd

The POBAppOpenAd instance sending the message.

Discussion

Notifies the delegate that the app open ad has recorded the impression.

Declared In

POBAppOpenAd.h