LoadAdError.ErrorCode

public enum LoadAdError.ErrorCode extends 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 methods

final @NonNull EnumEntries<@NonNull LoadAdError.ErrorCode>

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

final int
final @NonNull LoadAdError.ErrorCode

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

final @NonNull LoadAdError.ErrorCode[]

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

Enum Values

AD_RESPONSE_ALREADY_USED

LoadAdError.ErrorCode LoadAdError.ErrorCode.AD_RESPONSE_ALREADY_USED

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

APP_ID_MISSING

LoadAdError.ErrorCode LoadAdError.ErrorCode.APP_ID_MISSING

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

CANCELLED

LoadAdError.ErrorCode LoadAdError.ErrorCode.CANCELLED

The ad request was canceled.

INTERNAL_ERROR

LoadAdError.ErrorCode LoadAdError.ErrorCode.INTERNAL_ERROR

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

INVALID_AD_RESPONSE

LoadAdError.ErrorCode LoadAdError.ErrorCode.INVALID_AD_RESPONSE

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

INVALID_REQUEST

LoadAdError.ErrorCode LoadAdError.ErrorCode.INVALID_REQUEST

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

NETWORK_ERROR

LoadAdError.ErrorCode LoadAdError.ErrorCode.NETWORK_ERROR

The ad request was unsuccessful due to network connectivity.

NOT_FOUND

LoadAdError.ErrorCode LoadAdError.ErrorCode.NOT_FOUND

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

NO_FILL

LoadAdError.ErrorCode LoadAdError.ErrorCode.NO_FILL

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

REQUEST_ID_MISMATCH

LoadAdError.ErrorCode LoadAdError.ErrorCode.REQUEST_ID_MISMATCH

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

LoadAdError.ErrorCode LoadAdError.ErrorCode.TIMEOUT

The ad request timed out.

Public methods

getEntries

public final @NonNull EnumEntries<@NonNull LoadAdError.ErrorCodegetEntries()

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.

getValue

public final int getValue()

valueOf

public final @NonNull LoadAdError.ErrorCode valueOf(@NonNull String value)

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

public final @NonNull LoadAdError.ErrorCode[] values()

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.