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
  • Enum Constant Details

    • UNSPECIFIED

      public static final AdGroupCriterionErrorEnum.AdGroupCriterionError 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_EXIST
       No 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_EXISTS
       The 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_CRITERION
       Negative AdGroupCriterion cannot have labels.
       
      CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION = 4;
    • TOO_MANY_OPERATIONS

      public static final AdGroupCriterionErrorEnum.AdGroupCriterionError TOO_MANY_OPERATIONS
       Too many operations for a single call.
       
      TOO_MANY_OPERATIONS = 5;
    • CANT_UPDATE_NEGATIVE

      public static final AdGroupCriterionErrorEnum.AdGroupCriterionError CANT_UPDATE_NEGATIVE
       Negative ad group criteria are not updateable.
       
      CANT_UPDATE_NEGATIVE = 6;
    • CONCRETE_TYPE_REQUIRED

      public static final AdGroupCriterionErrorEnum.AdGroupCriterionError 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

      public static final AdGroupCriterionErrorEnum.AdGroupCriterionError BID_INCOMPATIBLE_WITH_ADGROUP
       Bid is incompatible with ad group's bidding settings.
       
      BID_INCOMPATIBLE_WITH_ADGROUP = 8;
    • CANNOT_TARGET_AND_EXCLUDE

      public static final AdGroupCriterionErrorEnum.AdGroupCriterionError CANNOT_TARGET_AND_EXCLUDE
       Cannot target and exclude the same criterion at once.
       
      CANNOT_TARGET_AND_EXCLUDE = 9;
    • ILLEGAL_URL

      public static final AdGroupCriterionErrorEnum.AdGroupCriterionError ILLEGAL_URL
       The URL of a placement is invalid.
       
      ILLEGAL_URL = 10;
    • INVALID_KEYWORD_TEXT

      public static final AdGroupCriterionErrorEnum.AdGroupCriterionError INVALID_KEYWORD_TEXT
       Keyword text was invalid.
       
      INVALID_KEYWORD_TEXT = 11;
    • INVALID_DESTINATION_URL

      public static final AdGroupCriterionErrorEnum.AdGroupCriterionError INVALID_DESTINATION_URL
       Destination URL was invalid.
       
      INVALID_DESTINATION_URL = 12;
    • MISSING_DESTINATION_URL_TAG

      public static final AdGroupCriterionErrorEnum.AdGroupCriterionError 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_MANUALCPM
       Keyword-level cpm bid is not supported
       
      KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM = 14;
    • INVALID_USER_STATUS

      public static final AdGroupCriterionErrorEnum.AdGroupCriterionError INVALID_USER_STATUS
       For example, cannot add a biddable ad group criterion that had been
       removed.
       
      INVALID_USER_STATUS = 15;
    • CANNOT_ADD_CRITERIA_TYPE

      public static final AdGroupCriterionErrorEnum.AdGroupCriterionError 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

      public static final AdGroupCriterionErrorEnum.AdGroupCriterionError 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_FAILURE
       Partial 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_ADGROUPS
       Operations 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_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_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS = 29;
    • CANNOT_SET_WITHOUT_FINAL_URLS

      public static final AdGroupCriterionErrorEnum.AdGroupCriterionError 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_EXIST
       Cannot 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_EXIST
       Cannot 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_EXISTS
       Cannot 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_EXIST
       Cannot 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_URLS
       Cannot 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_TEMPLATE
       Cannot 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_TYPE
       Final 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_TYPE
       Final mobile urls are not supported for this criterion type.
       
      FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 38;
    • UNRECOGNIZED

      public static final AdGroupCriterionErrorEnum.AdGroupCriterionError UNRECOGNIZED
  • Field Details

    • UNSPECIFIED_VALUE

      public static final int UNSPECIFIED_VALUE
       Enum unspecified.
       
      UNSPECIFIED = 0;
      See Also:
    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
       The 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_VALUE
       No 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_VALUE
       The 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_VALUE
       Negative AdGroupCriterion cannot have labels.
       
      CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION = 4;
      See Also:
    • TOO_MANY_OPERATIONS_VALUE

      public static final int TOO_MANY_OPERATIONS_VALUE
       Too many operations for a single call.
       
      TOO_MANY_OPERATIONS = 5;
      See Also:
    • CANT_UPDATE_NEGATIVE_VALUE

      public static final int CANT_UPDATE_NEGATIVE_VALUE
       Negative ad group criteria are not updateable.
       
      CANT_UPDATE_NEGATIVE = 6;
      See Also:
    • CONCRETE_TYPE_REQUIRED_VALUE

      public static final int CONCRETE_TYPE_REQUIRED_VALUE
       Concrete 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_VALUE
       Bid 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_VALUE
       Cannot target and exclude the same criterion at once.
       
      CANNOT_TARGET_AND_EXCLUDE = 9;
      See Also:
    • ILLEGAL_URL_VALUE

      public static final int ILLEGAL_URL_VALUE
       The URL of a placement is invalid.
       
      ILLEGAL_URL = 10;
      See Also:
    • INVALID_KEYWORD_TEXT_VALUE

      public static final int INVALID_KEYWORD_TEXT_VALUE
       Keyword text was invalid.
       
      INVALID_KEYWORD_TEXT = 11;
      See Also:
    • INVALID_DESTINATION_URL_VALUE

      public static final int INVALID_DESTINATION_URL_VALUE
       Destination URL was invalid.
       
      INVALID_DESTINATION_URL = 12;
      See Also:
    • MISSING_DESTINATION_URL_TAG_VALUE

      public static final int MISSING_DESTINATION_URL_TAG_VALUE
       The 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_VALUE
       Keyword-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_VALUE
       For 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_VALUE
       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;
      See Also:
    • CANNOT_EXCLUDE_CRITERIA_TYPE_VALUE

      public static final int CANNOT_EXCLUDE_CRITERIA_TYPE_VALUE
       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;
      See Also:
    • CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE_VALUE

      public static final int CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE_VALUE
       Partial 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_VALUE
       Operations 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_VALUE
       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_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS = 29;
      See Also:
    • CANNOT_SET_WITHOUT_FINAL_URLS_VALUE

      public static final int CANNOT_SET_WITHOUT_FINAL_URLS_VALUE
       Cannot 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_VALUE
       Cannot 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_VALUE
       Cannot 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_VALUE
       Cannot 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_VALUE
       Cannot 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_VALUE
       Cannot 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_VALUE
       Cannot 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_VALUE
       Final 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_VALUE
       Final 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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.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 name
      NullPointerException - if the argument is null
    • forNumber

      public static AdGroupCriterionErrorEnum.AdGroupCriterionError 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<AdGroupCriterionErrorEnum.AdGroupCriterionError> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null