Enum 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 enum google.ads.googleads.v10.errors.AssetGroupErrorEnum.AssetGroupError
    • Enum Constant Detail

      • 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;
    • 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 name
        java.lang.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 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 name
        java.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.
      • 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 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 name
        java.lang.NullPointerException - if the argument is null