POBRewardedAdDelegate Protocol Reference

Conforms to NSObject
Declared in POBRewardedAd.h

Overview

Protocol for interaction with the POBRewardedAd instance.

All messages are guaranteed to occur on the main thread.

– rewardedAdDidReceiveAd:

Notifies the delegate that an rewarded ad has been received successfully.

- (void)rewardedAdDidReceiveAd:(POBRewardedAd *)rewardedAd

Parameters

rewardedAd

The POBRewardedAd instance sending the message.

Declared In

POBRewardedAd.h

– rewardedAd:didFailToReceiveAdWithError:

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

- (void)rewardedAd:(POBRewardedAd *)rewardedAd didFailToReceiveAdWithError:(NSError *)error

Parameters

rewardedAd

The POBRewardedAd instance sending the message.

error

The error encountered while attempting to receive or render the ad.

Declared In

POBRewardedAd.h

– rewardedAd:didFailToShowAdWithError:

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

- (void)rewardedAd:(POBRewardedAd *)rewardedAd didFailToShowAdWithError:(NSError *)error

Parameters

rewardedAd

The POBRewardedAd instance sending the message.

error

The error encountered while attempting to render the ad.

Declared In

POBRewardedAd.h

– rewardedAdWillPresentAd:

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

- (void)rewardedAdWillPresentAd:(POBRewardedAd *)rewardedAd

Parameters

rewardedAd

The POBRewardedAd instance sending the message.

Declared In

POBRewardedAd.h

– rewardedAdDidPresentAd:

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

- (void)rewardedAdDidPresentAd:(POBRewardedAd *)rewardedAd

Parameters

rewardedAd

The POBRewardedAd instance sending the message.

Declared In

POBRewardedAd.h

– rewardedAdDidDismissAd:

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

- (void)rewardedAdDidDismissAd:(POBRewardedAd *)rewardedAd

Parameters

rewardedAd

The POBRewardedAd instance sending the message.

Declared In

POBRewardedAd.h

– rewardedAdDidClickAd:

Notifies the delegate of ad click

- (void)rewardedAdDidClickAd:(POBRewardedAd *)rewardedAd

Parameters

rewardedAd

The POBRewardedAd instance sending the message.

Declared In

POBRewardedAd.h

– rewardedAdWillLeaveApplication:

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

- (void)rewardedAdWillLeaveApplication:(POBRewardedAd *)rewardedAd

Parameters

rewardedAd

The POBRewardedAd instance sending the message.

Declared In

POBRewardedAd.h

– rewardedAdDidExpireAd:

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

- (void)rewardedAdDidExpireAd:(POBRewardedAd *)rewardedAd

Parameters

rewardedAd

The POBRewardedAd instance sending the message.

Declared In

POBRewardedAd.h

– rewardedAd:shouldReward:

Notifies the delegate that a user will be rewarded once the ad is completely viewed.

- (void)rewardedAd:(POBRewardedAd *)rewardedAd shouldReward:(POBReward *)reward

Parameters

rewardedAd

The POBRewardedAd instance sending the message.

reward

The POBReward instance to reward.

Declared In

POBRewardedAd.h

– rewardedAdDidRecordImpression:

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

- (void)rewardedAdDidRecordImpression:(POBRewardedAd *)rewardedAd

Parameters

rewardedAd

The POBRewardedAd instance sending the message.

Declared In

POBRewardedAd.h