public enum FeedItemErrorReason extends Enum<FeedItemErrorReason>
Java class for FeedItemError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="FeedItemError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="CAMPAIGN_TARGETING_MISMATCH"/>
<enumeration value="CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING"/>
<enumeration value="CANNOT_OPERATE_ON_REMOVED_FEED_ITEM"/>
<enumeration value="DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE"/>
<enumeration value="KEY_ATTRIBUTES_NOT_FOUND"/>
<enumeration value="INVALID_DEVICE_PREFERENCE"/>
<enumeration value="INVALID_SCHEDULE_END"/>
<enumeration value="INVALID_URL"/>
<enumeration value="MISSING_KEY_ATTRIBUTES"/>
<enumeration value="KEY_ATTRIBUTES_NOT_UNIQUE"/>
<enumeration value="CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE"/>
<enumeration value="OVERLAPPING_SCHEDULES"/>
<enumeration value="SCHEDULE_END_NOT_AFTER_START"/>
<enumeration value="TOO_MANY_SCHEDULES_PER_DAY"/>
<enumeration value="SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CAMPAIGN_TARGETING_MISMATCH
Targeted adgroup's campaign does not match the targeted campaign.
|
CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING
Cannot convert the feed attribute value from string to its real type.
|
CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE
Cannot modify key attributes on an existing feed item.
|
CANNOT_OPERATE_ON_REMOVED_FEED_ITEM
Cannot operate on removed feed item.
|
DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE
Date time zone does not match the account's time zone.
|
INVALID_DEVICE_PREFERENCE
Unknown or unsupported device preference.
|
INVALID_SCHEDULE_END
Invalid feed item schedule end time (i.e., endHour = 24 and endMinute != 0).
|
INVALID_URL
Url feed attribute value is not valid.
|
KEY_ATTRIBUTES_NOT_FOUND
Feed item with the key attributes could not be found.
|
KEY_ATTRIBUTES_NOT_UNIQUE
Feed item has same key attributes as another feed item.
|
MISSING_KEY_ATTRIBUTES
Some key attributes are missing.
|
OVERLAPPING_SCHEDULES
Overlapping feed item schedule times (e.g., 7-10AM and 8-11AM) are not allowed.
|
SCHEDULE_END_NOT_AFTER_START
Feed item schedule end time must be after start time.
|
SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE
The feed attribute value is too large.
|
TOO_MANY_SCHEDULES_PER_DAY
There are too many feed item schedules per day.
|
UNKNOWN
Unknown error.
|
| Modifier and Type | Method and Description |
|---|---|
static FeedItemErrorReason |
fromValue(String v) |
String |
value() |
static FeedItemErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FeedItemErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FeedItemErrorReason CAMPAIGN_TARGETING_MISMATCH
public static final FeedItemErrorReason CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING
public static final FeedItemErrorReason CANNOT_OPERATE_ON_REMOVED_FEED_ITEM
public static final FeedItemErrorReason DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE
public static final FeedItemErrorReason KEY_ATTRIBUTES_NOT_FOUND
public static final FeedItemErrorReason INVALID_DEVICE_PREFERENCE
public static final FeedItemErrorReason INVALID_SCHEDULE_END
public static final FeedItemErrorReason INVALID_URL
public static final FeedItemErrorReason MISSING_KEY_ATTRIBUTES
public static final FeedItemErrorReason KEY_ATTRIBUTES_NOT_UNIQUE
public static final FeedItemErrorReason CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE
public static final FeedItemErrorReason OVERLAPPING_SCHEDULES
public static final FeedItemErrorReason SCHEDULE_END_NOT_AFTER_START
public static final FeedItemErrorReason TOO_MANY_SCHEDULES_PER_DAY
public static final FeedItemErrorReason SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE
public static final FeedItemErrorReason UNKNOWN
public static FeedItemErrorReason[] values()
for (FeedItemErrorReason c : FeedItemErrorReason.values()) System.out.println(c);
public static FeedItemErrorReason 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 FeedItemErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.