POBFullscreenAdInteractionDelegate Protocol Reference

Conforms to NSObject
Declared in POBFullscreenAdInteractionDelegate.h

Overview

This delegate is used to inform the fullscreen ad events from OpenWrap SDK ads. Implement this if your ad server implementation requires to be informed about these events.

– fullscreenAdEventDidLoad

OW SDK calls this method immediately after a fullscreen ad loads succesfully.

- (void)fullscreenAdEventDidLoad

Declared In

POBFullscreenAdInteractionDelegate.h

– fullscreenAdEventFailedToLoadWithError:

OW SDK calls this method immediately after a fullscreen ad fails to load.

- (void)fullscreenAdEventFailedToLoadWithError:(NSError *_Nullable)error

Parameters

error

The error object describing why the ad failed to load

Declared In

POBFullscreenAdInteractionDelegate.h

– fullscreenAdEventFailedToShowWithError:

OW SDK calls this method when the application has attempted to show a fullscreen ad and it cannot be shown.

- (void)fullscreenAdEventFailedToShowWithError:(NSError *)error

Parameters

error

The error describing why the video couldn’t play.

Discussion

A common usage of this delegate method is when the application tries to play a fullscreen video ad and the ad is not available to play.

Declared In

POBFullscreenAdInteractionDelegate.h

– fullscreenAdEventWillRewardUser:

OW SDK calls this method when the user should be rewarded.

- (void)fullscreenAdEventWillRewardUser:(POBReward *)reward

Parameters

reward

The reward object that contains the currency type as well as the amount that should be rewarded to the user.

Declared In

POBFullscreenAdInteractionDelegate.h

– fullscreenAdEventDidExpire

OW SDK calls this method if a previously loaded fullscreen ad got expired.

- (void)fullscreenAdEventDidExpire

Declared In

POBFullscreenAdInteractionDelegate.h

– fullscreenAdEventWillAppear

OW SDK calls this method when a fullscreen ad is about to appear.

- (void)fullscreenAdEventWillAppear

Discussion

If OW SDK is integrated using mediation waterfall with your ad server, you must use this method to inform the ‘ad is about to present(willAppear)’ event to your ad server SDK to prevent stalling of future ad requests

Declared In

POBFullscreenAdInteractionDelegate.h

– fullscreenAdEventDidAppear

OW SDK calls this method when a fullscreen ad has finished appearing.

- (void)fullscreenAdEventDidAppear

Discussion

If OW SDK is integrated using mediation waterfall with your ad server, you must use this method to inform the ‘ad has finished appearing(didAppear)’ event to your ad server SDK to prevent stalling of future ad requests

Declared In

POBFullscreenAdInteractionDelegate.h

– fullscreenAdEventWillDisappear

OW SDK calls this method when a fullscreen ad is about to disappear.

- (void)fullscreenAdEventWillDisappear

Discussion

If OW SDK is integrated using mediation waterfall with your ad server, you must use this method to inform the ‘ad is about to dismiss(willDisappear)’ event to your ad server SDK to prevent stalling of future ad requests

Declared In

POBFullscreenAdInteractionDelegate.h

– fullscreenAdEventDidDisappear

OW SDK calls this method when a fullscreen ad has finished disappearing.

- (void)fullscreenAdEventDidDisappear

Discussion

If OW SDK is integrated using mediation waterfall with your ad server, you must use this method to inform the ‘ad has finished dismissing(didDisappear)’ event to your ad server SDK to prevent stalling of future ad requests

Declared In

POBFullscreenAdInteractionDelegate.h

– fullscreenAdEventWillLeaveApplication

OW SDK calls this method when the fullscreen ad will cause the user to leave the application.

- (void)fullscreenAdEventWillLeaveApplication

Declared In

POBFullscreenAdInteractionDelegate.h

– fullscreenAdEventImpression

Optional method to receive instruction to track the impression.

- (void)fullscreenAdEventImpression

Declared In

POBFullscreenAdInteractionDelegate.h

– fullscreenAdEventClick

Optional method to receive instruction to track the ad click.

- (void)fullscreenAdEventClick

Declared In

POBFullscreenAdInteractionDelegate.h