LoadAdError.ErrorCode

enum LoadAdError.ErrorCode : Enum


Summary

Enum Values

AD_RESPONSE_ALREADY_USED

The server-to-server ad response was already used to load an ad.

APP_ID_MISSING

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

CANCELLED

The ad request was canceled.

INTERNAL_ERROR

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

INVALID_AD_RESPONSE

The server-to-server ad response is invalid.

INVALID_REQUEST

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

NETWORK_ERROR

The ad request was unsuccessful due to network connectivity.

NOT_FOUND

The mediation adapter could not be found, or does not support the requested ad format.

NO_FILL

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

REQUEST_ID_MISMATCH

The request ID on the ad response does not match the request ID from any valid signal request.

TIMEOUT

The ad request timed out.

Public functions

LoadAdError.ErrorCode
valueOf(value: String)

Returns the enum constant of this type with the specified name.

Array<LoadAdError.ErrorCode>

Returns an array containing the constants of this enum type, in the order they're declared.

Public properties

EnumEntries<LoadAdError.ErrorCode>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Int

Enum Values

AD_RESPONSE_ALREADY_USED

val LoadAdError.ErrorCode.AD_RESPONSE_ALREADY_USEDLoadAdError.ErrorCode

The server-to-server ad response was already used to load an ad.

APP_ID_MISSING

val LoadAdError.ErrorCode.APP_ID_MISSINGLoadAdError.ErrorCode

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

CANCELLED

val LoadAdError.ErrorCode.CANCELLEDLoadAdError.ErrorCode

The ad request was canceled.

INTERNAL_ERROR

val LoadAdError.ErrorCode.INTERNAL_ERRORLoadAdError.ErrorCode

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

INVALID_AD_RESPONSE

val LoadAdError.ErrorCode.INVALID_AD_RESPONSELoadAdError.ErrorCode

The server-to-server ad response is invalid. For example, there is no request ID in the ad response.

INVALID_REQUEST

val LoadAdError.ErrorCode.INVALID_REQUESTLoadAdError.ErrorCode

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

NETWORK_ERROR

val LoadAdError.ErrorCode.NETWORK_ERRORLoadAdError.ErrorCode

The ad request was unsuccessful due to network connectivity.

NOT_FOUND

val LoadAdError.ErrorCode.NOT_FOUNDLoadAdError.ErrorCode

The mediation adapter could not be found, or does not support the requested ad format.

NO_FILL

val LoadAdError.ErrorCode.NO_FILLLoadAdError.ErrorCode

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

REQUEST_ID_MISMATCH

val LoadAdError.ErrorCode.REQUEST_ID_MISMATCHLoadAdError.ErrorCode

The request ID on the ad response does not match the request ID from any valid signal request. For instance, this ad response was already used to load an ad.

TIMEOUT

val LoadAdError.ErrorCode.TIMEOUTLoadAdError.ErrorCode

The ad request timed out.

Public functions

valueOf

fun valueOf(value: String): LoadAdError.ErrorCode

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

fun values(): Array<LoadAdError.ErrorCode>

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

Public properties

entries

val entriesEnumEntries<LoadAdError.ErrorCode>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.

value

val valueInt