Enum CampaignCriterionErrorEnum.CampaignCriterionError
- java.lang.Object
-
- java.lang.Enum<CampaignCriterionErrorEnum.CampaignCriterionError>
-
- com.google.ads.googleads.v10.errors.CampaignCriterionErrorEnum.CampaignCriterionError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<CampaignCriterionErrorEnum.CampaignCriterionError>
- Enclosing class:
- CampaignCriterionErrorEnum
public static enum CampaignCriterionErrorEnum.CampaignCriterionError extends java.lang.Enum<CampaignCriterionErrorEnum.CampaignCriterionError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible campaign criterion errors.
Protobuf enumgoogle.ads.googleads.v10.errors.CampaignCriterionErrorEnum.CampaignCriterionError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANNOT_ADD_EXISTING_FIELDThe existing field can't be updated with CREATE operation.CANNOT_EXCLUDE_CRITERIA_TYPECriteria type can not be excluded for the campaign by the customer.CANNOT_SET_NEGATIVE_KEYWORD_THEME_CONSTANT_CRITERIONOnly free form names are allowed for negative Smart campaign keyword theme.CANNOT_SET_STATUS_FOR_CRITERIA_TYPECannot set the campaign criterion status for this criteria type.CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIACannot set the campaign criterion status for an excluded criteria.CANNOT_TARGET_AND_EXCLUDECannot target and exclude the same criterion.CANNOT_TARGET_BOTH_PROXIMITY_AND_LOCATION_CRITERIA_FOR_SMART_CAMPAIGNA Smart campaign may not target proximity and location criteria simultaneously.CANNOT_TARGET_MULTIPLE_PROXIMITY_CRITERIA_FOR_SMART_CAMPAIGNA Smart campaign may not target multiple proximity criteria.CANNOT_UPDATE_NEGATIVE_CRITERIONNegative criteria are immutable, so updates are not allowed.CONCRETE_TYPE_REQUIREDConcrete type of criterion (keyword v.s.INVALID_KEYWORD_THEME_CONSTANTInvalid Smart campaign keyword theme constant criterion.INVALID_PLACEMENT_URLInvalid placement URL.MISSING_KEYWORD_THEME_CONSTANT_OR_FREE_FORM_KEYWORD_THEMEA Smart campaign keyword theme constant or free-form Smart campaign keyword theme is required.OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPEThis operator cannot be applied to a criterion of this type.SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNELThe Shopping campaign sales country is not supported for ProductSalesChannel targeting.TOO_MANY_OPERATIONSThe mutate contained too many operations.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static intCANNOT_ADD_EXISTING_FIELD_VALUEThe existing field can't be updated with CREATE operation.static intCANNOT_EXCLUDE_CRITERIA_TYPE_VALUECriteria type can not be excluded for the campaign by the customer.static intCANNOT_SET_NEGATIVE_KEYWORD_THEME_CONSTANT_CRITERION_VALUEOnly free form names are allowed for negative Smart campaign keyword theme.static intCANNOT_SET_STATUS_FOR_CRITERIA_TYPE_VALUECannot set the campaign criterion status for this criteria type.static intCANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA_VALUECannot set the campaign criterion status for an excluded criteria.static intCANNOT_TARGET_AND_EXCLUDE_VALUECannot target and exclude the same criterion.static intCANNOT_TARGET_BOTH_PROXIMITY_AND_LOCATION_CRITERIA_FOR_SMART_CAMPAIGN_VALUEA Smart campaign may not target proximity and location criteria simultaneously.static intCANNOT_TARGET_MULTIPLE_PROXIMITY_CRITERIA_FOR_SMART_CAMPAIGN_VALUEA Smart campaign may not target multiple proximity criteria.static intCANNOT_UPDATE_NEGATIVE_CRITERION_VALUENegative criteria are immutable, so updates are not allowed.static intCONCRETE_TYPE_REQUIRED_VALUEConcrete type of criterion (keyword v.s.static intINVALID_KEYWORD_THEME_CONSTANT_VALUEInvalid Smart campaign keyword theme constant criterion.static intINVALID_PLACEMENT_URL_VALUEInvalid placement URL.static intMISSING_KEYWORD_THEME_CONSTANT_OR_FREE_FORM_KEYWORD_THEME_VALUEA Smart campaign keyword theme constant or free-form Smart campaign keyword theme is required.static intOPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE_VALUEThis operator cannot be applied to a criterion of this type.static intSHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL_VALUEThe Shopping campaign sales country is not supported for ProductSalesChannel targeting.static intTOO_MANY_OPERATIONS_VALUEThe mutate contained too many operations.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CampaignCriterionErrorEnum.CampaignCriterionErrorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<CampaignCriterionErrorEnum.CampaignCriterionError>internalGetValueMap()static CampaignCriterionErrorEnum.CampaignCriterionErrorvalueOf(int value)Deprecated.static CampaignCriterionErrorEnum.CampaignCriterionErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static CampaignCriterionErrorEnum.CampaignCriterionErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CampaignCriterionErrorEnum.CampaignCriterionError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final CampaignCriterionErrorEnum.CampaignCriterionError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final CampaignCriterionErrorEnum.CampaignCriterionError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
CONCRETE_TYPE_REQUIRED
public static final CampaignCriterionErrorEnum.CampaignCriterionError CONCRETE_TYPE_REQUIRED
Concrete type of criterion (keyword v.s. placement) is required for CREATE and UPDATE operations.
CONCRETE_TYPE_REQUIRED = 2;
-
INVALID_PLACEMENT_URL
public static final CampaignCriterionErrorEnum.CampaignCriterionError INVALID_PLACEMENT_URL
Invalid placement URL.
INVALID_PLACEMENT_URL = 3;
-
CANNOT_EXCLUDE_CRITERIA_TYPE
public static final CampaignCriterionErrorEnum.CampaignCriterionError CANNOT_EXCLUDE_CRITERIA_TYPE
Criteria type can not be excluded for the campaign by the customer. like AOL account type cannot target site type criteria
CANNOT_EXCLUDE_CRITERIA_TYPE = 4;
-
CANNOT_SET_STATUS_FOR_CRITERIA_TYPE
public static final CampaignCriterionErrorEnum.CampaignCriterionError CANNOT_SET_STATUS_FOR_CRITERIA_TYPE
Cannot set the campaign criterion status for this criteria type.
CANNOT_SET_STATUS_FOR_CRITERIA_TYPE = 5;
-
CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA
public static final CampaignCriterionErrorEnum.CampaignCriterionError CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA
Cannot set the campaign criterion status for an excluded criteria.
CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA = 6;
-
CANNOT_TARGET_AND_EXCLUDE
public static final CampaignCriterionErrorEnum.CampaignCriterionError CANNOT_TARGET_AND_EXCLUDE
Cannot target and exclude the same criterion.
CANNOT_TARGET_AND_EXCLUDE = 7;
-
TOO_MANY_OPERATIONS
public static final CampaignCriterionErrorEnum.CampaignCriterionError TOO_MANY_OPERATIONS
The mutate contained too many operations.
TOO_MANY_OPERATIONS = 8;
-
OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE
public static final CampaignCriterionErrorEnum.CampaignCriterionError OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE
This operator cannot be applied to a criterion of this type.
OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE = 9;
-
SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL
public static final CampaignCriterionErrorEnum.CampaignCriterionError SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL
The Shopping campaign sales country is not supported for ProductSalesChannel targeting.
SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL = 10;
-
CANNOT_ADD_EXISTING_FIELD
public static final CampaignCriterionErrorEnum.CampaignCriterionError CANNOT_ADD_EXISTING_FIELD
The existing field can't be updated with CREATE operation. It can be updated with UPDATE operation only.
CANNOT_ADD_EXISTING_FIELD = 11;
-
CANNOT_UPDATE_NEGATIVE_CRITERION
public static final CampaignCriterionErrorEnum.CampaignCriterionError CANNOT_UPDATE_NEGATIVE_CRITERION
Negative criteria are immutable, so updates are not allowed.
CANNOT_UPDATE_NEGATIVE_CRITERION = 12;
-
CANNOT_SET_NEGATIVE_KEYWORD_THEME_CONSTANT_CRITERION
public static final CampaignCriterionErrorEnum.CampaignCriterionError CANNOT_SET_NEGATIVE_KEYWORD_THEME_CONSTANT_CRITERION
Only free form names are allowed for negative Smart campaign keyword theme.
CANNOT_SET_NEGATIVE_KEYWORD_THEME_CONSTANT_CRITERION = 13;
-
INVALID_KEYWORD_THEME_CONSTANT
public static final CampaignCriterionErrorEnum.CampaignCriterionError INVALID_KEYWORD_THEME_CONSTANT
Invalid Smart campaign keyword theme constant criterion.
INVALID_KEYWORD_THEME_CONSTANT = 14;
-
MISSING_KEYWORD_THEME_CONSTANT_OR_FREE_FORM_KEYWORD_THEME
public static final CampaignCriterionErrorEnum.CampaignCriterionError MISSING_KEYWORD_THEME_CONSTANT_OR_FREE_FORM_KEYWORD_THEME
A Smart campaign keyword theme constant or free-form Smart campaign keyword theme is required.
MISSING_KEYWORD_THEME_CONSTANT_OR_FREE_FORM_KEYWORD_THEME = 15;
-
CANNOT_TARGET_BOTH_PROXIMITY_AND_LOCATION_CRITERIA_FOR_SMART_CAMPAIGN
public static final CampaignCriterionErrorEnum.CampaignCriterionError CANNOT_TARGET_BOTH_PROXIMITY_AND_LOCATION_CRITERIA_FOR_SMART_CAMPAIGN
A Smart campaign may not target proximity and location criteria simultaneously.
CANNOT_TARGET_BOTH_PROXIMITY_AND_LOCATION_CRITERIA_FOR_SMART_CAMPAIGN = 16;
-
CANNOT_TARGET_MULTIPLE_PROXIMITY_CRITERIA_FOR_SMART_CAMPAIGN
public static final CampaignCriterionErrorEnum.CampaignCriterionError CANNOT_TARGET_MULTIPLE_PROXIMITY_CRITERIA_FOR_SMART_CAMPAIGN
A Smart campaign may not target multiple proximity criteria.
CANNOT_TARGET_MULTIPLE_PROXIMITY_CRITERIA_FOR_SMART_CAMPAIGN = 17;
-
UNRECOGNIZED
public static final CampaignCriterionErrorEnum.CampaignCriterionError UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
Enum unspecified.
UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
The received error code is not known in this version.
UNKNOWN = 1;- See Also:
- Constant Field Values
-
CONCRETE_TYPE_REQUIRED_VALUE
public static final int CONCRETE_TYPE_REQUIRED_VALUE
Concrete type of criterion (keyword v.s. placement) is required for CREATE and UPDATE operations.
CONCRETE_TYPE_REQUIRED = 2;- See Also:
- Constant Field Values
-
INVALID_PLACEMENT_URL_VALUE
public static final int INVALID_PLACEMENT_URL_VALUE
Invalid placement URL.
INVALID_PLACEMENT_URL = 3;- See Also:
- Constant Field Values
-
CANNOT_EXCLUDE_CRITERIA_TYPE_VALUE
public static final int CANNOT_EXCLUDE_CRITERIA_TYPE_VALUE
Criteria type can not be excluded for the campaign by the customer. like AOL account type cannot target site type criteria
CANNOT_EXCLUDE_CRITERIA_TYPE = 4;- See Also:
- Constant Field Values
-
CANNOT_SET_STATUS_FOR_CRITERIA_TYPE_VALUE
public static final int CANNOT_SET_STATUS_FOR_CRITERIA_TYPE_VALUE
Cannot set the campaign criterion status for this criteria type.
CANNOT_SET_STATUS_FOR_CRITERIA_TYPE = 5;- See Also:
- Constant Field Values
-
CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA_VALUE
public static final int CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA_VALUE
Cannot set the campaign criterion status for an excluded criteria.
CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA = 6;- See Also:
- Constant Field Values
-
CANNOT_TARGET_AND_EXCLUDE_VALUE
public static final int CANNOT_TARGET_AND_EXCLUDE_VALUE
Cannot target and exclude the same criterion.
CANNOT_TARGET_AND_EXCLUDE = 7;- See Also:
- Constant Field Values
-
TOO_MANY_OPERATIONS_VALUE
public static final int TOO_MANY_OPERATIONS_VALUE
The mutate contained too many operations.
TOO_MANY_OPERATIONS = 8;- See Also:
- Constant Field Values
-
OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE_VALUE
public static final int OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE_VALUE
This operator cannot be applied to a criterion of this type.
OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE = 9;- See Also:
- Constant Field Values
-
SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL_VALUE
public static final int SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL_VALUE
The Shopping campaign sales country is not supported for ProductSalesChannel targeting.
SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL = 10;- See Also:
- Constant Field Values
-
CANNOT_ADD_EXISTING_FIELD_VALUE
public static final int CANNOT_ADD_EXISTING_FIELD_VALUE
The existing field can't be updated with CREATE operation. It can be updated with UPDATE operation only.
CANNOT_ADD_EXISTING_FIELD = 11;- See Also:
- Constant Field Values
-
CANNOT_UPDATE_NEGATIVE_CRITERION_VALUE
public static final int CANNOT_UPDATE_NEGATIVE_CRITERION_VALUE
Negative criteria are immutable, so updates are not allowed.
CANNOT_UPDATE_NEGATIVE_CRITERION = 12;- See Also:
- Constant Field Values
-
CANNOT_SET_NEGATIVE_KEYWORD_THEME_CONSTANT_CRITERION_VALUE
public static final int CANNOT_SET_NEGATIVE_KEYWORD_THEME_CONSTANT_CRITERION_VALUE
Only free form names are allowed for negative Smart campaign keyword theme.
CANNOT_SET_NEGATIVE_KEYWORD_THEME_CONSTANT_CRITERION = 13;- See Also:
- Constant Field Values
-
INVALID_KEYWORD_THEME_CONSTANT_VALUE
public static final int INVALID_KEYWORD_THEME_CONSTANT_VALUE
Invalid Smart campaign keyword theme constant criterion.
INVALID_KEYWORD_THEME_CONSTANT = 14;- See Also:
- Constant Field Values
-
MISSING_KEYWORD_THEME_CONSTANT_OR_FREE_FORM_KEYWORD_THEME_VALUE
public static final int MISSING_KEYWORD_THEME_CONSTANT_OR_FREE_FORM_KEYWORD_THEME_VALUE
A Smart campaign keyword theme constant or free-form Smart campaign keyword theme is required.
MISSING_KEYWORD_THEME_CONSTANT_OR_FREE_FORM_KEYWORD_THEME = 15;- See Also:
- Constant Field Values
-
CANNOT_TARGET_BOTH_PROXIMITY_AND_LOCATION_CRITERIA_FOR_SMART_CAMPAIGN_VALUE
public static final int CANNOT_TARGET_BOTH_PROXIMITY_AND_LOCATION_CRITERIA_FOR_SMART_CAMPAIGN_VALUE
A Smart campaign may not target proximity and location criteria simultaneously.
CANNOT_TARGET_BOTH_PROXIMITY_AND_LOCATION_CRITERIA_FOR_SMART_CAMPAIGN = 16;- See Also:
- Constant Field Values
-
CANNOT_TARGET_MULTIPLE_PROXIMITY_CRITERIA_FOR_SMART_CAMPAIGN_VALUE
public static final int CANNOT_TARGET_MULTIPLE_PROXIMITY_CRITERIA_FOR_SMART_CAMPAIGN_VALUE
A Smart campaign may not target multiple proximity criteria.
CANNOT_TARGET_MULTIPLE_PROXIMITY_CRITERIA_FOR_SMART_CAMPAIGN = 17;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static CampaignCriterionErrorEnum.CampaignCriterionError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CampaignCriterionErrorEnum.CampaignCriterionError c : CampaignCriterionErrorEnum.CampaignCriterionError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CampaignCriterionErrorEnum.CampaignCriterionError valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static CampaignCriterionErrorEnum.CampaignCriterionError valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static CampaignCriterionErrorEnum.CampaignCriterionError forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<CampaignCriterionErrorEnum.CampaignCriterionError> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static CampaignCriterionErrorEnum.CampaignCriterionError valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-