Enum Class AssetGroupErrorEnum.AssetGroupError
java.lang.Object
java.lang.Enum<AssetGroupErrorEnum.AssetGroupError>
com.google.ads.googleads.v18.errors.AssetGroupErrorEnum.AssetGroupError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AssetGroupErrorEnum.AssetGroupError>,Constable
- Enclosing class:
- AssetGroupErrorEnum
public static enum AssetGroupErrorEnum.AssetGroupError
extends Enum<AssetGroupErrorEnum.AssetGroupError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible asset group errors.Protobuf enum
google.ads.googleads.v18.errors.AssetGroupErrorEnum.AssetGroupError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAd customizers are not supported in asset group's text field.Cannot add asset group for the campaign type.Cannot mutate asset group for campaign with removed status.Each asset group in a single campaign must have a unique name.Final url contains invalid domain name.Final url field is required for asset group.Final url and shopping merchant url does not have the same domain.Not enough business name asset for a valid asset group.Not enough description headline asset for a valid asset group.Not enough headline asset for a valid asset group.Not enough logo asset for a valid asset group.Not enough long headline asset for a valid asset group.Not enough marketing image asset for a valid asset group.Not enough square marketing image asset for a valid asset group.Path1 required when path2 is set.At least one short description asset is required for a valid asset group.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAd customizers are not supported in asset group's text field.static final intCannot add asset group for the campaign type.static final intCannot mutate asset group for campaign with removed status.static final intEach asset group in a single campaign must have a unique name.static final intFinal url contains invalid domain name.static final intFinal url field is required for asset group.static final intFinal url and shopping merchant url does not have the same domain.static final intNot enough business name asset for a valid asset group.static final intNot enough description headline asset for a valid asset group.static final intNot enough headline asset for a valid asset group.static final intNot enough logo asset for a valid asset group.static final intNot enough long headline asset for a valid asset group.static final intNot enough marketing image asset for a valid asset group.static final intNot enough square marketing image asset for a valid asset group.static final intPath1 required when path2 is set.static final intAt least one short description asset is required for a valid asset group.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<AssetGroupErrorEnum.AssetGroupError>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 AssetGroupErrorEnum.AssetGroupError[]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_NAME
Each asset group in a single campaign must have a unique name.
DUPLICATE_NAME = 2; -
CANNOT_ADD_ASSET_GROUP_FOR_CAMPAIGN_TYPE
Cannot add asset group for the campaign type.
CANNOT_ADD_ASSET_GROUP_FOR_CAMPAIGN_TYPE = 3; -
NOT_ENOUGH_HEADLINE_ASSET
Not enough headline asset for a valid asset group.
NOT_ENOUGH_HEADLINE_ASSET = 4; -
NOT_ENOUGH_LONG_HEADLINE_ASSET
Not enough long headline asset for a valid asset group.
NOT_ENOUGH_LONG_HEADLINE_ASSET = 5; -
NOT_ENOUGH_DESCRIPTION_ASSET
Not enough description headline asset for a valid asset group.
NOT_ENOUGH_DESCRIPTION_ASSET = 6; -
NOT_ENOUGH_BUSINESS_NAME_ASSET
Not enough business name asset for a valid asset group.
NOT_ENOUGH_BUSINESS_NAME_ASSET = 7; -
NOT_ENOUGH_MARKETING_IMAGE_ASSET
Not enough marketing image asset for a valid asset group.
NOT_ENOUGH_MARKETING_IMAGE_ASSET = 8; -
NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET
Not enough square marketing image asset for a valid asset group.
NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET = 9; -
NOT_ENOUGH_LOGO_ASSET
Not enough logo asset for a valid asset group.
NOT_ENOUGH_LOGO_ASSET = 10; -
FINAL_URL_SHOPPING_MERCHANT_HOME_PAGE_URL_DOMAINS_DIFFER
public static final AssetGroupErrorEnum.AssetGroupError FINAL_URL_SHOPPING_MERCHANT_HOME_PAGE_URL_DOMAINS_DIFFERFinal url and shopping merchant url does not have the same domain.
FINAL_URL_SHOPPING_MERCHANT_HOME_PAGE_URL_DOMAINS_DIFFER = 11; -
PATH1_REQUIRED_WHEN_PATH2_IS_SET
Path1 required when path2 is set.
PATH1_REQUIRED_WHEN_PATH2_IS_SET = 12; -
SHORT_DESCRIPTION_REQUIRED
At least one short description asset is required for a valid asset group.
SHORT_DESCRIPTION_REQUIRED = 13; -
FINAL_URL_REQUIRED
Final url field is required for asset group.
FINAL_URL_REQUIRED = 14; -
FINAL_URL_CONTAINS_INVALID_DOMAIN_NAME
Final url contains invalid domain name.
FINAL_URL_CONTAINS_INVALID_DOMAIN_NAME = 15; -
AD_CUSTOMIZER_NOT_SUPPORTED
Ad customizers are not supported in asset group's text field.
AD_CUSTOMIZER_NOT_SUPPORTED = 16; -
CANNOT_MUTATE_ASSET_GROUP_FOR_REMOVED_CAMPAIGN
public static final AssetGroupErrorEnum.AssetGroupError CANNOT_MUTATE_ASSET_GROUP_FOR_REMOVED_CAMPAIGNCannot mutate asset group for campaign with removed status.
CANNOT_MUTATE_ASSET_GROUP_FOR_REMOVED_CAMPAIGN = 17; -
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_NAME_VALUE
public static final int DUPLICATE_NAME_VALUEEach asset group in a single campaign must have a unique name.
DUPLICATE_NAME = 2;- See Also:
-
CANNOT_ADD_ASSET_GROUP_FOR_CAMPAIGN_TYPE_VALUE
public static final int CANNOT_ADD_ASSET_GROUP_FOR_CAMPAIGN_TYPE_VALUECannot add asset group for the campaign type.
CANNOT_ADD_ASSET_GROUP_FOR_CAMPAIGN_TYPE = 3;- See Also:
-
NOT_ENOUGH_HEADLINE_ASSET_VALUE
public static final int NOT_ENOUGH_HEADLINE_ASSET_VALUENot enough headline asset for a valid asset group.
NOT_ENOUGH_HEADLINE_ASSET = 4;- See Also:
-
NOT_ENOUGH_LONG_HEADLINE_ASSET_VALUE
public static final int NOT_ENOUGH_LONG_HEADLINE_ASSET_VALUENot enough long headline asset for a valid asset group.
NOT_ENOUGH_LONG_HEADLINE_ASSET = 5;- See Also:
-
NOT_ENOUGH_DESCRIPTION_ASSET_VALUE
public static final int NOT_ENOUGH_DESCRIPTION_ASSET_VALUENot enough description headline asset for a valid asset group.
NOT_ENOUGH_DESCRIPTION_ASSET = 6;- See Also:
-
NOT_ENOUGH_BUSINESS_NAME_ASSET_VALUE
public static final int NOT_ENOUGH_BUSINESS_NAME_ASSET_VALUENot enough business name asset for a valid asset group.
NOT_ENOUGH_BUSINESS_NAME_ASSET = 7;- See Also:
-
NOT_ENOUGH_MARKETING_IMAGE_ASSET_VALUE
public static final int NOT_ENOUGH_MARKETING_IMAGE_ASSET_VALUENot enough marketing image asset for a valid asset group.
NOT_ENOUGH_MARKETING_IMAGE_ASSET = 8;- See Also:
-
NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET_VALUE
public static final int NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET_VALUENot enough square marketing image asset for a valid asset group.
NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET = 9;- See Also:
-
NOT_ENOUGH_LOGO_ASSET_VALUE
public static final int NOT_ENOUGH_LOGO_ASSET_VALUENot enough logo asset for a valid asset group.
NOT_ENOUGH_LOGO_ASSET = 10;- See Also:
-
FINAL_URL_SHOPPING_MERCHANT_HOME_PAGE_URL_DOMAINS_DIFFER_VALUE
public static final int FINAL_URL_SHOPPING_MERCHANT_HOME_PAGE_URL_DOMAINS_DIFFER_VALUEFinal url and shopping merchant url does not have the same domain.
FINAL_URL_SHOPPING_MERCHANT_HOME_PAGE_URL_DOMAINS_DIFFER = 11;- See Also:
-
PATH1_REQUIRED_WHEN_PATH2_IS_SET_VALUE
public static final int PATH1_REQUIRED_WHEN_PATH2_IS_SET_VALUEPath1 required when path2 is set.
PATH1_REQUIRED_WHEN_PATH2_IS_SET = 12;- See Also:
-
SHORT_DESCRIPTION_REQUIRED_VALUE
public static final int SHORT_DESCRIPTION_REQUIRED_VALUEAt least one short description asset is required for a valid asset group.
SHORT_DESCRIPTION_REQUIRED = 13;- See Also:
-
FINAL_URL_REQUIRED_VALUE
public static final int FINAL_URL_REQUIRED_VALUEFinal url field is required for asset group.
FINAL_URL_REQUIRED = 14;- See Also:
-
FINAL_URL_CONTAINS_INVALID_DOMAIN_NAME_VALUE
public static final int FINAL_URL_CONTAINS_INVALID_DOMAIN_NAME_VALUEFinal url contains invalid domain name.
FINAL_URL_CONTAINS_INVALID_DOMAIN_NAME = 15;- See Also:
-
AD_CUSTOMIZER_NOT_SUPPORTED_VALUE
public static final int AD_CUSTOMIZER_NOT_SUPPORTED_VALUEAd customizers are not supported in asset group's text field.
AD_CUSTOMIZER_NOT_SUPPORTED = 16;- See Also:
-
CANNOT_MUTATE_ASSET_GROUP_FOR_REMOVED_CAMPAIGN_VALUE
public static final int CANNOT_MUTATE_ASSET_GROUP_FOR_REMOVED_CAMPAIGN_VALUECannot mutate asset group for campaign with removed status.
CANNOT_MUTATE_ASSET_GROUP_FOR_REMOVED_CAMPAIGN = 17;- 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<AssetGroupErrorEnum.AssetGroupError> 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 AssetGroupErrorEnum.AssetGroupError 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
-