public enum FeedItemTargetErrorReason extends Enum<FeedItemTargetErrorReason>
Java class for FeedItemTargetError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="FeedItemTargetError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="CRITERION_TYPE_NOT_SUPPORTED"/>
<enumeration value="FEED_ITEM_TARGET_ALREADY_EXISTS"/>
<enumeration value="NEGATIVE_TARGETING_NOT_SUPPORTED_FOR_CRITERION_TYPE"/>
<enumeration value="ONLY_MOBILE_TARGETING_IS_SUPPORTED_FOR_PLATFORM_CRITERION"/>
<enumeration value="FEED_ITEM_SCHEDULES_CANNOT_OVERLAP"/>
<enumeration value="CRITERION_ID_MUST_BE_SET_FOR_GIVEN_TYPE"/>
<enumeration value="TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE"/>
<enumeration value="TOO_MANY_SCHEDULES_PER_DAY"/>
<enumeration value="CANNOT_HAVE_ACTIVE_CAMPAIGN_AND_ACTIVE_AD_GROUP_TARGETS"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CANNOT_HAVE_ACTIVE_CAMPAIGN_AND_ACTIVE_AD_GROUP_TARGETS
A feed item may either have an active campaign target or an active ad group target.
|
CRITERION_ID_MUST_BE_SET_FOR_GIVEN_TYPE
The type of Criterion requires the criterion id to be set.
|
CRITERION_TYPE_NOT_SUPPORTED
The criterion type given cannot be used for targeting.
|
FEED_ITEM_SCHEDULES_CANNOT_OVERLAP
The schedules for a given feed item cannot overlap
|
FEED_ITEM_TARGET_ALREADY_EXISTS
The feed item target specified already exists, so it cannot be added.
|
NEGATIVE_TARGETING_NOT_SUPPORTED_FOR_CRITERION_TYPE
The type of criterion is not allowed to have negative targeting.
|
ONLY_MOBILE_TARGETING_IS_SUPPORTED_FOR_PLATFORM_CRITERION
Only platform criterion with mobile targeting are supported.
|
TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE
Too many targets of a given type were added for a single feed item.
|
TOO_MANY_SCHEDULES_PER_DAY
Too many AdSchedules are active for the feed item for the given day.
|
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static FeedItemTargetErrorReason |
fromValue(String v) |
String |
value() |
static FeedItemTargetErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FeedItemTargetErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FeedItemTargetErrorReason CRITERION_TYPE_NOT_SUPPORTED
public static final FeedItemTargetErrorReason FEED_ITEM_TARGET_ALREADY_EXISTS
public static final FeedItemTargetErrorReason NEGATIVE_TARGETING_NOT_SUPPORTED_FOR_CRITERION_TYPE
public static final FeedItemTargetErrorReason ONLY_MOBILE_TARGETING_IS_SUPPORTED_FOR_PLATFORM_CRITERION
public static final FeedItemTargetErrorReason FEED_ITEM_SCHEDULES_CANNOT_OVERLAP
public static final FeedItemTargetErrorReason CRITERION_ID_MUST_BE_SET_FOR_GIVEN_TYPE
public static final FeedItemTargetErrorReason TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE
public static final FeedItemTargetErrorReason TOO_MANY_SCHEDULES_PER_DAY
public static final FeedItemTargetErrorReason CANNOT_HAVE_ACTIVE_CAMPAIGN_AND_ACTIVE_AD_GROUP_TARGETS
public static final FeedItemTargetErrorReason UNKNOWN
public static FeedItemTargetErrorReason[] values()
for (FeedItemTargetErrorReason c : FeedItemTargetErrorReason.values()) System.out.println(c);
public static FeedItemTargetErrorReason 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 FeedItemTargetErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.