AdRequest.ErrorCode

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


Summary

Constants

const Int

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

const Int

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

const Int

The ad string is invalid.

const Int

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

const Int

The mediation adapter did not fill the ad request.

const Int

The ad request was unsuccessful due to network connectivity.

const Int

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

Public constructors

Constants

APP_ID_MISSING

const val APP_ID_MISSING = 4: Int

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

INTERNAL_ERROR

const val INTERNAL_ERROR = 0: Int

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

INVALID_AD_STRING

const val INVALID_AD_STRING = 6: Int

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

INVALID_REQUEST

const val INVALID_REQUEST = 1: Int

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

MEDIATION_NO_FILL

const val MEDIATION_NO_FILL = 5: Int

The mediation adapter did not fill the ad request.

NETWORK_ERROR

const val NETWORK_ERROR = 2: Int

The ad request was unsuccessful due to network connectivity.

NO_FILL

const val NO_FILL = 3: Int

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

Public constructors

ErrorCode

ErrorCode()