Enum Class AdGroupErrorEnum.AdGroupError

java.lang.Object
java.lang.Enum<AdGroupErrorEnum.AdGroupError>
com.google.ads.googleads.v18.errors.AdGroupErrorEnum.AdGroupError
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<AdGroupErrorEnum.AdGroupError>, Constable
Enclosing class:
AdGroupErrorEnum

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

    • UNSPECIFIED

      public static final AdGroupErrorEnum.AdGroupError UNSPECIFIED
       Enum unspecified.
       
      UNSPECIFIED = 0;
    • UNKNOWN

      public static final AdGroupErrorEnum.AdGroupError UNKNOWN
       The received error code is not known in this version.
       
      UNKNOWN = 1;
    • 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_TOO_BIG

      public static final AdGroupErrorEnum.AdGroupError BID_TOO_BIG
       Bid amount is too big.
       
      BID_TOO_BIG = 6;
    • 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;
    • 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;
    • INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE

      public static final AdGroupErrorEnum.AdGroupError INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE
       The asset set type is invalid for setting the
       excluded_parent_asset_set_types field.
       
      INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE = 17;
    • CANNOT_ADD_AD_GROUP_FOR_CAMPAIGN_TYPE

      public static final AdGroupErrorEnum.AdGroupError CANNOT_ADD_AD_GROUP_FOR_CAMPAIGN_TYPE
       Cannot add ad groups for the campaign type.
       
      CANNOT_ADD_AD_GROUP_FOR_CAMPAIGN_TYPE = 18;
    • INVALID_STATUS

      public static final AdGroupErrorEnum.AdGroupError INVALID_STATUS
       Invalid status for the ad group.
       
      INVALID_STATUS = 19;
    • UNRECOGNIZED

      public static final AdGroupErrorEnum.AdGroupError 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:
    • 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:
    • INVALID_ADGROUP_NAME_VALUE

      public static final int INVALID_ADGROUP_NAME_VALUE
       AdGroup name is not valid.
       
      INVALID_ADGROUP_NAME = 3;
      See Also:
    • 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:
    • BID_TOO_BIG_VALUE

      public static final int BID_TOO_BIG_VALUE
       Bid amount is too big.
       
      BID_TOO_BIG = 6;
      See Also:
    • 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:
    • MISSING_ADGROUP_NAME_VALUE

      public static final int MISSING_ADGROUP_NAME_VALUE
       AdGroup name is required for Add.
       
      MISSING_ADGROUP_NAME = 8;
      See Also:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE_VALUE

      public static final int INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE_VALUE
       The asset set type is invalid for setting the
       excluded_parent_asset_set_types field.
       
      INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE = 17;
      See Also:
    • CANNOT_ADD_AD_GROUP_FOR_CAMPAIGN_TYPE_VALUE

      public static final int CANNOT_ADD_AD_GROUP_FOR_CAMPAIGN_TYPE_VALUE
       Cannot add ad groups for the campaign type.
       
      CANNOT_ADD_AD_GROUP_FOR_CAMPAIGN_TYPE = 18;
      See Also:
    • INVALID_STATUS_VALUE

      public static final int INVALID_STATUS_VALUE
       Invalid status for the ad group.
       
      INVALID_STATUS = 19;
      See Also:
  • Method Details

    • values

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

      public static AdGroupErrorEnum.AdGroupError valueOf(String name)
      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 public static AdGroupErrorEnum.AdGroupError valueOf(int value)
      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 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.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<AdGroupErrorEnum.AdGroupError> 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 AdGroupErrorEnum.AdGroupError 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