AdRequest.ErrorCode

@IntDef(value = [0, 1, 2, 3, 4, 5, 6])
@Retention(value = AnnotationRetention.SOURCE)
public annotation AdRequest.ErrorCode


Summary

Constants

static final int

The ad request was not made due to a missing app ID.

static final int

Something happened internally; for instance, an invalid response was received from the ad server.

static final int

The ad string is invalid.

static final int

The ad request was invalid; for instance, the ad unit ID was incorrect.

static final int

The mediation adapter did not fill the ad request.

static final int

The ad request was unsuccessful due to network connectivity.

static final int

The ad request was successful, but no ad was returned due to lack of ad inventory.

Public constructors

Constants

APP_ID_MISSING

public static final int APP_ID_MISSING = 4

The ad request was not made due to a missing app ID.

INTERNAL_ERROR

public static final int INTERNAL_ERROR = 0

Something happened internally; for instance, an invalid response was received from the ad server.

INVALID_AD_STRING

public static final int INVALID_AD_STRING = 6

The ad string is invalid. For example, there is no request ID in the ad string.

INVALID_REQUEST

public static final int INVALID_REQUEST = 1

The ad request was invalid; for instance, the ad unit ID was incorrect.

MEDIATION_NO_FILL

public static final int MEDIATION_NO_FILL = 5

The mediation adapter did not fill the ad request.

NETWORK_ERROR

public static final int NETWORK_ERROR = 2

The ad request was unsuccessful due to network connectivity.

NO_FILL

public static final int NO_FILL = 3

The ad request was successful, but no ad was returned due to lack of ad inventory.

Public constructors

ErrorCode

public ErrorCode()