Enum AssetGroupErrorEnum.AssetGroupError
- java.lang.Object
-
- java.lang.Enum<AssetGroupErrorEnum.AssetGroupError>
-
- com.google.ads.googleads.v10.errors.AssetGroupErrorEnum.AssetGroupError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<AssetGroupErrorEnum.AssetGroupError>
- Enclosing class:
- AssetGroupErrorEnum
public static enum AssetGroupErrorEnum.AssetGroupError extends java.lang.Enum<AssetGroupErrorEnum.AssetGroupError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible asset group errors.
Protobuf enumgoogle.ads.googleads.v10.errors.AssetGroupErrorEnum.AssetGroupError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANNOT_ADD_ASSET_GROUP_FOR_CAMPAIGN_TYPECannot add asset group for the campaign type.DUPLICATE_NAMEEach asset group in a single campaign must have a unique name.FINAL_URL_SHOPPING_MERCHANT_HOME_PAGE_URL_DOMAINS_DIFFERFinal url and shopping merchant url does not have the same domain.NOT_ENOUGH_BUSINESS_NAME_ASSETNot enough business name asset for a valid asset group.NOT_ENOUGH_DESCRIPTION_ASSETNot enough description headline asset for a valid asset group.NOT_ENOUGH_HEADLINE_ASSETNot enough headline asset for a valid asset group.NOT_ENOUGH_LOGO_ASSETNot enough logo asset for a valid asset group.NOT_ENOUGH_LONG_HEADLINE_ASSETNot enough long headline asset for a valid asset group.NOT_ENOUGH_MARKETING_IMAGE_ASSETNot enough marketing image asset for a valid asset group.NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSETNot enough square marketing image asset for a valid asset group.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static intCANNOT_ADD_ASSET_GROUP_FOR_CAMPAIGN_TYPE_VALUECannot add asset group for the campaign type.static intDUPLICATE_NAME_VALUEEach asset group in a single campaign must have a unique name.static intFINAL_URL_SHOPPING_MERCHANT_HOME_PAGE_URL_DOMAINS_DIFFER_VALUEFinal url and shopping merchant url does not have the same domain.static intNOT_ENOUGH_BUSINESS_NAME_ASSET_VALUENot enough business name asset for a valid asset group.static intNOT_ENOUGH_DESCRIPTION_ASSET_VALUENot enough description headline asset for a valid asset group.static intNOT_ENOUGH_HEADLINE_ASSET_VALUENot enough headline asset for a valid asset group.static intNOT_ENOUGH_LOGO_ASSET_VALUENot enough logo asset for a valid asset group.static intNOT_ENOUGH_LONG_HEADLINE_ASSET_VALUENot enough long headline asset for a valid asset group.static intNOT_ENOUGH_MARKETING_IMAGE_ASSET_VALUENot enough marketing image asset for a valid asset group.static intNOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET_VALUENot enough square marketing image asset for a valid asset group.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 AssetGroupErrorEnum.AssetGroupErrorforNumber(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<AssetGroupErrorEnum.AssetGroupError>internalGetValueMap()static AssetGroupErrorEnum.AssetGroupErrorvalueOf(int value)Deprecated.static AssetGroupErrorEnum.AssetGroupErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static AssetGroupErrorEnum.AssetGroupErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AssetGroupErrorEnum.AssetGroupError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final AssetGroupErrorEnum.AssetGroupError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final AssetGroupErrorEnum.AssetGroupError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
DUPLICATE_NAME
public static final AssetGroupErrorEnum.AssetGroupError DUPLICATE_NAME
Each asset group in a single campaign must have a unique name.
DUPLICATE_NAME = 2;
-
CANNOT_ADD_ASSET_GROUP_FOR_CAMPAIGN_TYPE
public static final AssetGroupErrorEnum.AssetGroupError 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
public static final AssetGroupErrorEnum.AssetGroupError NOT_ENOUGH_HEADLINE_ASSET
Not enough headline asset for a valid asset group.
NOT_ENOUGH_HEADLINE_ASSET = 4;
-
NOT_ENOUGH_LONG_HEADLINE_ASSET
public static final AssetGroupErrorEnum.AssetGroupError 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
public static final AssetGroupErrorEnum.AssetGroupError NOT_ENOUGH_DESCRIPTION_ASSET
Not enough description headline asset for a valid asset group.
NOT_ENOUGH_DESCRIPTION_ASSET = 6;
-
NOT_ENOUGH_BUSINESS_NAME_ASSET
public static final AssetGroupErrorEnum.AssetGroupError 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
public static final AssetGroupErrorEnum.AssetGroupError 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
public static final AssetGroupErrorEnum.AssetGroupError 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
public static final AssetGroupErrorEnum.AssetGroupError 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_DIFFER
Final url and shopping merchant url does not have the same domain.
FINAL_URL_SHOPPING_MERCHANT_HOME_PAGE_URL_DOMAINS_DIFFER = 11;
-
UNRECOGNIZED
public static final AssetGroupErrorEnum.AssetGroupError 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_NAME_VALUE
public static final int DUPLICATE_NAME_VALUE
Each asset group in a single campaign must have a unique name.
DUPLICATE_NAME = 2;- See Also:
- Constant Field Values
-
CANNOT_ADD_ASSET_GROUP_FOR_CAMPAIGN_TYPE_VALUE
public static final int CANNOT_ADD_ASSET_GROUP_FOR_CAMPAIGN_TYPE_VALUE
Cannot add asset group for the campaign type.
CANNOT_ADD_ASSET_GROUP_FOR_CAMPAIGN_TYPE = 3;- See Also:
- Constant Field Values
-
NOT_ENOUGH_HEADLINE_ASSET_VALUE
public static final int NOT_ENOUGH_HEADLINE_ASSET_VALUE
Not enough headline asset for a valid asset group.
NOT_ENOUGH_HEADLINE_ASSET = 4;- See Also:
- Constant Field Values
-
NOT_ENOUGH_LONG_HEADLINE_ASSET_VALUE
public static final int NOT_ENOUGH_LONG_HEADLINE_ASSET_VALUE
Not enough long headline asset for a valid asset group.
NOT_ENOUGH_LONG_HEADLINE_ASSET = 5;- See Also:
- Constant Field Values
-
NOT_ENOUGH_DESCRIPTION_ASSET_VALUE
public static final int NOT_ENOUGH_DESCRIPTION_ASSET_VALUE
Not enough description headline asset for a valid asset group.
NOT_ENOUGH_DESCRIPTION_ASSET = 6;- See Also:
- Constant Field Values
-
NOT_ENOUGH_BUSINESS_NAME_ASSET_VALUE
public static final int NOT_ENOUGH_BUSINESS_NAME_ASSET_VALUE
Not enough business name asset for a valid asset group.
NOT_ENOUGH_BUSINESS_NAME_ASSET = 7;- See Also:
- Constant Field Values
-
NOT_ENOUGH_MARKETING_IMAGE_ASSET_VALUE
public static final int NOT_ENOUGH_MARKETING_IMAGE_ASSET_VALUE
Not enough marketing image asset for a valid asset group.
NOT_ENOUGH_MARKETING_IMAGE_ASSET = 8;- See Also:
- Constant Field Values
-
NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET_VALUE
public static final int NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET_VALUE
Not enough square marketing image asset for a valid asset group.
NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET = 9;- See Also:
- Constant Field Values
-
NOT_ENOUGH_LOGO_ASSET_VALUE
public static final int NOT_ENOUGH_LOGO_ASSET_VALUE
Not enough logo asset for a valid asset group.
NOT_ENOUGH_LOGO_ASSET = 10;- See Also:
- Constant Field Values
-
FINAL_URL_SHOPPING_MERCHANT_HOME_PAGE_URL_DOMAINS_DIFFER_VALUE
public static final int FINAL_URL_SHOPPING_MERCHANT_HOME_PAGE_URL_DOMAINS_DIFFER_VALUE
Final url and shopping merchant url does not have the same domain.
FINAL_URL_SHOPPING_MERCHANT_HOME_PAGE_URL_DOMAINS_DIFFER = 11;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static AssetGroupErrorEnum.AssetGroupError[] 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 (AssetGroupErrorEnum.AssetGroupError c : AssetGroupErrorEnum.AssetGroupError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AssetGroupErrorEnum.AssetGroupError 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 AssetGroupErrorEnum.AssetGroupError 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 AssetGroupErrorEnum.AssetGroupError 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<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 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
-
-