Enum AdGroupErrorEnum.AdGroupError
- java.lang.Object
-
- java.lang.Enum<AdGroupErrorEnum.AdGroupError>
-
- com.google.ads.googleads.v10.errors.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 enumgoogle.ads.googleads.v10.errors.AdGroupErrorEnum.AdGroupError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPEThe ad group type is not compatible with the campaign channel type.ADGROUP_LABEL_ALREADY_EXISTSThe label has already been attached to the ad group.ADGROUP_LABEL_DOES_NOT_EXISTNo link found between the ad group and the label.ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRYThe ad group type is not supported in the country of sale of the campaign.ADVERTISER_NOT_ON_CONTENT_NETWORKAdvertiser is not allowed to target sites or set site bids that are not on the Google Search Network.BID_TOO_BIGBid amount is too big.BID_TYPE_AND_BIDDING_STRATEGY_MISMATCHAdGroup bid does not match the campaign's bidding strategy.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.DUPLICATE_ADGROUP_NAMEAdGroup with the same name already exists for the campaign.INVALID_ADGROUP_NAMEAdGroup name is not valid.INVALID_CONTENT_BID_CRITERION_TYPE_GROUPThe CriterionTypeGroup is not supported for the content bid dimension.INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPEThe field type cannot be excluded because an active ad group-asset link of this type exists.MISSING_ADGROUP_NAMEAdGroup name is required for Add.PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMERPromoted hotels ad groups are only available to customers on the allow-list.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static intAD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE_VALUEThe ad group type is not compatible with the campaign channel type.static intADGROUP_LABEL_ALREADY_EXISTS_VALUEThe label has already been attached to the ad group.static intADGROUP_LABEL_DOES_NOT_EXIST_VALUENo link found between the ad group and the label.static intADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY_VALUEThe ad group type is not supported in the country of sale of the campaign.static intADVERTISER_NOT_ON_CONTENT_NETWORK_VALUEAdvertiser is not allowed to target sites or set site bids that are not on the Google Search Network.static intBID_TOO_BIG_VALUEBid amount is too big.static intBID_TYPE_AND_BIDDING_STRATEGY_MISMATCH_VALUEAdGroup bid does not match the campaign's bidding strategy.static intCANNOT_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.static intDUPLICATE_ADGROUP_NAME_VALUEAdGroup with the same name already exists for the campaign.static intINVALID_ADGROUP_NAME_VALUEAdGroup name is not valid.static intINVALID_CONTENT_BID_CRITERION_TYPE_GROUP_VALUEThe CriterionTypeGroup is not supported for the content bid dimension.static intINVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE_VALUEThe field type cannot be excluded because an active ad group-asset link of this type exists.static intMISSING_ADGROUP_NAME_VALUEAdGroup name is required for Add.static intPROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER_VALUEPromoted hotels ad groups are only available to customers on the allow-list.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AdGroupErrorEnum.AdGroupErrorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<AdGroupErrorEnum.AdGroupError>internalGetValueMap()static AdGroupErrorEnum.AdGroupErrorvalueOf(int value)Deprecated.static AdGroupErrorEnum.AdGroupErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static AdGroupErrorEnum.AdGroupErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AdGroupErrorEnum.AdGroupError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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;
-
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;
-
UNRECOGNIZED
public static final AdGroupErrorEnum.AdGroupError UNRECOGNIZED
-
-
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 namejava.lang.NullPointerException- 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 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 namejava.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.
-
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 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 namejava.lang.NullPointerException- if the argument is null
-
-