Enclosing class:
AdRequestError


public static final class AdRequestError.Code
extends java.lang.Object
Error codes to explain the main cause.

Field Summary

Fields
Modifier and TypeField and Description
static intINTERNAL_ERROR
Ad request failed with internal error.
static intINVALID_REQUEST
Ad request configured incorrectly.
static intNETWORK_ERROR
Ad request failed with connection error.
static intNO_FILL
Ad request completed successfully, but there are no ads available.
static intSYSTEM_ERROR
The ad request failed with system error.
static intUNKNOWN_ERROR
Ad request failed with unknown error.

Constructor Summary

Constructors
Constructor and Description
Code() 

Method Summary

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

UNKNOWN_ERROR

public static final int UNKNOWN_ERROR
Ad request failed with unknown error.
See Also:
Constant Field Values

INTERNAL_ERROR

public static final int INTERNAL_ERROR
Ad request failed with internal error.
See Also:
Constant Field Values

INVALID_REQUEST

public static final int INVALID_REQUEST
Ad request configured incorrectly.
See Also:
Constant Field Values

NETWORK_ERROR

public static final int NETWORK_ERROR
Ad request failed with connection error.
See Also:
Constant Field Values

NO_FILL

public static final int NO_FILL
Ad request completed successfully, but there are no ads available.
See Also:
Constant Field Values

SYSTEM_ERROR

public static final int SYSTEM_ERROR
The ad request failed with system error. For instance a WebView can't access the database file. NOTE: Don't try to load/reload ads if you've got this error.
See Also:
Constant Field Values

Constructor Detail

Code

public Code()