public enum CreativeErrorReason extends Enum<CreativeErrorReason>
Java class for CreativeError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CreativeError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="FLASH_AND_FALLBACK_URL_ARE_SAME"/>
<enumeration value="INVALID_INTERNAL_REDIRECT_URL"/>
<enumeration value="DESTINATION_URL_REQUIRED"/>
<enumeration value="DESTINATION_URL_NOT_EMPTY"/>
<enumeration value="DESTINATION_URL_TYPE_NOT_SUPPORTED"/>
<enumeration value="CANNOT_CREATE_OR_UPDATE_LEGACY_DFP_CREATIVE"/>
<enumeration value="CANNOT_CREATE_OR_UPDATE_LEGACY_DFP_MOBILE_CREATIVE"/>
<enumeration value="MISSING_FEATURE"/>
<enumeration value="INVALID_COMPANY_TYPE"/>
<enumeration value="INVALID_ADSENSE_CREATIVE_SIZE"/>
<enumeration value="INVALID_AD_EXCHANGE_CREATIVE_SIZE"/>
<enumeration value="DUPLICATE_ASSET_IN_CREATIVE"/>
<enumeration value="CREATIVE_ASSET_CANNOT_HAVE_ID_AND_BYTE_ARRAY"/>
<enumeration value="CANNOT_CREATE_OR_UPDATE_UNSUPPORTED_CREATIVE"/>
<enumeration value="CANNOT_CREATE_PROGRAMMATIC_CREATIVES"/>
<enumeration value="INVALID_SIZE_FOR_THIRD_PARTY_IMPRESSION_TRACKER"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CANNOT_CREATE_OR_UPDATE_LEGACY_DFP_CREATIVE
Cannot create or update legacy DART For Publishers creative.
|
CANNOT_CREATE_OR_UPDATE_LEGACY_DFP_MOBILE_CREATIVE
Cannot create or update legacy mobile creative.
|
CANNOT_CREATE_OR_UPDATE_UNSUPPORTED_CREATIVE
Cannot create or update unsupported creative.
|
CANNOT_CREATE_PROGRAMMATIC_CREATIVES
Cannot create programmatic creatives.
|
CREATIVE_ASSET_CANNOT_HAVE_ID_AND_BYTE_ARRAY
A creative asset cannot contain an asset ID and a byte array.
|
DESTINATION_URL_NOT_EMPTY
HasDestinationUrlCreative.destinationUrl must be empty when its type is
DestinationUrlType.NONE. |
DESTINATION_URL_REQUIRED
HasDestinationUrlCreative.destinationUrl is required. |
DESTINATION_URL_TYPE_NOT_SUPPORTED
The provided
DestinationUrlType is not supported for the creative type it is
being used on. |
DUPLICATE_ASSET_IN_CREATIVE
Assets associated with the same creative must be unique.
|
FLASH_AND_FALLBACK_URL_ARE_SAME
BaseFlashRedirectCreative.flashUrl and
BaseFlashRedirectCreative.fallbackUrl are the same. |
INVALID_AD_EXCHANGE_CREATIVE_SIZE
Invalid size for Ad Exchange dynamic allocation creative.
|
INVALID_ADSENSE_CREATIVE_SIZE
Invalid size for AdSense dynamic allocation creative.
|
INVALID_COMPANY_TYPE
Company type should be one of Advertisers, House Advertisers and
Ad Networks.
|
INVALID_INTERNAL_REDIRECT_URL
The internal redirect URL was invalid.
|
INVALID_SIZE_FOR_THIRD_PARTY_IMPRESSION_TRACKER
A creative must have valid size to use the third-party impression tracker.
|
MISSING_FEATURE
The user is missing a necessary feature.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static CreativeErrorReason |
fromValue(String v) |
String |
value() |
static CreativeErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreativeErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreativeErrorReason FLASH_AND_FALLBACK_URL_ARE_SAME
BaseFlashRedirectCreative.flashUrl and
BaseFlashRedirectCreative.fallbackUrl are the same. The fallback URL
is used when the flash URL does not work and must be different from it.public static final CreativeErrorReason INVALID_INTERNAL_REDIRECT_URL
public static final CreativeErrorReason DESTINATION_URL_REQUIRED
HasDestinationUrlCreative.destinationUrl is required.public static final CreativeErrorReason DESTINATION_URL_NOT_EMPTY
HasDestinationUrlCreative.destinationUrl must be empty when its type is
DestinationUrlType.NONE.public static final CreativeErrorReason DESTINATION_URL_TYPE_NOT_SUPPORTED
DestinationUrlType is not supported for the creative type it is
being used on.public static final CreativeErrorReason CANNOT_CREATE_OR_UPDATE_LEGACY_DFP_CREATIVE
public static final CreativeErrorReason CANNOT_CREATE_OR_UPDATE_LEGACY_DFP_MOBILE_CREATIVE
public static final CreativeErrorReason MISSING_FEATURE
public static final CreativeErrorReason INVALID_COMPANY_TYPE
public static final CreativeErrorReason INVALID_ADSENSE_CREATIVE_SIZE
public static final CreativeErrorReason INVALID_AD_EXCHANGE_CREATIVE_SIZE
public static final CreativeErrorReason DUPLICATE_ASSET_IN_CREATIVE
public static final CreativeErrorReason CREATIVE_ASSET_CANNOT_HAVE_ID_AND_BYTE_ARRAY
public static final CreativeErrorReason CANNOT_CREATE_OR_UPDATE_UNSUPPORTED_CREATIVE
public static final CreativeErrorReason CANNOT_CREATE_PROGRAMMATIC_CREATIVES
public static final CreativeErrorReason INVALID_SIZE_FOR_THIRD_PARTY_IMPRESSION_TRACKER
public static final CreativeErrorReason UNKNOWN
public static CreativeErrorReason[] values()
for (CreativeErrorReason c : CreativeErrorReason.values()) System.out.println(c);
public static CreativeErrorReason 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 CreativeErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.