Enum Class AdGroupCriterionErrorEnum.AdGroupCriterionError
java.lang.Object
java.lang.Enum<AdGroupCriterionErrorEnum.AdGroupCriterionError>
com.google.ads.googleads.v18.errors.AdGroupCriterionErrorEnum.AdGroupCriterionError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AdGroupCriterionErrorEnum.AdGroupCriterionError>,Constable
- Enclosing class:
- AdGroupCriterionErrorEnum
public static enum AdGroupCriterionErrorEnum.AdGroupCriterionError
extends Enum<AdGroupCriterionErrorEnum.AdGroupCriterionError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible ad group criterion errors.Protobuf enum
google.ads.googleads.v18.errors.AdGroupCriterionErrorEnum.AdGroupCriterionError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe label has already been attached to the AdGroupCriterion.No link found between the AdGroupCriterion and the label.Bid is incompatible with ad group's bidding settings.Partial failure is not supported for shopping campaign mutate operations.Criteria type cannot be targeted for the ad group.Negative AdGroupCriterion cannot have labels.Cannot clear final urls if final app 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 url custom parameters exist.Criteria type cannot be excluded for the ad group.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 tracking url template.Cannot set url fields without also setting final urls.Cannot target and exclude the same criterion at once.Negative ad group criteria are not updateable.Concrete type of criterion (keyword v.s.Final mobile urls are not supported for this criterion type.Final urls are not supported for this criterion type.The URL of a placement is invalid.Destination URL was invalid.Keyword text was invalid.For example, cannot add a biddable ad group criterion that had been removed.Keyword-level cpm bid is not supportedThe destination url must contain at least one tag (for example, {lpurl})Operations in the mutate request changes too many shopping ad groups.Too many operations for a single call.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe label has already been attached to the AdGroupCriterion.static final intNo link found between the AdGroupCriterion and the label.static final intBid is incompatible with ad group's bidding settings.static final intPartial failure is not supported for shopping campaign mutate operations.static final intCriteria type cannot be targeted for the ad group.static final intNegative AdGroupCriterion cannot have labels.static final intCannot clear final urls if final app urls exist.static final intCannot clear final urls if final mobile urls exist.static final intCannot clear final urls if tracking url template exists.static final intCannot clear final urls if url custom parameters exist.static final intCriteria type cannot be excluded for the ad group.static final intNot allowed to modify url fields of an ad group criterion if there are duplicate elements for that ad group criterion in the request.static final intCannot set both destination url and final urls.static final intCannot set both destination url and tracking url template.static final intCannot set url fields without also setting final urls.static final intCannot target and exclude the same criterion at once.static final intNegative ad group criteria are not updateable.static final intConcrete type of criterion (keyword v.s.static final intFinal mobile urls are not supported for this criterion type.static final intFinal urls are not supported for this criterion type.static final intThe URL of a placement is invalid.static final intDestination URL was invalid.static final intKeyword text was invalid.static final intFor example, cannot add a biddable ad group criterion that had been removed.static final intKeyword-level cpm bid is not supportedstatic final intThe destination url must contain at least one tag (for example, {lpurl})static final intOperations in the mutate request changes too many shopping ad groups.static final intToo many operations for a single call.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<AdGroupCriterionErrorEnum.AdGroupCriterionError>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; -
AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST
public static final AdGroupCriterionErrorEnum.AdGroupCriterionError AD_GROUP_CRITERION_LABEL_DOES_NOT_EXISTNo link found between the AdGroupCriterion and the label.
AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST = 2; -
AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS
public static final AdGroupCriterionErrorEnum.AdGroupCriterionError AD_GROUP_CRITERION_LABEL_ALREADY_EXISTSThe label has already been attached to the AdGroupCriterion.
AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS = 3; -
CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION
public static final AdGroupCriterionErrorEnum.AdGroupCriterionError CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERIONNegative AdGroupCriterion cannot have labels.
CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION = 4; -
TOO_MANY_OPERATIONS
Too many operations for a single call.
TOO_MANY_OPERATIONS = 5; -
CANT_UPDATE_NEGATIVE
Negative ad group criteria are not updateable.
CANT_UPDATE_NEGATIVE = 6; -
CONCRETE_TYPE_REQUIRED
Concrete type of criterion (keyword v.s. placement) is required for ADD and SET operations.
CONCRETE_TYPE_REQUIRED = 7; -
BID_INCOMPATIBLE_WITH_ADGROUP
Bid is incompatible with ad group's bidding settings.
BID_INCOMPATIBLE_WITH_ADGROUP = 8; -
CANNOT_TARGET_AND_EXCLUDE
Cannot target and exclude the same criterion at once.
CANNOT_TARGET_AND_EXCLUDE = 9; -
ILLEGAL_URL
The URL of a placement is invalid.
ILLEGAL_URL = 10; -
INVALID_KEYWORD_TEXT
Keyword text was invalid.
INVALID_KEYWORD_TEXT = 11; -
INVALID_DESTINATION_URL
Destination URL was invalid.
INVALID_DESTINATION_URL = 12; -
MISSING_DESTINATION_URL_TAG
The destination url must contain at least one tag (for example, {lpurl})MISSING_DESTINATION_URL_TAG = 13; -
KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM
public static final AdGroupCriterionErrorEnum.AdGroupCriterionError KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPMKeyword-level cpm bid is not supported
KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM = 14; -
INVALID_USER_STATUS
For example, cannot add a biddable ad group criterion that had been removed.
INVALID_USER_STATUS = 15; -
CANNOT_ADD_CRITERIA_TYPE
Criteria type cannot be targeted for the ad group. Either the account is restricted to keywords only, the criteria type is incompatible with the campaign's bidding strategy, or the criteria type can only be applied to campaigns.
CANNOT_ADD_CRITERIA_TYPE = 16; -
CANNOT_EXCLUDE_CRITERIA_TYPE
Criteria type cannot be excluded for the ad group. Refer to the documentation for a specific criterion to check if it is excludable.
CANNOT_EXCLUDE_CRITERIA_TYPE = 17; -
CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE
public static final AdGroupCriterionErrorEnum.AdGroupCriterionError CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILUREPartial failure is not supported for shopping campaign mutate operations.
CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE = 27; -
OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS
public static final AdGroupCriterionErrorEnum.AdGroupCriterionError OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPSOperations in the mutate request changes too many shopping ad groups. Split requests for multiple shopping ad groups across multiple requests.
OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS = 28; -
CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS
public static final AdGroupCriterionErrorEnum.AdGroupCriterionError CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTSNot allowed to modify url fields of an ad group criterion if there are duplicate elements for that ad group criterion in the request.
CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS = 29; -
CANNOT_SET_WITHOUT_FINAL_URLS
Cannot set url fields without also setting final urls.
CANNOT_SET_WITHOUT_FINAL_URLS = 30; -
CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST
public static final AdGroupCriterionErrorEnum.AdGroupCriterionError CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXISTCannot clear final urls if final mobile urls exist.
CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST = 31; -
CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST
public static final AdGroupCriterionErrorEnum.AdGroupCriterionError CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXISTCannot clear final urls if final app urls exist.
CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST = 32; -
CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS
public static final AdGroupCriterionErrorEnum.AdGroupCriterionError CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTSCannot clear final urls if tracking url template exists.
CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS = 33; -
CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST
public static final AdGroupCriterionErrorEnum.AdGroupCriterionError CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXISTCannot clear final urls if url custom parameters exist.
CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST = 34; -
CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS
public static final AdGroupCriterionErrorEnum.AdGroupCriterionError CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLSCannot set both destination url and final urls.
CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS = 35; -
CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE
public static final AdGroupCriterionErrorEnum.AdGroupCriterionError CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATECannot set both destination url and tracking url template.
CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE = 36; -
FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE
public static final AdGroupCriterionErrorEnum.AdGroupCriterionError FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPEFinal urls are not supported for this criterion type.
FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 37; -
FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE
public static final AdGroupCriterionErrorEnum.AdGroupCriterionError FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPEFinal mobile urls are not supported for this criterion type.
FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 38; -
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:
-
AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST_VALUE
public static final int AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST_VALUENo link found between the AdGroupCriterion and the label.
AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST = 2;- See Also:
-
AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS_VALUE
public static final int AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS_VALUEThe label has already been attached to the AdGroupCriterion.
AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS = 3;- See Also:
-
CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION_VALUE
public static final int CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION_VALUENegative AdGroupCriterion cannot have labels.
CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION = 4;- See Also:
-
TOO_MANY_OPERATIONS_VALUE
public static final int TOO_MANY_OPERATIONS_VALUEToo many operations for a single call.
TOO_MANY_OPERATIONS = 5;- See Also:
-
CANT_UPDATE_NEGATIVE_VALUE
public static final int CANT_UPDATE_NEGATIVE_VALUENegative ad group criteria are not updateable.
CANT_UPDATE_NEGATIVE = 6;- See Also:
-
CONCRETE_TYPE_REQUIRED_VALUE
public static final int CONCRETE_TYPE_REQUIRED_VALUEConcrete type of criterion (keyword v.s. placement) is required for ADD and SET operations.
CONCRETE_TYPE_REQUIRED = 7;- See Also:
-
BID_INCOMPATIBLE_WITH_ADGROUP_VALUE
public static final int BID_INCOMPATIBLE_WITH_ADGROUP_VALUEBid is incompatible with ad group's bidding settings.
BID_INCOMPATIBLE_WITH_ADGROUP = 8;- See Also:
-
CANNOT_TARGET_AND_EXCLUDE_VALUE
public static final int CANNOT_TARGET_AND_EXCLUDE_VALUECannot target and exclude the same criterion at once.
CANNOT_TARGET_AND_EXCLUDE = 9;- See Also:
-
ILLEGAL_URL_VALUE
public static final int ILLEGAL_URL_VALUEThe URL of a placement is invalid.
ILLEGAL_URL = 10;- See Also:
-
INVALID_KEYWORD_TEXT_VALUE
public static final int INVALID_KEYWORD_TEXT_VALUEKeyword text was invalid.
INVALID_KEYWORD_TEXT = 11;- See Also:
-
INVALID_DESTINATION_URL_VALUE
public static final int INVALID_DESTINATION_URL_VALUEDestination URL was invalid.
INVALID_DESTINATION_URL = 12;- See Also:
-
MISSING_DESTINATION_URL_TAG_VALUE
public static final int MISSING_DESTINATION_URL_TAG_VALUEThe destination url must contain at least one tag (for example, {lpurl})MISSING_DESTINATION_URL_TAG = 13;- See Also:
-
KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM_VALUE
public static final int KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM_VALUEKeyword-level cpm bid is not supported
KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM = 14;- See Also:
-
INVALID_USER_STATUS_VALUE
public static final int INVALID_USER_STATUS_VALUEFor example, cannot add a biddable ad group criterion that had been removed.
INVALID_USER_STATUS = 15;- See Also:
-
CANNOT_ADD_CRITERIA_TYPE_VALUE
public static final int CANNOT_ADD_CRITERIA_TYPE_VALUECriteria type cannot be targeted for the ad group. Either the account is restricted to keywords only, the criteria type is incompatible with the campaign's bidding strategy, or the criteria type can only be applied to campaigns.
CANNOT_ADD_CRITERIA_TYPE = 16;- See Also:
-
CANNOT_EXCLUDE_CRITERIA_TYPE_VALUE
public static final int CANNOT_EXCLUDE_CRITERIA_TYPE_VALUECriteria type cannot be excluded for the ad group. Refer to the documentation for a specific criterion to check if it is excludable.
CANNOT_EXCLUDE_CRITERIA_TYPE = 17;- See Also:
-
CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE_VALUE
public static final int CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE_VALUEPartial failure is not supported for shopping campaign mutate operations.
CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE = 27;- See Also:
-
OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS_VALUE
public static final int OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS_VALUEOperations in the mutate request changes too many shopping ad groups. Split requests for multiple shopping ad groups across multiple requests.
OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS = 28;- See Also:
-
CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS_VALUE
public static final int CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS_VALUENot allowed to modify url fields of an ad group criterion if there are duplicate elements for that ad group criterion in the request.
CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS = 29;- See Also:
-
CANNOT_SET_WITHOUT_FINAL_URLS_VALUE
public static final int CANNOT_SET_WITHOUT_FINAL_URLS_VALUECannot set url fields without also setting final urls.
CANNOT_SET_WITHOUT_FINAL_URLS = 30;- See Also:
-
CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST_VALUE
public static final int CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST_VALUECannot clear final urls if final mobile urls exist.
CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST = 31;- See Also:
-
CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST_VALUE
public static final int CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST_VALUECannot clear final urls if final app urls exist.
CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST = 32;- See Also:
-
CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS_VALUE
public static final int CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS_VALUECannot clear final urls if tracking url template exists.
CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS = 33;- See Also:
-
CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST_VALUE
public static final int CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST_VALUECannot clear final urls if url custom parameters exist.
CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST = 34;- See Also:
-
CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS_VALUE
public static final int CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS_VALUECannot set both destination url and final urls.
CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS = 35;- See Also:
-
CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE_VALUE
public static final int CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE_VALUECannot set both destination url and tracking url template.
CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE = 36;- See Also:
-
FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE_VALUE
public static final int FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE_VALUEFinal urls are not supported for this criterion type.
FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 37;- See Also:
-
FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE_VALUE
public static final int FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE_VALUEFinal mobile urls are not supported for this criterion type.
FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 38;- 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<AdGroupCriterionErrorEnum.AdGroupCriterionError> 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 AdGroupCriterionErrorEnum.AdGroupCriterionError 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
-