Class: AdErrorEvent

Enumeration

Type

static

string

Types of AdErrorEvents

Value

AD_ERROR

Fired when an error occurred while the ad was loading or playing.

Property

Type

static

string

Types of AdErrorEvents

Value

AD_ERROR

Fired when an error occurred while the ad was loading or playing.

Methods

getError

getError() returns AdError

Returns

nullable AdError The AdError that caused this event.

getUserRequestContext

getUserRequestContext() returns Object

During ads load request it is possible to provide an object that is available once the ads load is complete or fails. One possible use case: relate ads response to a specific request and use user request content object as the key for identifying the response. If an error occurred during ads load, you can find out which request caused this failure.

Returns

nullable Object that was provided during ads request.