public enum CampaignFeedErrorReason extends Enum<CampaignFeedErrorReason>
Java class for CampaignFeedError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CampaignFeedError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE"/>
<enumeration value="INVALID_ID"/>
<enumeration value="CANNOT_ADD_FOR_DELETED_FEED"/>
<enumeration value="CANNOT_ADD_ALREADY_EXISTING_CAMPAIGN_FEED"/>
<enumeration value="CANNOT_OPERATE_ON_REMOVED_CAMPAIGN_FEED"/>
<enumeration value="INVALID_PLACEHOLDER_TYPES"/>
<enumeration value="MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE"/>
<enumeration value="NO_EXISTING_LOCATION_CUSTOMER_FEED"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CANNOT_ADD_ALREADY_EXISTING_CAMPAIGN_FEED
The CampaignFeed already exists.
|
CANNOT_ADD_FOR_DELETED_FEED
The specified feed is deleted.
|
CANNOT_OPERATE_ON_REMOVED_CAMPAIGN_FEED
Cannot operate on deleted campaign feed.
|
FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE
An active feed already exists for this campaign and place holder type.
|
INVALID_ID
The specified id does not exist.
|
INVALID_PLACEHOLDER_TYPES
Invalid placeholder type ids.
|
MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE
Feed mapping for this placeholder type does not exist.
|
NO_EXISTING_LOCATION_CUSTOMER_FEED
Location CampaignFeeds cannot be created unless there is a location CustomerFeed
for the specified feed.
|
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static CampaignFeedErrorReason |
fromValue(String v) |
String |
value() |
static CampaignFeedErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CampaignFeedErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CampaignFeedErrorReason FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE
public static final CampaignFeedErrorReason INVALID_ID
public static final CampaignFeedErrorReason CANNOT_ADD_FOR_DELETED_FEED
public static final CampaignFeedErrorReason CANNOT_ADD_ALREADY_EXISTING_CAMPAIGN_FEED
public static final CampaignFeedErrorReason CANNOT_OPERATE_ON_REMOVED_CAMPAIGN_FEED
public static final CampaignFeedErrorReason INVALID_PLACEHOLDER_TYPES
public static final CampaignFeedErrorReason MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE
public static final CampaignFeedErrorReason NO_EXISTING_LOCATION_CUSTOMER_FEED
public static final CampaignFeedErrorReason UNKNOWN
public static CampaignFeedErrorReason[] values()
for (CampaignFeedErrorReason c : CampaignFeedErrorReason.values()) System.out.println(c);
public static CampaignFeedErrorReason 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 CampaignFeedErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.