public enum CustomerSyncErrorReason extends Enum<CustomerSyncErrorReason>
Java class for CustomerSyncError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CustomerSyncError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="INVALID_CAMPAIGN_ID"/>
<enumeration value="INVALID_FEED_ID"/>
<enumeration value="INVALID_DATE_RANGE"/>
<enumeration value="TOO_MANY_CHANGES"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
INVALID_CAMPAIGN_ID
The request attempted to access a campaign that either does not exist or belongs to a
different account.
|
INVALID_DATE_RANGE
The request asked for an invalid date range
|
INVALID_FEED_ID
The request attempted to access a feed that either does not exist or belongs to a different
account.
|
TOO_MANY_CHANGES
There have been too many changes to sync the campaign over the requested date/time range.
|
| Modifier and Type | Method and Description |
|---|---|
static CustomerSyncErrorReason |
fromValue(String v) |
String |
value() |
static CustomerSyncErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomerSyncErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomerSyncErrorReason INVALID_CAMPAIGN_ID
public static final CustomerSyncErrorReason INVALID_FEED_ID
public static final CustomerSyncErrorReason INVALID_DATE_RANGE
public static final CustomerSyncErrorReason TOO_MANY_CHANGES
public static CustomerSyncErrorReason[] values()
for (CustomerSyncErrorReason c : CustomerSyncErrorReason.values()) System.out.println(c);
public static CustomerSyncErrorReason 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 CustomerSyncErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.