FBRewardedVideoAdDelegate

The methods declared by the FBRewardedVideoAdDelegate protocol allow the adopting delegate to respond to messages from the FBRewardedVideoAd class and thus respond to operations such as whether the ad has been loaded, the person has clicked the ad or closed video/end card.

Extends Protocol:NSObject
Declared in:FBRewardedVideoAd.h
Instance Methods
rewardedVideoAd:didFailWithError:

Sent after an FBRewardedVideoAd fails to load the ad.

ParameterDescription
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

error

An error object containing details of the error.

- (void)
rewardedVideoAd: (FBRewardedVideoAd *)rewardedVideoAd
didFailWithError: (NSError *)error;
Declared In: FBRewardedVideoAd.h
rewardedVideoAdComplete:

Sent after the FBRewardedVideoAd object has finished playing the video successfully. Reward the user on this callback.

ParameterDescription
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

- (void) rewardedVideoAdComplete:(FBRewardedVideoAd *)rewardedVideoAd;
Declared In: FBRewardedVideoAd.h
rewardedVideoAdDidClick:

Sent after an ad has been clicked by the person.

ParameterDescription
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

- (void) rewardedVideoAdDidClick:(FBRewardedVideoAd *)rewardedVideoAd;
Declared In: FBRewardedVideoAd.h
rewardedVideoAdDidClose:

Sent after an FBRewardedVideoAd object has been dismissed from the screen, returning control to your application.

ParameterDescription
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

- (void) rewardedVideoAdDidClose:(FBRewardedVideoAd *)rewardedVideoAd;
Declared In: FBRewardedVideoAd.h
rewardedVideoAdDidLoad:

Sent when an ad has been successfully loaded.

ParameterDescription
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

- (void) rewardedVideoAdDidLoad:(FBRewardedVideoAd *)rewardedVideoAd;
Declared In: FBRewardedVideoAd.h
rewardedVideoAdServerFailed:

Sent if server call to publisher's reward endpoint did not return HTTP status code 200 or if the endpoint timed out.

ParameterDescription
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

- (void) rewardedVideoAdServerFailed:(FBRewardedVideoAd *)rewardedVideoAd;
Declared In: FBRewardedVideoAd.h
rewardedVideoAdServerSuccess:

Sent if server call to publisher's reward endpoint returned HTTP status code 200.

ParameterDescription
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

- (void) rewardedVideoAdServerSuccess:(FBRewardedVideoAd *)rewardedVideoAd;
Declared In: FBRewardedVideoAd.h
rewardedVideoAdWillClose:

Sent immediately before an FBRewardedVideoAd object will be dismissed from the screen.

ParameterDescription
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

- (void) rewardedVideoAdWillClose:(FBRewardedVideoAd *)rewardedVideoAd;
Declared In: FBRewardedVideoAd.h
rewardedVideoAdWillLogImpression:

Sent immediately before the impression of an FBRewardedVideoAd object will be logged.

ParameterDescription
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

- (void) rewardedVideoAdWillLogImpression:(FBRewardedVideoAd *)rewardedVideoAd;
Declared In: FBRewardedVideoAd.h