public enum TemplateInstantiatedCreativeErrorReason extends Enum<TemplateInstantiatedCreativeErrorReason>
Java class for TemplateInstantiatedCreativeError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TemplateInstantiatedCreativeError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="INACTIVE_CREATIVE_TEMPLATE"/>
<enumeration value="FILE_TYPE_NOT_ALLOWED"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
FILE_TYPE_NOT_ALLOWED
An uploaded file type is not allowed
|
INACTIVE_CREATIVE_TEMPLATE
A new creative cannot be created from an inactive creative template.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static TemplateInstantiatedCreativeErrorReason |
fromValue(String v) |
String |
value() |
static TemplateInstantiatedCreativeErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TemplateInstantiatedCreativeErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TemplateInstantiatedCreativeErrorReason INACTIVE_CREATIVE_TEMPLATE
public static final TemplateInstantiatedCreativeErrorReason FILE_TYPE_NOT_ALLOWED
public static final TemplateInstantiatedCreativeErrorReason UNKNOWN
public static TemplateInstantiatedCreativeErrorReason[] values()
for (TemplateInstantiatedCreativeErrorReason c : TemplateInstantiatedCreativeErrorReason.values()) System.out.println(c);
public static TemplateInstantiatedCreativeErrorReason 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 TemplateInstantiatedCreativeErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.