public enum ProgrammaticEntitiesErrorReason extends Enum<ProgrammaticEntitiesErrorReason>
Java class for ProgrammaticEntitiesError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ProgrammaticEntitiesError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="INVALID_RATE_TYPE"/>
<enumeration value="INVALID_ENVIRONMENT_TYPE"/>
<enumeration value="INVALID_PRODUCT_TYPE"/>
<enumeration value="INVALID_LINE_ITEM_TYPE"/>
<enumeration value="INVALID_ROADBLOCKING_TYPE"/>
<enumeration value="INVALID_DELIVERY_RATE_TYPE"/>
<enumeration value="INVALID_COMPANION_DELIVERY_OPTION"/>
<enumeration value="INVALID_CREATIVE_ROTATION_TYPE"/>
<enumeration value="INVALID_COMPANION_CREATIVE_PLACEHOLDER"/>
<enumeration value="EMPTY_CREATIVE_PLACEHOLDER"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
EMPTY_CREATIVE_PLACEHOLDER
Creative placeholders cannot be null or empty. |
INVALID_COMPANION_CREATIVE_PLACEHOLDER
CreativePlaceholder should not have companions. |
INVALID_COMPANION_DELIVERY_OPTION
CompanionDeliveryOption is not supported. |
INVALID_CREATIVE_ROTATION_TYPE
CreativeRotationType is not supported. |
INVALID_DELIVERY_RATE_TYPE
DeliveryRateType is not supported. |
INVALID_ENVIRONMENT_TYPE
EnvironmentType must match AdExchange environment. |
INVALID_LINE_ITEM_TYPE
LineItemType is not supported. |
INVALID_PRODUCT_TYPE
ProductType is not supported. |
INVALID_RATE_TYPE
RateType is not supported. |
INVALID_ROADBLOCKING_TYPE
RoadblockingType is not supported. |
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static ProgrammaticEntitiesErrorReason |
fromValue(String v) |
String |
value() |
static ProgrammaticEntitiesErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProgrammaticEntitiesErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProgrammaticEntitiesErrorReason INVALID_RATE_TYPE
RateType is not supported.public static final ProgrammaticEntitiesErrorReason INVALID_ENVIRONMENT_TYPE
EnvironmentType must match AdExchange environment.public static final ProgrammaticEntitiesErrorReason INVALID_PRODUCT_TYPE
ProductType is not supported.public static final ProgrammaticEntitiesErrorReason INVALID_LINE_ITEM_TYPE
LineItemType is not supported.public static final ProgrammaticEntitiesErrorReason INVALID_ROADBLOCKING_TYPE
RoadblockingType is not supported.public static final ProgrammaticEntitiesErrorReason INVALID_DELIVERY_RATE_TYPE
DeliveryRateType is not supported.public static final ProgrammaticEntitiesErrorReason INVALID_COMPANION_DELIVERY_OPTION
CompanionDeliveryOption is not supported.public static final ProgrammaticEntitiesErrorReason INVALID_CREATIVE_ROTATION_TYPE
CreativeRotationType is not supported.public static final ProgrammaticEntitiesErrorReason INVALID_COMPANION_CREATIVE_PLACEHOLDER
CreativePlaceholder should not have companions.public static final ProgrammaticEntitiesErrorReason EMPTY_CREATIVE_PLACEHOLDER
Creative placeholders cannot be null or empty.public static final ProgrammaticEntitiesErrorReason UNKNOWN
public static ProgrammaticEntitiesErrorReason[] values()
for (ProgrammaticEntitiesErrorReason c : ProgrammaticEntitiesErrorReason.values()) System.out.println(c);
public static ProgrammaticEntitiesErrorReason 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 ProgrammaticEntitiesErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.