public enum AssetErrorReason extends Enum<AssetErrorReason>
Java class for AssetError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AssetError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="NON_UNIQUE_NAME"/>
<enumeration value="FILE_NAME_TOO_LONG"/>
<enumeration value="FILE_SIZE_TOO_LARGE"/>
<enumeration value="MISSING_REQUIRED_DYNAMIC_ALLOCATION_CLIENT"/>
<enumeration value="MISSING_REQUIRED_DYNAMIC_ALLOCATION_HEIGHT"/>
<enumeration value="MISSING_REQUIRED_DYNAMIC_ALLOCATION_WIDTH"/>
<enumeration value="MISSING_REQUIRED_DYNAMIC_ALLOCATION_FORMAT"/>
<enumeration value="INVALID_CODE_SNIPPET_PARAMETER_VALUE"/>
<enumeration value="INVALID_ASSET_ID"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
FILE_NAME_TOO_LONG
The file name is too long.
|
FILE_SIZE_TOO_LARGE
The file size is too large.
|
INVALID_ASSET_ID
Invalid asset Id.
|
INVALID_CODE_SNIPPET_PARAMETER_VALUE
The parameter value in the code snippet is invalid.
|
MISSING_REQUIRED_DYNAMIC_ALLOCATION_CLIENT
Required client code is not present in the code snippet.
|
MISSING_REQUIRED_DYNAMIC_ALLOCATION_FORMAT
Required format is not present in the mobile code snippet.
|
MISSING_REQUIRED_DYNAMIC_ALLOCATION_HEIGHT
Required height is not present in the code snippet.
|
MISSING_REQUIRED_DYNAMIC_ALLOCATION_WIDTH
Required width is not present in the code snippet.
|
NON_UNIQUE_NAME
An asset name must be unique across advertiser.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static AssetErrorReason |
fromValue(String v) |
String |
value() |
static AssetErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssetErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssetErrorReason NON_UNIQUE_NAME
public static final AssetErrorReason FILE_NAME_TOO_LONG
public static final AssetErrorReason FILE_SIZE_TOO_LARGE
public static final AssetErrorReason MISSING_REQUIRED_DYNAMIC_ALLOCATION_CLIENT
public static final AssetErrorReason MISSING_REQUIRED_DYNAMIC_ALLOCATION_HEIGHT
public static final AssetErrorReason MISSING_REQUIRED_DYNAMIC_ALLOCATION_WIDTH
public static final AssetErrorReason MISSING_REQUIRED_DYNAMIC_ALLOCATION_FORMAT
public static final AssetErrorReason INVALID_CODE_SNIPPET_PARAMETER_VALUE
public static final AssetErrorReason INVALID_ASSET_ID
public static final AssetErrorReason UNKNOWN
public static AssetErrorReason[] values()
for (AssetErrorReason c : AssetErrorReason.values()) System.out.println(c);
public static AssetErrorReason valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static AssetErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.