AdErrorEvent

public interface AdErrorEvent


An event raised when there is an error loading or playing ads.

Summary

Nested types

Interface for classes that will listen to AdErrorEvents.

Public methods

abstract AdError

The AdError that caused this event.

abstract Object

Returns the user-provided object that is associated with the ads request.

Public methods

getError

abstract AdError getError()

The AdError that caused this event.

getUserRequestContext

abstract Object getUserRequestContext()

Returns the user-provided object that is associated with the ads request. During ad loading request, it is possible to provide an object that is available once the ad load is complete or fails. This should be provided using AdsRequest.setUserRequestContext at ad request time. This object can be used to identify the request that caused the error.