public enum AdGroupServiceErrorReason extends Enum<AdGroupServiceErrorReason>
Java class for AdGroupServiceError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AdGroupServiceError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="DUPLICATE_ADGROUP_NAME"/>
<enumeration value="INVALID_ADGROUP_NAME"/>
<enumeration value="USE_SET_OPERATOR_AND_MARK_STATUS_TO_REMOVED"/>
<enumeration value="ADVERTISER_NOT_ON_CONTENT_NETWORK"/>
<enumeration value="BID_TOO_BIG"/>
<enumeration value="BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH"/>
<enumeration value="MISSING_ADGROUP_NAME"/>
<enumeration value="ADGROUP_LABEL_DOES_NOT_EXIST"/>
<enumeration value="ADGROUP_LABEL_ALREADY_EXISTS"/>
<enumeration value="INVALID_CONTENT_BID_CRITERION_TYPE_GROUP"/>
<enumeration value="AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE"/>
<enumeration value="ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY"/>
<enumeration value="CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE
The ad group type is not compatible with the campaign channel type.
|
ADGROUP_LABEL_ALREADY_EXISTS
The label has already been attached to the ad group.
|
ADGROUP_LABEL_DOES_NOT_EXIST
No link found between the ad group and the label.
|
ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY
The ad group type is not supported in the country of sale of the campaign.
|
ADVERTISER_NOT_ON_CONTENT_NETWORK
Advertiser is not allowed to target sites or set site bids that are
not on the Google Search Network.
|
BID_TOO_BIG
Bid amount is too big.
|
BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH
AdGroup bid does not match the campaign's bidding strategy.
|
CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING
Ad groups of AdGroupType.SEARCH_DYNAMIC_ADS can only be added to campaigns that have
DynamicSearchAdsSetting attached.
|
DUPLICATE_ADGROUP_NAME
AdGroup with the same name already exists for the campaign.
|
INVALID_ADGROUP_NAME
AdGroup name is not valid.
|
INVALID_CONTENT_BID_CRITERION_TYPE_GROUP
The CriterionTypeGroup is not supported for the content bid dimension.
|
MISSING_ADGROUP_NAME
AdGroup name is required for Add.
|
USE_SET_OPERATOR_AND_MARK_STATUS_TO_REMOVED
Cannot remove an adgroup, adgroup status can be marked removed
using set operator.
|
| Modifier and Type | Method and Description |
|---|---|
static AdGroupServiceErrorReason |
fromValue(String v) |
String |
value() |
static AdGroupServiceErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdGroupServiceErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdGroupServiceErrorReason DUPLICATE_ADGROUP_NAME
public static final AdGroupServiceErrorReason INVALID_ADGROUP_NAME
public static final AdGroupServiceErrorReason USE_SET_OPERATOR_AND_MARK_STATUS_TO_REMOVED
public static final AdGroupServiceErrorReason ADVERTISER_NOT_ON_CONTENT_NETWORK
public static final AdGroupServiceErrorReason BID_TOO_BIG
public static final AdGroupServiceErrorReason BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH
public static final AdGroupServiceErrorReason MISSING_ADGROUP_NAME
public static final AdGroupServiceErrorReason ADGROUP_LABEL_DOES_NOT_EXIST
public static final AdGroupServiceErrorReason ADGROUP_LABEL_ALREADY_EXISTS
public static final AdGroupServiceErrorReason INVALID_CONTENT_BID_CRITERION_TYPE_GROUP
public static final AdGroupServiceErrorReason AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE
public static final AdGroupServiceErrorReason ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY
public static final AdGroupServiceErrorReason CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING
public static AdGroupServiceErrorReason[] values()
for (AdGroupServiceErrorReason c : AdGroupServiceErrorReason.values()) System.out.println(c);
public static AdGroupServiceErrorReason 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 AdGroupServiceErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.