You are here: Developers > OpenX Mobile iOS SDK > Delegates

Delegates

Last updated on August 28, 2017

The tables on this page list the delegate methods that OpenX Mobile iOS SDK supports.

OXMAdViewDelegate protocol

Delegate method

Invoked when

Required?

adDidLoad

An ad is loaded (though not necessarily shown).

Note: AdDetails on adDidLoad includes a transactionId that uniquely identifies the ad, which you can use for managing and reporting ad qualitySettings that control the types of ads that can display on your inventory. issues.

Required

adDidFailToLoad

The load process fails to produce a viable ad.

Required

adClickthroughDidClose

The in-app browser, opened as a result of clicking an ad, has closed.

Optional

adDidComplete

An ad has finished displaying all of its creatives.

Optional

adDidDisplay

An ad has rendered to the device's screen, after loading.

Optional

adInterstitialDidClose

The interstitialA full-screen ad displayed in content transitions. For example, a video ad that loads between levels of a mobile game. window has closed.

Optional

adWasClicked

A user clicks an ad, opening an in-app browser.

Optional

adDidExpand

The MRAIDMobile Rich Ad Interface Definitions, a type of API framework for interfacing between an ad creative and native mobile capabilities. ad was expanded.

Optional

adDidCollapse

The MRAID ad was collapsed.

Optional

adDidLeaveApplication

The ad's creativeThe media asset associated with an ad, such as an image or video file.'s navigation caused the user to exit the app. For example, the user clicked a link in the ad that opened the mobile browser.

Optional

 

Feedback form