Enum AdGroupErrorEnum.AdGroupError

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, java.io.Serializable, java.lang.Comparable<AdGroupErrorEnum.AdGroupError>
    Enclosing class:
    AdGroupErrorEnum

    public static enum AdGroupErrorEnum.AdGroupError
    extends java.lang.Enum<AdGroupErrorEnum.AdGroupError>
    implements com.google.protobuf.ProtocolMessageEnum
     Enum describing possible ad group errors.
     
    Protobuf enum google.ads.googleads.v10.errors.AdGroupErrorEnum.AdGroupError
    • Enum Constant Detail

      • DUPLICATE_ADGROUP_NAME

        public static final AdGroupErrorEnum.AdGroupError DUPLICATE_ADGROUP_NAME
         AdGroup with the same name already exists for the campaign.
         
        DUPLICATE_ADGROUP_NAME = 2;
      • INVALID_ADGROUP_NAME

        public static final AdGroupErrorEnum.AdGroupError INVALID_ADGROUP_NAME
         AdGroup name is not valid.
         
        INVALID_ADGROUP_NAME = 3;
      • ADVERTISER_NOT_ON_CONTENT_NETWORK

        public static final AdGroupErrorEnum.AdGroupError ADVERTISER_NOT_ON_CONTENT_NETWORK
         Advertiser is not allowed to target sites or set site bids that are not
         on the Google Search Network.
         
        ADVERTISER_NOT_ON_CONTENT_NETWORK = 5;
      • BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH

        public static final AdGroupErrorEnum.AdGroupError BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH
         AdGroup bid does not match the campaign's bidding strategy.
         
        BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH = 7;
      • MISSING_ADGROUP_NAME

        public static final AdGroupErrorEnum.AdGroupError MISSING_ADGROUP_NAME
         AdGroup name is required for Add.
         
        MISSING_ADGROUP_NAME = 8;
      • ADGROUP_LABEL_DOES_NOT_EXIST

        public static final AdGroupErrorEnum.AdGroupError ADGROUP_LABEL_DOES_NOT_EXIST
         No link found between the ad group and the label.
         
        ADGROUP_LABEL_DOES_NOT_EXIST = 9;
      • ADGROUP_LABEL_ALREADY_EXISTS

        public static final AdGroupErrorEnum.AdGroupError ADGROUP_LABEL_ALREADY_EXISTS
         The label has already been attached to the ad group.
         
        ADGROUP_LABEL_ALREADY_EXISTS = 10;
      • INVALID_CONTENT_BID_CRITERION_TYPE_GROUP

        public static final AdGroupErrorEnum.AdGroupError INVALID_CONTENT_BID_CRITERION_TYPE_GROUP
         The CriterionTypeGroup is not supported for the content bid dimension.
         
        INVALID_CONTENT_BID_CRITERION_TYPE_GROUP = 11;
      • AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE

        public static final AdGroupErrorEnum.AdGroupError AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE
         The ad group type is not compatible with the campaign channel type.
         
        AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE = 12;
      • ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY

        public static final AdGroupErrorEnum.AdGroupError ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY
         The ad group type is not supported in the country of sale of the
         campaign.
         
        ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY = 13;
      • CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING

        public static final AdGroupErrorEnum.AdGroupError CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING
         Ad groups of AdGroupType.SEARCH_DYNAMIC_ADS can only be added to
         campaigns that have DynamicSearchAdsSetting attached.
         
        CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING = 14;
      • PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER

        public static final AdGroupErrorEnum.AdGroupError PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER
         Promoted hotels ad groups are only available to customers on the
         allow-list.
         
        PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER = 15;
      • INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE

        public static final AdGroupErrorEnum.AdGroupError INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE
         The field type cannot be excluded because an active ad group-asset link
         of this type exists.
         
        INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE = 16;
    • 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
      • DUPLICATE_ADGROUP_NAME_VALUE

        public static final int DUPLICATE_ADGROUP_NAME_VALUE
         AdGroup with the same name already exists for the campaign.
         
        DUPLICATE_ADGROUP_NAME = 2;
        See Also:
        Constant Field Values
      • INVALID_ADGROUP_NAME_VALUE

        public static final int INVALID_ADGROUP_NAME_VALUE
         AdGroup name is not valid.
         
        INVALID_ADGROUP_NAME = 3;
        See Also:
        Constant Field Values
      • ADVERTISER_NOT_ON_CONTENT_NETWORK_VALUE

        public static final int ADVERTISER_NOT_ON_CONTENT_NETWORK_VALUE
         Advertiser is not allowed to target sites or set site bids that are not
         on the Google Search Network.
         
        ADVERTISER_NOT_ON_CONTENT_NETWORK = 5;
        See Also:
        Constant Field Values
      • BID_TOO_BIG_VALUE

        public static final int BID_TOO_BIG_VALUE
         Bid amount is too big.
         
        BID_TOO_BIG = 6;
        See Also:
        Constant Field Values
      • BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH_VALUE

        public static final int BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH_VALUE
         AdGroup bid does not match the campaign's bidding strategy.
         
        BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH = 7;
        See Also:
        Constant Field Values
      • MISSING_ADGROUP_NAME_VALUE

        public static final int MISSING_ADGROUP_NAME_VALUE
         AdGroup name is required for Add.
         
        MISSING_ADGROUP_NAME = 8;
        See Also:
        Constant Field Values
      • ADGROUP_LABEL_DOES_NOT_EXIST_VALUE

        public static final int ADGROUP_LABEL_DOES_NOT_EXIST_VALUE
         No link found between the ad group and the label.
         
        ADGROUP_LABEL_DOES_NOT_EXIST = 9;
        See Also:
        Constant Field Values
      • ADGROUP_LABEL_ALREADY_EXISTS_VALUE

        public static final int ADGROUP_LABEL_ALREADY_EXISTS_VALUE
         The label has already been attached to the ad group.
         
        ADGROUP_LABEL_ALREADY_EXISTS = 10;
        See Also:
        Constant Field Values
      • INVALID_CONTENT_BID_CRITERION_TYPE_GROUP_VALUE

        public static final int INVALID_CONTENT_BID_CRITERION_TYPE_GROUP_VALUE
         The CriterionTypeGroup is not supported for the content bid dimension.
         
        INVALID_CONTENT_BID_CRITERION_TYPE_GROUP = 11;
        See Also:
        Constant Field Values
      • AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE_VALUE

        public static final int AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE_VALUE
         The ad group type is not compatible with the campaign channel type.
         
        AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE = 12;
        See Also:
        Constant Field Values
      • ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY_VALUE

        public static final int ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY_VALUE
         The ad group type is not supported in the country of sale of the
         campaign.
         
        ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY = 13;
        See Also:
        Constant Field Values
      • CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING_VALUE

        public static final int CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING_VALUE
         Ad groups of AdGroupType.SEARCH_DYNAMIC_ADS can only be added to
         campaigns that have DynamicSearchAdsSetting attached.
         
        CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING = 14;
        See Also:
        Constant Field Values
      • PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER_VALUE

        public static final int PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER_VALUE
         Promoted hotels ad groups are only available to customers on the
         allow-list.
         
        PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER = 15;
        See Also:
        Constant Field Values
      • INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE_VALUE

        public static final int INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE_VALUE
         The field type cannot be excluded because an active ad group-asset link
         of this type exists.
         
        INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE = 16;
        See Also:
        Constant Field Values
    • Method Detail

      • values

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

        public static AdGroupErrorEnum.AdGroupError 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 AdGroupErrorEnum.AdGroupError 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 AdGroupErrorEnum.AdGroupError 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 AdGroupErrorEnum.AdGroupError 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