public enum GrpSettingsErrorReason extends Enum<GrpSettingsErrorReason>
Java class for GrpSettingsError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="GrpSettingsError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="INVALID_AGE_RANGE"/>
<enumeration value="LINE_ITEM_ENVIRONMENT_TYPE_NOT_SUPPORTED"/>
<enumeration value="LINE_ITEM_TYPE_NOT_SUPPORTED"/>
<enumeration value="CANNOT_SPECIFY_GENDER_FOR_GIVEN_AGE_RANGE"/>
<enumeration value="INVALID_MIN_AGE"/>
<enumeration value="INVALID_MAX_AGE"/>
<enumeration value="CANNOT_DISABLE_GRP_AFTER_ENABLING"/>
<enumeration value="CANNOT_CHANGE_GRP_PROVIDERS"/>
<enumeration value="CANNOT_CHANGE_GRP_SETTINGS"/>
<enumeration value="GRP_AUDIENCE_GOAL_NOT_SUPPORTED"/>
<enumeration value="CANNOT_SET_GRP_AUDIENCE_GOAL"/>
<enumeration value="CANNOT_REMOVE_GRP_AUDIENCE_GOAL"/>
<enumeration value="UNSUPPORTED_GEO_TARGETING"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CANNOT_CHANGE_GRP_PROVIDERS
GRP provider cannot be updated.
|
CANNOT_CHANGE_GRP_SETTINGS
GRP settings cannot be updated once the line item has started serving.
|
CANNOT_DISABLE_GRP_AFTER_ENABLING
GRP settings cannot be disabled.
|
CANNOT_REMOVE_GRP_AUDIENCE_GOAL
Impression goal based on GRP audience cannot be removed once the line item has started
serving.
|
CANNOT_SET_GRP_AUDIENCE_GOAL
Impression goal based on GRP audience cannot be set once the line item has started serving.
|
CANNOT_SPECIFY_GENDER_FOR_GIVEN_AGE_RANGE
GRP audience gender cannot be specified for the selected age range.
|
GRP_AUDIENCE_GOAL_NOT_SUPPORTED
Impression goal based on GRP audience is not supported.
|
INVALID_AGE_RANGE
Age range for GRP audience is not valid.
|
INVALID_MAX_AGE
Maximum age for GRP audience is not valid.
|
INVALID_MIN_AGE
Minimum age for GRP audience is not valid.
|
LINE_ITEM_ENVIRONMENT_TYPE_NOT_SUPPORTED
GRP settings are only supported for video line items.
|
LINE_ITEM_TYPE_NOT_SUPPORTED
GRP settings are not supported for the given line item type.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
UNSUPPORTED_GEO_TARGETING
Unsupported geographic location targeted for line item with GRP audience goal.
|
| Modifier and Type | Method and Description |
|---|---|
static GrpSettingsErrorReason |
fromValue(String v) |
String |
value() |
static GrpSettingsErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrpSettingsErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrpSettingsErrorReason INVALID_AGE_RANGE
public static final GrpSettingsErrorReason LINE_ITEM_ENVIRONMENT_TYPE_NOT_SUPPORTED
public static final GrpSettingsErrorReason LINE_ITEM_TYPE_NOT_SUPPORTED
public static final GrpSettingsErrorReason CANNOT_SPECIFY_GENDER_FOR_GIVEN_AGE_RANGE
public static final GrpSettingsErrorReason INVALID_MIN_AGE
public static final GrpSettingsErrorReason INVALID_MAX_AGE
public static final GrpSettingsErrorReason CANNOT_DISABLE_GRP_AFTER_ENABLING
public static final GrpSettingsErrorReason CANNOT_CHANGE_GRP_PROVIDERS
public static final GrpSettingsErrorReason CANNOT_CHANGE_GRP_SETTINGS
public static final GrpSettingsErrorReason GRP_AUDIENCE_GOAL_NOT_SUPPORTED
public static final GrpSettingsErrorReason CANNOT_SET_GRP_AUDIENCE_GOAL
public static final GrpSettingsErrorReason CANNOT_REMOVE_GRP_AUDIENCE_GOAL
public static final GrpSettingsErrorReason UNSUPPORTED_GEO_TARGETING
public static final GrpSettingsErrorReason UNKNOWN
public static GrpSettingsErrorReason[] values()
for (GrpSettingsErrorReason c : GrpSettingsErrorReason.values()) System.out.println(c);
public static GrpSettingsErrorReason 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 GrpSettingsErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.