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
  • Enum Constant Details

    • 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;
    • PATH1_REQUIRED_WHEN_PATH2_IS_SET

      public static final AssetGroupErrorEnum.AssetGroupError PATH1_REQUIRED_WHEN_PATH2_IS_SET
       Path1 required when path2 is set.
       
      PATH1_REQUIRED_WHEN_PATH2_IS_SET = 12;
    • SHORT_DESCRIPTION_REQUIRED

      public static final AssetGroupErrorEnum.AssetGroupError SHORT_DESCRIPTION_REQUIRED
       At least one short description asset is required for a valid asset group.
       
      SHORT_DESCRIPTION_REQUIRED = 13;
    • FINAL_URL_REQUIRED

      public static final AssetGroupErrorEnum.AssetGroupError FINAL_URL_REQUIRED
       Final url field is required for asset group.
       
      FINAL_URL_REQUIRED = 14;
    • FINAL_URL_CONTAINS_INVALID_DOMAIN_NAME

      public static final AssetGroupErrorEnum.AssetGroupError FINAL_URL_CONTAINS_INVALID_DOMAIN_NAME
       Final url contains invalid domain name.
       
      FINAL_URL_CONTAINS_INVALID_DOMAIN_NAME = 15;
    • AD_CUSTOMIZER_NOT_SUPPORTED

      public static final AssetGroupErrorEnum.AssetGroupError 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_CAMPAIGN
       Cannot mutate asset group for campaign with removed status.
       
      CANNOT_MUTATE_ASSET_GROUP_FOR_REMOVED_CAMPAIGN = 17;
    • UNRECOGNIZED

      public static final AssetGroupErrorEnum.AssetGroupError 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_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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • PATH1_REQUIRED_WHEN_PATH2_IS_SET_VALUE

      public static final int PATH1_REQUIRED_WHEN_PATH2_IS_SET_VALUE
       Path1 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_VALUE
       At 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_VALUE
       Final 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_VALUE
       Final 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_VALUE
       Ad 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_VALUE
       Cannot mutate asset group for campaign with removed status.
       
      CANNOT_MUTATE_ASSET_GROUP_FOR_REMOVED_CAMPAIGN = 17;
      See Also:
  • Method Details

    • values

      public static AssetGroupErrorEnum.AssetGroupError[] 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 AssetGroupErrorEnum.AssetGroupError 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 AssetGroupErrorEnum.AssetGroupError 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 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:
      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 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 name
      NullPointerException - if the argument is null