AdErrorEvent

public interface AdErrorEvent

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

Nested Class Summary

interface AdErrorEvent.AdErrorListener Interface for classes that will listen to AdErrorEvents. 

Public Method Summary

abstract AdError
getError()
The AdError that caused this event.
abstract Object
getUserRequestContext()
Returns the user-provided object that is associated with the ads request.

Public Methods

public abstract AdError getError ()

The AdError that caused this event.

public 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.