public enum CreativeSetErrorReason extends Enum<CreativeSetErrorReason>
Java class for CreativeSetError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CreativeSetError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="VIDEO_FEATURE_REQUIRED"/>
<enumeration value="CANNOT_CREATE_OR_UPDATE_VIDEO_CREATIVES"/>
<enumeration value="ROADBLOCK_FEATURE_REQUIRED"/>
<enumeration value="MASTER_CREATIVE_CANNOT_BE_COMPANION"/>
<enumeration value="INVALID_ADVERTISER"/>
<enumeration value="UPDATE_MASTER_CREATIVE_NOT_ALLOWED"/>
<enumeration value="MASTER_CREATIVE_CANNOT_BELONG_TO_MULTIPLE_VIDEO_CREATIVE_SETS"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CANNOT_CREATE_OR_UPDATE_VIDEO_CREATIVES
Video creatives (including overlays, VAST redirects, etc..) cannot be created
or updated through the API.
|
INVALID_ADVERTISER
Creatives in a creative set must be for the same advertiser.
|
MASTER_CREATIVE_CANNOT_BE_COMPANION
A master creative cannot be a companion creative in the same creative set.
|
MASTER_CREATIVE_CANNOT_BELONG_TO_MULTIPLE_VIDEO_CREATIVE_SETS
A master creative must belong to only one video creative set.
|
ROADBLOCK_FEATURE_REQUIRED
The 'roadblock' feature is required but not enabled.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
UPDATE_MASTER_CREATIVE_NOT_ALLOWED
Updating a master creative in a creative set is not allowed.
|
VIDEO_FEATURE_REQUIRED
The 'video' feature is required but not enabled.
|
| Modifier and Type | Method and Description |
|---|---|
static CreativeSetErrorReason |
fromValue(String v) |
String |
value() |
static CreativeSetErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreativeSetErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreativeSetErrorReason VIDEO_FEATURE_REQUIRED
public static final CreativeSetErrorReason CANNOT_CREATE_OR_UPDATE_VIDEO_CREATIVES
public static final CreativeSetErrorReason ROADBLOCK_FEATURE_REQUIRED
public static final CreativeSetErrorReason MASTER_CREATIVE_CANNOT_BE_COMPANION
public static final CreativeSetErrorReason INVALID_ADVERTISER
public static final CreativeSetErrorReason UPDATE_MASTER_CREATIVE_NOT_ALLOWED
public static final CreativeSetErrorReason MASTER_CREATIVE_CANNOT_BELONG_TO_MULTIPLE_VIDEO_CREATIVE_SETS
public static final CreativeSetErrorReason UNKNOWN
public static CreativeSetErrorReason[] values()
for (CreativeSetErrorReason c : CreativeSetErrorReason.values()) System.out.println(c);
public static CreativeSetErrorReason 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 CreativeSetErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.