public enum CampaignGroupErrorReason extends Enum<CampaignGroupErrorReason>
Java class for CampaignGroupError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CampaignGroupError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="CANNOT_DELETE_CAMPAIGN_GROUP_WITH_ACTIVE_OR_PAUSED_CAMPAIGNS"/>
<enumeration value="CANNOT_MODIFY_DELETED_CAMPAIGN_GROUP"/>
<enumeration value="DUPLICATE_NAME"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CANNOT_DELETE_CAMPAIGN_GROUP_WITH_ACTIVE_OR_PAUSED_CAMPAIGNS
Cannot delete a campaign group which is associated with active or paused campaigns.
|
CANNOT_MODIFY_DELETED_CAMPAIGN_GROUP
Cannot modify a deleted campaign group.
|
DUPLICATE_NAME
Trying to modify the name of an active or paused campaign group, where the name is already
assigned to another active or paused campaign group.
|
UNKNOWN
Default error
Used for return value only.
|
| Modifier and Type | Method and Description |
|---|---|
static CampaignGroupErrorReason |
fromValue(String v) |
String |
value() |
static CampaignGroupErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CampaignGroupErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CampaignGroupErrorReason CANNOT_DELETE_CAMPAIGN_GROUP_WITH_ACTIVE_OR_PAUSED_CAMPAIGNS
public static final CampaignGroupErrorReason CANNOT_MODIFY_DELETED_CAMPAIGN_GROUP
public static final CampaignGroupErrorReason DUPLICATE_NAME
public static final CampaignGroupErrorReason UNKNOWN
public static CampaignGroupErrorReason[] values()
for (CampaignGroupErrorReason c : CampaignGroupErrorReason.values()) System.out.println(c);
public static CampaignGroupErrorReason 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 CampaignGroupErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.