public enum ClickTrackingLineItemErrorReason extends Enum<ClickTrackingLineItemErrorReason>
Java class for ClickTrackingLineItemError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ClickTrackingLineItemError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="TYPE_IMMUTABLE"/>
<enumeration value="INVALID_TARGETING_TYPE"/>
<enumeration value="INVALID_ROADBLOCKING_TYPE"/>
<enumeration value="INVALID_CREATIVEROTATION_TYPE"/>
<enumeration value="INVALID_DELIVERY_RATE_TYPE"/>
<enumeration value="UNSUPPORTED_FIELD"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
INVALID_CREATIVEROTATION_TYPE
Click tracking line items do not support the
CreativeRotationType.OPTIMIZED creative rotation type. |
INVALID_DELIVERY_RATE_TYPE
Click tracking line items do not allow us to control line item delivery so
we can not control the rate at which they are served.
|
INVALID_ROADBLOCKING_TYPE
Click tracking line items do not allow us to control creative delivery so
are by nature one or more as entered by the third party.
|
INVALID_TARGETING_TYPE
Click tracking line items can only be targeted at ad unit inventory, all other
types are invalid, as well as placements.
|
TYPE_IMMUTABLE
The line item type cannot be changed once created.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
UNSUPPORTED_FIELD
Not all fields are supported by the click tracking line items.
|
| Modifier and Type | Method and Description |
|---|---|
static ClickTrackingLineItemErrorReason |
fromValue(String v) |
String |
value() |
static ClickTrackingLineItemErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClickTrackingLineItemErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClickTrackingLineItemErrorReason TYPE_IMMUTABLE
public static final ClickTrackingLineItemErrorReason INVALID_TARGETING_TYPE
public static final ClickTrackingLineItemErrorReason INVALID_ROADBLOCKING_TYPE
public static final ClickTrackingLineItemErrorReason INVALID_CREATIVEROTATION_TYPE
CreativeRotationType.OPTIMIZED creative rotation type.public static final ClickTrackingLineItemErrorReason INVALID_DELIVERY_RATE_TYPE
public static final ClickTrackingLineItemErrorReason UNSUPPORTED_FIELD
public static final ClickTrackingLineItemErrorReason UNKNOWN
public static ClickTrackingLineItemErrorReason[] values()
for (ClickTrackingLineItemErrorReason c : ClickTrackingLineItemErrorReason.values()) System.out.println(c);
public static ClickTrackingLineItemErrorReason 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 ClickTrackingLineItemErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.