PWAdsRewardedVideoDelegate Protocol Reference

Conforms to NSObject
Declared in PWAdsRewardedVideo.h

Overview

A PWAdsRewardedVideoDelegate is needed to receive callbacks about rewarded video ad status.

– rewardedVideoDidLoadAd:withAdExtensionData:

Called when the adsLoader receives a video ad and is ready to play.

- (void)rewardedVideoDidLoadAd:(PWAdsRewardedVideo *)rewardedVideo withAdExtensionData:(NSDictionary *)adExtensionData

Parameters

rewardedVideo

The video ad that was loaded.

adExtensionData

Ad Extension Data contains information about the rewarded video. i.e. remaining views count for the current user.

Discussion

Called when the adsLoader receives a video ad and is ready to play.

Declared In

PWAdsRewardedVideo.h

– rewardedVideoDidFinishedPreCaching:withAdExtensionData:

Called when the adsLoader finishes pre-caching the video ad.

- (void)rewardedVideoDidFinishedPreCaching:(PWAdsRewardedVideo *)rewardedVideo withAdExtensionData:(NSDictionary *)adExtensionData

Parameters

rewardedVideo

The video ad that was loaded.

adExtensionData

Ad Extension Data contains information about the rewarded video. i.e. remaining views count for the current user.

Discussion

Called when the adsLoader finishes pre-caching the video ad.

Declared In

PWAdsRewardedVideo.h

– rewardedVideoDidEndPlaybackSuccessfully:withRVResponseObject:andAdExtensionData:

Called after rewarded video playback ends.

- (void)rewardedVideoDidEndPlaybackSuccessfully:(PWAdsRewardedVideo *)rewardedVideo withRVResponseObject:(NSDictionary *)customData andAdExtensionData:(NSDictionary *)adExtensionData

Parameters

rewardedVideo

The video ad that finished playing.

customData

Data provided by the client is returned for confirmation of reward.

adExtensionData

Ad Extension Data contains information about the rewarded video. i.e. remaining views count for the current user.

Discussion

Called after rewarded video playback ends.

Declared In

PWAdsRewardedVideo.h

– rewardedVideo:didFailError:withAdExtensionData:

Called when a rewarded video fails to load ad.

- (void)rewardedVideo:(PWAdsRewardedVideo *)rewardedVideo didFailError:(NSError *)error withAdExtensionData:(NSDictionary *)adExtensionData

Parameters

rewardedVideo

The rewarded video that failed to load ad.

error

The error string detailing why the video ad failed to play.

adExtensionData

Ad Extension Data contains information about the rewarded video. i.e. remaining views count for the current user.

Discussion

Called when a rewarded video fails to load ad.

Declared In

PWAdsRewardedVideo.h

– rewardedVideoDidPresentModal:withAdExtensionData:

Called after rewarded video is presented.

- (void)rewardedVideoDidPresentModal:(PWAdsRewardedVideo *)rewardedVideo withAdExtensionData:(NSDictionary *)adExtensionData

Parameters

rewardedVideo

The full-screen video ad that is presented.

adExtensionData

Ad Extension Data contains information about the rewarded video. i.e. remaining views count for the current user.

Discussion

Called after rewarded video is presented.

Declared In

PWAdsRewardedVideo.h

– rewardedVideoWillDismissModal:withAdExtensionData:

Called before rewarded video dismisses video modal.

- (void)rewardedVideoWillDismissModal:(PWAdsRewardedVideo *)rewardedVideo withAdExtensionData:(NSDictionary *)adExtensionData

Parameters

rewardedVideo

The video ad that finished playing.

adExtensionData

Ad Extension Data contains information about the rewarded video. i.e. remaining views count for the current user.

Discussion

Called before rewarded video dismisses video modal.

Declared In

PWAdsRewardedVideo.h

– rewardedVideoDidDismissModal:withAdExtensionData:

Called after rewarded video dismisses video modal.

- (void)rewardedVideoDidDismissModal:(PWAdsRewardedVideo *)rewardedVideo withAdExtensionData:(NSDictionary *)adExtensionData

Parameters

rewardedVideo

The video ad that finished playing.

adExtensionData

Ad Extension Data contains information about the rewarded video. i.e. remaining views count for the current user.

Discussion

Called after rewarded video dismisses video modal.

Declared In

PWAdsRewardedVideo.h