public enum AdGroupCriterionErrorReason extends Enum<AdGroupCriterionErrorReason>
Java class for AdGroupCriterionError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AdGroupCriterionError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST"/>
<enumeration value="AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS"/>
<enumeration value="CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION"/>
<enumeration value="TOO_MANY_OPERATIONS"/>
<enumeration value="CANT_UPDATE_NEGATIVE"/>
<enumeration value="CONCRETE_TYPE_REQUIRED"/>
<enumeration value="BID_INCOMPATIBLE_WITH_ADGROUP"/>
<enumeration value="CANNOT_TARGET_AND_EXCLUDE"/>
<enumeration value="ILLEGAL_URL"/>
<enumeration value="INVALID_KEYWORD_TEXT"/>
<enumeration value="INVALID_DESTINATION_URL"/>
<enumeration value="MISSING_DESTINATION_URL_TAG"/>
<enumeration value="KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM"/>
<enumeration value="INVALID_USER_STATUS"/>
<enumeration value="CANNOT_ADD_CRITERIA_TYPE"/>
<enumeration value="CANNOT_EXCLUDE_CRITERIA_TYPE"/>
<enumeration value="INVALID_PRODUCT_PARTITION_HIERARCHY"/>
<enumeration value="PRODUCT_PARTITION_UNIT_CANNOT_HAVE_CHILDREN"/>
<enumeration value="PRODUCT_PARTITION_SUBDIVISION_REQUIRES_OTHERS_CASE"/>
<enumeration value="PRODUCT_PARTITION_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS"/>
<enumeration value="PRODUCT_PARTITION_ALREADY_EXISTS"/>
<enumeration value="PRODUCT_PARTITION_DOES_NOT_EXIST"/>
<enumeration value="PRODUCT_PARTITION_CANNOT_BE_REMOVED"/>
<enumeration value="INVALID_PRODUCT_PARTITION_TYPE"/>
<enumeration value="PRODUCT_PARTITION_ADD_MAY_ONLY_USE_TEMP_ID"/>
<enumeration value="CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE"/>
<enumeration value="OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS"/>
<enumeration value="CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS"/>
<enumeration value="CANNOT_SET_WITHOUT_FINAL_URLS"/>
<enumeration value="CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST"/>
<enumeration value="CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST"/>
<enumeration value="CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS"/>
<enumeration value="CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST"/>
<enumeration value="CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS"/>
<enumeration value="CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE"/>
<enumeration value="FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE"/>
<enumeration value="FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS
The label has already been attached to the AdGroupCriterion.
|
AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST
No link found between the AdGroupCriterion and the label.
|
BID_INCOMPATIBLE_WITH_ADGROUP
Bid is incompatible with ad group's bidding settings.
|
CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE
Partial failure is not supported for shopping campaign mutate operations.
|
CANNOT_ADD_CRITERIA_TYPE
Criteria type cannot be targeted for the ad group.
|
CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION
Negative AdGroupCriterion cannot have labels.
|
CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST
Cannot clear final urls if final app urls exist.
|
CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST
Cannot clear final urls if final mobile urls exist.
|
CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS
Cannot clear final urls if tracking url template exists.
|
CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST
Cannot clear final urls if url custom parameters exist.
|
CANNOT_EXCLUDE_CRITERIA_TYPE
Criteria type cannot be excluded for the ad group.
|
CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS
Not allowed to modify url fields of an ad group criterion if there are duplicate elements
for that ad group criterion in the request.
|
CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS
Cannot set both destination url and final urls.
|
CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE
Cannot set both destination url and tracking url template.
|
CANNOT_SET_WITHOUT_FINAL_URLS
Cannot set url fields without also setting final urls.
|
CANNOT_TARGET_AND_EXCLUDE
Cannot target and exclude the same criterion at once.
|
CANT_UPDATE_NEGATIVE
Negative ad group criteria are not updateable.
|
CONCRETE_TYPE_REQUIRED
Concrete type of criterion (keyword v.s.
|
FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE
Final mobile urls are not supported for this criterion type.
|
FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE
Final urls are not supported for this criterion type.
|
ILLEGAL_URL
The URL of a placement is invalid.
|
INVALID_DESTINATION_URL
Destination URL was invalid.
|
INVALID_KEYWORD_TEXT
Keyword text was invalid.
|
INVALID_PRODUCT_PARTITION_HIERARCHY
Ad group is invalid due to the product partitions it contains.
|
INVALID_PRODUCT_PARTITION_TYPE
Product partition type is not allowed for specified AdGroupCriterion type.
|
INVALID_USER_STATUS
For example, cannot add a biddable ad group criterion that had been removed.
|
KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM
Keyword-level cpm bid is not supported
|
MISSING_DESTINATION_URL_TAG
The destination url must contain at least one tag (e.g.
|
OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS
Operations in the mutate request changes too many shopping ad groups.
|
PRODUCT_PARTITION_ADD_MAY_ONLY_USE_TEMP_ID
Product partition in an ADD operation specifies a non temporary CriterionId.
|
PRODUCT_PARTITION_ALREADY_EXISTS
Product partition cannot be added to the ad group because it already exists.
|
PRODUCT_PARTITION_CANNOT_BE_REMOVED
Recursive removal failed because product partition subdivision is being created or modified
in this request.
|
PRODUCT_PARTITION_DOES_NOT_EXIST
Product partition referenced in the operation was not found in the ad group.
|
PRODUCT_PARTITION_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS
Dimension type of product partition must be the same as that of its siblings.
|
PRODUCT_PARTITION_SUBDIVISION_REQUIRES_OTHERS_CASE
Subdivided product partitions must have an "others" case.
|
PRODUCT_PARTITION_UNIT_CANNOT_HAVE_CHILDREN
Product partition unit cannot have children.
|
TOO_MANY_OPERATIONS
Too many operations for a single call.
|
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static AdGroupCriterionErrorReason |
fromValue(String v) |
String |
value() |
static AdGroupCriterionErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdGroupCriterionErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdGroupCriterionErrorReason AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST
public static final AdGroupCriterionErrorReason AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS
public static final AdGroupCriterionErrorReason CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION
public static final AdGroupCriterionErrorReason TOO_MANY_OPERATIONS
public static final AdGroupCriterionErrorReason CANT_UPDATE_NEGATIVE
public static final AdGroupCriterionErrorReason CONCRETE_TYPE_REQUIRED
public static final AdGroupCriterionErrorReason BID_INCOMPATIBLE_WITH_ADGROUP
public static final AdGroupCriterionErrorReason CANNOT_TARGET_AND_EXCLUDE
public static final AdGroupCriterionErrorReason ILLEGAL_URL
public static final AdGroupCriterionErrorReason INVALID_KEYWORD_TEXT
public static final AdGroupCriterionErrorReason INVALID_DESTINATION_URL
public static final AdGroupCriterionErrorReason MISSING_DESTINATION_URL_TAG
public static final AdGroupCriterionErrorReason KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM
public static final AdGroupCriterionErrorReason INVALID_USER_STATUS
public static final AdGroupCriterionErrorReason CANNOT_ADD_CRITERIA_TYPE
public static final AdGroupCriterionErrorReason CANNOT_EXCLUDE_CRITERIA_TYPE
public static final AdGroupCriterionErrorReason INVALID_PRODUCT_PARTITION_HIERARCHY
public static final AdGroupCriterionErrorReason PRODUCT_PARTITION_UNIT_CANNOT_HAVE_CHILDREN
public static final AdGroupCriterionErrorReason PRODUCT_PARTITION_SUBDIVISION_REQUIRES_OTHERS_CASE
public static final AdGroupCriterionErrorReason PRODUCT_PARTITION_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS
public static final AdGroupCriterionErrorReason PRODUCT_PARTITION_ALREADY_EXISTS
public static final AdGroupCriterionErrorReason PRODUCT_PARTITION_DOES_NOT_EXIST
public static final AdGroupCriterionErrorReason PRODUCT_PARTITION_CANNOT_BE_REMOVED
public static final AdGroupCriterionErrorReason INVALID_PRODUCT_PARTITION_TYPE
public static final AdGroupCriterionErrorReason PRODUCT_PARTITION_ADD_MAY_ONLY_USE_TEMP_ID
public static final AdGroupCriterionErrorReason CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE
public static final AdGroupCriterionErrorReason OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS
public static final AdGroupCriterionErrorReason CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS
public static final AdGroupCriterionErrorReason CANNOT_SET_WITHOUT_FINAL_URLS
public static final AdGroupCriterionErrorReason CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST
public static final AdGroupCriterionErrorReason CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST
public static final AdGroupCriterionErrorReason CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS
public static final AdGroupCriterionErrorReason CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST
public static final AdGroupCriterionErrorReason CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS
public static final AdGroupCriterionErrorReason CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE
public static final AdGroupCriterionErrorReason FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE
public static final AdGroupCriterionErrorReason FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE
public static final AdGroupCriterionErrorReason UNKNOWN
public static AdGroupCriterionErrorReason[] values()
for (AdGroupCriterionErrorReason c : AdGroupCriterionErrorReason.values()) System.out.println(c);
public static AdGroupCriterionErrorReason 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 AdGroupCriterionErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.