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-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe ad group type is not compatible with the campaign channel type.The label has already been attached to the ad group.No link found between the ad group and the label.The ad group type is not supported in the country of sale of the campaign.Advertiser is not allowed to target sites or set site bids that are not on the Google Search Network.Bid amount is too big.AdGroup bid does not match the campaign's bidding strategy.Cannot add ad groups for the campaign type.Ad groups of AdGroupType.SEARCH_DYNAMIC_ADS can only be added to campaigns that have DynamicSearchAdsSetting attached.AdGroup with the same name already exists for the campaign.AdGroup name is not valid.The CriterionTypeGroup is not supported for the content bid dimension.The field type cannot be excluded because an active ad group-asset link of this type exists.The asset set type is invalid for setting the excluded_parent_asset_set_types field.Invalid status for the ad group.AdGroup name is required for Add.Promoted hotels ad groups are only available to customers on the allow-list.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe ad group type is not compatible with the campaign channel type.static final intThe label has already been attached to the ad group.static final intNo link found between the ad group and the label.static final intThe ad group type is not supported in the country of sale of the campaign.static final intAdvertiser is not allowed to target sites or set site bids that are not on the Google Search Network.static final intBid amount is too big.static final intAdGroup bid does not match the campaign's bidding strategy.static final intCannot add ad groups for the campaign type.static final intAd groups of AdGroupType.SEARCH_DYNAMIC_ADS can only be added to campaigns that have DynamicSearchAdsSetting attached.static final intAdGroup with the same name already exists for the campaign.static final intAdGroup name is not valid.static final intThe CriterionTypeGroup is not supported for the content bid dimension.static final intThe field type cannot be excluded because an active ad group-asset link of this type exists.static final intThe asset set type is invalid for setting the excluded_parent_asset_set_types field.static final intInvalid status for the ad group.static final intAdGroup name is required for Add.static final intPromoted hotels ad groups are only available to customers on the allow-list.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<AdGroupErrorEnum.AdGroupError>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.static AdGroupErrorEnum.AdGroupError[]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; -
DUPLICATE_ADGROUP_NAME
AdGroup with the same name already exists for the campaign.
DUPLICATE_ADGROUP_NAME = 2; -
INVALID_ADGROUP_NAME
AdGroup name is not valid.
INVALID_ADGROUP_NAME = 3; -
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
Bid amount is too big.
BID_TOO_BIG = 6; -
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
AdGroup name is required for Add.
MISSING_ADGROUP_NAME = 8; -
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
The label has already been attached to the ad group.
ADGROUP_LABEL_ALREADY_EXISTS = 10; -
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_TYPEThe 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_COUNTRYThe 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_SETTINGAd 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_CUSTOMERPromoted 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
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
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
Cannot add ad groups for the campaign type.
CANNOT_ADD_AD_GROUP_FOR_CAMPAIGN_TYPE = 18; -
INVALID_STATUS
Invalid status for the ad group.
INVALID_STATUS = 19; -
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:
-
DUPLICATE_ADGROUP_NAME_VALUE
public static final int DUPLICATE_ADGROUP_NAME_VALUEAdGroup 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_VALUEAdGroup 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_VALUEAdvertiser 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_VALUEBid 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_VALUEAdGroup 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_VALUEAdGroup 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_VALUENo 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_VALUEThe 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_VALUEThe 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_VALUEThe 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_VALUEThe 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_VALUEAd 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:
-
PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER_VALUE
public static final int PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER_VALUEPromoted hotels ad groups are only available to customers on the allow-list.
PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER = 15;- See Also:
-
INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE_VALUE
public static final int INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE_VALUEThe 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_VALUEThe 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_VALUECannot 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_VALUEInvalid status for the ad group.
INVALID_STATUS = 19;- 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<AdGroupErrorEnum.AdGroupError> 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 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 nameNullPointerException- if the argument is null
-