Enum Class CampaignCriterionErrorEnum.CampaignCriterionError
java.lang.Object
java.lang.Enum<CampaignCriterionErrorEnum.CampaignCriterionError>
com.google.ads.googleads.v18.errors.CampaignCriterionErrorEnum.CampaignCriterionError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<CampaignCriterionErrorEnum.CampaignCriterionError>,Constable
- Enclosing class:
- CampaignCriterionErrorEnum
public static enum CampaignCriterionErrorEnum.CampaignCriterionError
extends Enum<CampaignCriterionErrorEnum.CampaignCriterionError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible campaign criterion errors.Protobuf enum
google.ads.googleads.v18.errors.CampaignCriterionErrorEnum.CampaignCriterionError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAt least one positive local service ID criterion is required for a Local Services campaign.Local Services campaign must have at least one target location.The existing field can't be updated with CREATE operation.Local Services profile does not exist for a particular Local Services campaign.For search advertising channel, brand lists can only be applied to exclusive targeting, broad match campaigns for inclusive targeting or PMax generated campaigns.Criteria type can not be excluded for the campaign by the customer.Campaigns that target all countries and territories are limited to a certain number of top-level location exclusions.Only free form names are allowed for negative Smart campaign keyword theme.Cannot set the campaign criterion status for this criteria type.Cannot set the campaign criterion status for an excluded criteria.Cannot target and exclude the same criterion.A Smart campaign may not target proximity and location criteria simultaneously.Country locations are not supported for Local Services campaign.A Smart campaign may not target multiple proximity criteria.Negative criteria are immutable, so updates are not allowed.Concrete type of criterion (keyword v.s.Invalid Smart campaign keyword theme constant criterion.Invalid placement URL.Local service ID is not found under selected categories in local services campaign setting.A Local Services campaign may not target certain criteria types.Location is not within the home country of Local Services campaign.Location is not launched for Local Services Campaigns.A Smart campaign keyword theme constant or free-form Smart campaign keyword theme is required.This operator cannot be applied to a criterion of this type.The Shopping campaign sales country is not supported for ProductSalesChannel targeting.The mutate contained too many operations.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAt least one positive local service ID criterion is required for a Local Services campaign.static final intLocal Services campaign must have at least one target location.static final intThe existing field can't be updated with CREATE operation.static final intLocal Services profile does not exist for a particular Local Services campaign.static final intFor search advertising channel, brand lists can only be applied to exclusive targeting, broad match campaigns for inclusive targeting or PMax generated campaigns.static final intCriteria type can not be excluded for the campaign by the customer.static final intCampaigns that target all countries and territories are limited to a certain number of top-level location exclusions.static final intOnly free form names are allowed for negative Smart campaign keyword theme.static final intCannot set the campaign criterion status for this criteria type.static final intCannot set the campaign criterion status for an excluded criteria.static final intCannot target and exclude the same criterion.static final intA Smart campaign may not target proximity and location criteria simultaneously.static final intCountry locations are not supported for Local Services campaign.static final intA Smart campaign may not target multiple proximity criteria.static final intNegative criteria are immutable, so updates are not allowed.static final intConcrete type of criterion (keyword v.s.static final intInvalid Smart campaign keyword theme constant criterion.static final intInvalid placement URL.static final intLocal service ID is not found under selected categories in local services campaign setting.static final intA Local Services campaign may not target certain criteria types.static final intLocation is not within the home country of Local Services campaign.static final intLocation is not launched for Local Services Campaigns.static final intA Smart campaign keyword theme constant or free-form Smart campaign keyword theme is required.static final intThis operator cannot be applied to a criterion of this type.static final intThe Shopping campaign sales country is not supported for ProductSalesChannel targeting.static final intThe mutate contained too many operations.static final intThe received error code is not known in this version.static final intEnum unspecified. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<CampaignCriterionErrorEnum.CampaignCriterionError>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0; -
UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1; -
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
Invalid placement URL.
INVALID_PLACEMENT_URL = 3; -
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_TYPECannot 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_CRITERIACannot set the campaign criterion status for an excluded criteria.
CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA = 6; -
CANNOT_TARGET_AND_EXCLUDE
Cannot target and exclude the same criterion.
CANNOT_TARGET_AND_EXCLUDE = 7; -
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_TYPEThis 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_CHANNELThe Shopping campaign sales country is not supported for ProductSalesChannel targeting.
SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL = 10; -
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_CRITERIONNegative 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_CRITERIONOnly 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_CONSTANTInvalid 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_THEMEA 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_CAMPAIGNA 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_CAMPAIGNA Smart campaign may not target multiple proximity criteria.
CANNOT_TARGET_MULTIPLE_PROXIMITY_CRITERIA_FOR_SMART_CAMPAIGN = 17; -
LOCATION_NOT_LAUNCHED_FOR_LOCAL_SERVICES_CAMPAIGN
public static final CampaignCriterionErrorEnum.CampaignCriterionError LOCATION_NOT_LAUNCHED_FOR_LOCAL_SERVICES_CAMPAIGNLocation is not launched for Local Services Campaigns.
LOCATION_NOT_LAUNCHED_FOR_LOCAL_SERVICES_CAMPAIGN = 18; -
LOCATION_INVALID_FOR_LOCAL_SERVICES_CAMPAIGN
public static final CampaignCriterionErrorEnum.CampaignCriterionError LOCATION_INVALID_FOR_LOCAL_SERVICES_CAMPAIGNA Local Services campaign may not target certain criteria types.
LOCATION_INVALID_FOR_LOCAL_SERVICES_CAMPAIGN = 19; -
CANNOT_TARGET_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN
public static final CampaignCriterionErrorEnum.CampaignCriterionError CANNOT_TARGET_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGNCountry locations are not supported for Local Services campaign.
CANNOT_TARGET_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN = 20; -
LOCATION_NOT_IN_HOME_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN
public static final CampaignCriterionErrorEnum.CampaignCriterionError LOCATION_NOT_IN_HOME_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGNLocation is not within the home country of Local Services campaign.
LOCATION_NOT_IN_HOME_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN = 21; -
CANNOT_ADD_OR_REMOVE_LOCATION_FOR_LOCAL_SERVICES_CAMPAIGN
public static final CampaignCriterionErrorEnum.CampaignCriterionError CANNOT_ADD_OR_REMOVE_LOCATION_FOR_LOCAL_SERVICES_CAMPAIGNLocal Services profile does not exist for a particular Local Services campaign.
CANNOT_ADD_OR_REMOVE_LOCATION_FOR_LOCAL_SERVICES_CAMPAIGN = 22; -
AT_LEAST_ONE_POSITIVE_LOCATION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN
public static final CampaignCriterionErrorEnum.CampaignCriterionError AT_LEAST_ONE_POSITIVE_LOCATION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGNLocal Services campaign must have at least one target location.
AT_LEAST_ONE_POSITIVE_LOCATION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN = 23; -
AT_LEAST_ONE_LOCAL_SERVICE_ID_CRITERION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN
public static final CampaignCriterionErrorEnum.CampaignCriterionError AT_LEAST_ONE_LOCAL_SERVICE_ID_CRITERION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGNAt least one positive local service ID criterion is required for a Local Services campaign.
AT_LEAST_ONE_LOCAL_SERVICE_ID_CRITERION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN = 24; -
LOCAL_SERVICE_ID_NOT_FOUND_FOR_CATEGORY
public static final CampaignCriterionErrorEnum.CampaignCriterionError LOCAL_SERVICE_ID_NOT_FOUND_FOR_CATEGORYLocal service ID is not found under selected categories in local services campaign setting.
LOCAL_SERVICE_ID_NOT_FOUND_FOR_CATEGORY = 25; -
CANNOT_ATTACH_BRAND_LIST_TO_NON_QUALIFIED_SEARCH_CAMPAIGN
public static final CampaignCriterionErrorEnum.CampaignCriterionError CANNOT_ATTACH_BRAND_LIST_TO_NON_QUALIFIED_SEARCH_CAMPAIGNFor search advertising channel, brand lists can only be applied to exclusive targeting, broad match campaigns for inclusive targeting or PMax generated campaigns.
CANNOT_ATTACH_BRAND_LIST_TO_NON_QUALIFIED_SEARCH_CAMPAIGN = 26; -
CANNOT_REMOVE_ALL_LOCATIONS_DUE_TO_TOO_MANY_COUNTRY_EXCLUSIONS
public static final CampaignCriterionErrorEnum.CampaignCriterionError CANNOT_REMOVE_ALL_LOCATIONS_DUE_TO_TOO_MANY_COUNTRY_EXCLUSIONSCampaigns that target all countries and territories are limited to a certain number of top-level location exclusions. If removing a criterion causes the campaign to target all countries and territories and the campaign has more top-level location exclusions than the limit allows, then this error is returned.
CANNOT_REMOVE_ALL_LOCATIONS_DUE_TO_TOO_MANY_COUNTRY_EXCLUSIONS = 27; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUEEnum unspecified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEThe received error code is not known in this version.
UNKNOWN = 1;- See Also:
-
CONCRETE_TYPE_REQUIRED_VALUE
public static final int CONCRETE_TYPE_REQUIRED_VALUEConcrete type of criterion (keyword v.s. placement) is required for CREATE and UPDATE operations.
CONCRETE_TYPE_REQUIRED = 2;- See Also:
-
INVALID_PLACEMENT_URL_VALUE
public static final int INVALID_PLACEMENT_URL_VALUEInvalid placement URL.
INVALID_PLACEMENT_URL = 3;- See Also:
-
CANNOT_EXCLUDE_CRITERIA_TYPE_VALUE
public static final int CANNOT_EXCLUDE_CRITERIA_TYPE_VALUECriteria 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:
-
CANNOT_SET_STATUS_FOR_CRITERIA_TYPE_VALUE
public static final int CANNOT_SET_STATUS_FOR_CRITERIA_TYPE_VALUECannot set the campaign criterion status for this criteria type.
CANNOT_SET_STATUS_FOR_CRITERIA_TYPE = 5;- See Also:
-
CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA_VALUE
public static final int CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA_VALUECannot set the campaign criterion status for an excluded criteria.
CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA = 6;- See Also:
-
CANNOT_TARGET_AND_EXCLUDE_VALUE
public static final int CANNOT_TARGET_AND_EXCLUDE_VALUECannot target and exclude the same criterion.
CANNOT_TARGET_AND_EXCLUDE = 7;- See Also:
-
TOO_MANY_OPERATIONS_VALUE
public static final int TOO_MANY_OPERATIONS_VALUEThe mutate contained too many operations.
TOO_MANY_OPERATIONS = 8;- See Also:
-
OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE_VALUE
public static final int OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE_VALUEThis operator cannot be applied to a criterion of this type.
OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE = 9;- See Also:
-
SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL_VALUE
public static final int SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL_VALUEThe Shopping campaign sales country is not supported for ProductSalesChannel targeting.
SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL = 10;- See Also:
-
CANNOT_ADD_EXISTING_FIELD_VALUE
public static final int CANNOT_ADD_EXISTING_FIELD_VALUEThe existing field can't be updated with CREATE operation. It can be updated with UPDATE operation only.
CANNOT_ADD_EXISTING_FIELD = 11;- See Also:
-
CANNOT_UPDATE_NEGATIVE_CRITERION_VALUE
public static final int CANNOT_UPDATE_NEGATIVE_CRITERION_VALUENegative criteria are immutable, so updates are not allowed.
CANNOT_UPDATE_NEGATIVE_CRITERION = 12;- See Also:
-
CANNOT_SET_NEGATIVE_KEYWORD_THEME_CONSTANT_CRITERION_VALUE
public static final int CANNOT_SET_NEGATIVE_KEYWORD_THEME_CONSTANT_CRITERION_VALUEOnly free form names are allowed for negative Smart campaign keyword theme.
CANNOT_SET_NEGATIVE_KEYWORD_THEME_CONSTANT_CRITERION = 13;- See Also:
-
INVALID_KEYWORD_THEME_CONSTANT_VALUE
public static final int INVALID_KEYWORD_THEME_CONSTANT_VALUEInvalid Smart campaign keyword theme constant criterion.
INVALID_KEYWORD_THEME_CONSTANT = 14;- See Also:
-
MISSING_KEYWORD_THEME_CONSTANT_OR_FREE_FORM_KEYWORD_THEME_VALUE
public static final int MISSING_KEYWORD_THEME_CONSTANT_OR_FREE_FORM_KEYWORD_THEME_VALUEA 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:
-
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_VALUEA Smart campaign may not target proximity and location criteria simultaneously.
CANNOT_TARGET_BOTH_PROXIMITY_AND_LOCATION_CRITERIA_FOR_SMART_CAMPAIGN = 16;- See Also:
-
CANNOT_TARGET_MULTIPLE_PROXIMITY_CRITERIA_FOR_SMART_CAMPAIGN_VALUE
public static final int CANNOT_TARGET_MULTIPLE_PROXIMITY_CRITERIA_FOR_SMART_CAMPAIGN_VALUEA Smart campaign may not target multiple proximity criteria.
CANNOT_TARGET_MULTIPLE_PROXIMITY_CRITERIA_FOR_SMART_CAMPAIGN = 17;- See Also:
-
LOCATION_NOT_LAUNCHED_FOR_LOCAL_SERVICES_CAMPAIGN_VALUE
public static final int LOCATION_NOT_LAUNCHED_FOR_LOCAL_SERVICES_CAMPAIGN_VALUELocation is not launched for Local Services Campaigns.
LOCATION_NOT_LAUNCHED_FOR_LOCAL_SERVICES_CAMPAIGN = 18;- See Also:
-
LOCATION_INVALID_FOR_LOCAL_SERVICES_CAMPAIGN_VALUE
public static final int LOCATION_INVALID_FOR_LOCAL_SERVICES_CAMPAIGN_VALUEA Local Services campaign may not target certain criteria types.
LOCATION_INVALID_FOR_LOCAL_SERVICES_CAMPAIGN = 19;- See Also:
-
CANNOT_TARGET_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN_VALUE
public static final int CANNOT_TARGET_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN_VALUECountry locations are not supported for Local Services campaign.
CANNOT_TARGET_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN = 20;- See Also:
-
LOCATION_NOT_IN_HOME_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN_VALUE
public static final int LOCATION_NOT_IN_HOME_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN_VALUELocation is not within the home country of Local Services campaign.
LOCATION_NOT_IN_HOME_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN = 21;- See Also:
-
CANNOT_ADD_OR_REMOVE_LOCATION_FOR_LOCAL_SERVICES_CAMPAIGN_VALUE
public static final int CANNOT_ADD_OR_REMOVE_LOCATION_FOR_LOCAL_SERVICES_CAMPAIGN_VALUELocal Services profile does not exist for a particular Local Services campaign.
CANNOT_ADD_OR_REMOVE_LOCATION_FOR_LOCAL_SERVICES_CAMPAIGN = 22;- See Also:
-
AT_LEAST_ONE_POSITIVE_LOCATION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN_VALUE
public static final int AT_LEAST_ONE_POSITIVE_LOCATION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN_VALUELocal Services campaign must have at least one target location.
AT_LEAST_ONE_POSITIVE_LOCATION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN = 23;- See Also:
-
AT_LEAST_ONE_LOCAL_SERVICE_ID_CRITERION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN_VALUE
public static final int AT_LEAST_ONE_LOCAL_SERVICE_ID_CRITERION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN_VALUEAt least one positive local service ID criterion is required for a Local Services campaign.
AT_LEAST_ONE_LOCAL_SERVICE_ID_CRITERION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN = 24;- See Also:
-
LOCAL_SERVICE_ID_NOT_FOUND_FOR_CATEGORY_VALUE
public static final int LOCAL_SERVICE_ID_NOT_FOUND_FOR_CATEGORY_VALUELocal service ID is not found under selected categories in local services campaign setting.
LOCAL_SERVICE_ID_NOT_FOUND_FOR_CATEGORY = 25;- See Also:
-
CANNOT_ATTACH_BRAND_LIST_TO_NON_QUALIFIED_SEARCH_CAMPAIGN_VALUE
public static final int CANNOT_ATTACH_BRAND_LIST_TO_NON_QUALIFIED_SEARCH_CAMPAIGN_VALUEFor search advertising channel, brand lists can only be applied to exclusive targeting, broad match campaigns for inclusive targeting or PMax generated campaigns.
CANNOT_ATTACH_BRAND_LIST_TO_NON_QUALIFIED_SEARCH_CAMPAIGN = 26;- See Also:
-
CANNOT_REMOVE_ALL_LOCATIONS_DUE_TO_TOO_MANY_COUNTRY_EXCLUSIONS_VALUE
public static final int CANNOT_REMOVE_ALL_LOCATIONS_DUE_TO_TOO_MANY_COUNTRY_EXCLUSIONS_VALUECampaigns that target all countries and territories are limited to a certain number of top-level location exclusions. If removing a criterion causes the campaign to target all countries and territories and the campaign has more top-level location exclusions than the limit allows, then this error is returned.
CANNOT_REMOVE_ALL_LOCATIONS_DUE_TO_TOO_MANY_COUNTRY_EXCLUSIONS = 27;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 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.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- 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 class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-