Overview of AdDuplex event handlers and properties

Follow

Event handlers (callbacks) used in AdDuplex ad controls:

Event handler

Banner

Interstitial

Description

AdClick

+

+

is raised when the ad is clicked

AdLoaded

+

+

is raised when the ad is loaded

AdLoadingError

+

+

is raised when the ad fails to load

NoAd

+

+

is raised when there is no ad to load

AdCovered

+

 

is raised when the ad is covered or not visible

AdClosed

 

+

is raised when the ad is closed

 

Properties used in AdDuplex ad controls:

Property

Value Type

Banner

Interstitial

Description

AppKey

string

+

+

used to identify the unique app in our system

AdUnitId

string

+

+

used to identify the unique ad unit in our system

IsTest

bool

+

+

used to enable ad control’s test mode

CollapseOnError

bool

+

 

used to specify if the ad should be collapsed when the error is raised

RefreshInterval

int

+

 

used to specify ad refresh interval (minimum of 20 seconds)

ResetConfig

bool

+

 

used to reset control configuration data (Don't use this unless instructed otherwise)

IsFreshInterstitialAvailable

bool

 

+

used to get information if the fresh interstitial ad is available or not

Have more questions? Submit a request

Comments

Powered by Zendesk