Enum FetchDemandResult
-
- All Implemented Interfaces:
public enum FetchDemandResultEnum fetch demand status for all ads.
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringNO_BIDS_MESSAGE
-
Enum Constant Summary
Enum Constants Enum Constant Description SUCCESSThe attaching keywords was successful, which means there was demand and the demand was set on the ad object.
INVALID_ACCOUNT_IDThe ad request failed due to empty account id
INVALID_CONFIG_IDThe ad request failed due to empty config id on the ad unit
INVALID_SIZESize is invalid or missing
INVALID_CONTEXTInvalid context passed
INVALID_AD_OBJECTGAM views supported only
INVALID_HOST_URLThe ad request failed because a CUSTOM host used without providing host url
NETWORK_ERRORThe ad request failed due to a network error.
TIMEOUTThe ad request took longer than set time out
NO_BIDSNo bids available from demand source
SERVER_ERRORServer responded with some error messages
-
Method Summary
Modifier and Type Method Description static FetchDemandResultparseErrorMessage(String msg)static Array<FetchDemandResult>values()Returns an array containing the constants of this enum type, in the order they're declared. static FetchDemandResultvalueOf(String name)Returns the enum constant of this type with the specified name. -
-
Method Detail
-
parseErrorMessage
static FetchDemandResult parseErrorMessage(String msg)
-
values
static Array<FetchDemandResult> 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.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static FetchDemandResult valueOf(String name)
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.)
- Returns:
the enum constant with the specified name
-
-
-
-