Enum AdGroupCriterionErrorEnum.AdGroupCriterionError

    • Enum Constant Detail

      • 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;
      • 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;
      • 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;
      • 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.
         Please 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_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;
    • 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
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        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 ADD
         and SET operations.
         
        CONCRETE_TYPE_REQUIRED = 7;
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • ILLEGAL_URL_VALUE

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

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

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

        public static final int MISSING_DESTINATION_URL_TAG_VALUE
         The destination url must contain at least one tag (e.g. {lpurl})
         
        MISSING_DESTINATION_URL_TAG = 13;
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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.
         Please split requests for multiple shopping ad groups across multiple
         requests.
         
        OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS = 28;
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
    • Method Detail

      • values

        public static AdGroupCriterionErrorEnum.AdGroupCriterionError[] 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 (AdGroupCriterionErrorEnum.AdGroupCriterionError c : AdGroupCriterionErrorEnum.AdGroupCriterionError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AdGroupCriterionErrorEnum.AdGroupCriterionError 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 name
        java.lang.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
        public static AdGroupCriterionErrorEnum.AdGroupCriterionError 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 name
        java.lang.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.
      • 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 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 name
        java.lang.NullPointerException - if the argument is null