Enum AssetErrorEnum.AssetError

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, java.io.Serializable, java.lang.Comparable<AssetErrorEnum.AssetError>
    Enclosing class:
    AssetErrorEnum

    public static enum AssetErrorEnum.AssetError
    extends java.lang.Enum<AssetErrorEnum.AssetError>
    implements com.google.protobuf.ProtocolMessageEnum
     Enum describing possible asset errors.
     
    Protobuf enum google.ads.googleads.v10.errors.AssetErrorEnum.AssetError
    • Enum Constant Detail

      • UNKNOWN

        public static final AssetErrorEnum.AssetError UNKNOWN
         The received error code is not known in this version.
         
        UNKNOWN = 1;
      • CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE

        public static final AssetErrorEnum.AssetError CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE
         The customer is not is not on the allow-list for this asset type.
         
        CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE = 13;
      • DUPLICATE_ASSET

        public static final AssetErrorEnum.AssetError DUPLICATE_ASSET
         Assets are duplicated across operations.
         
        DUPLICATE_ASSET = 3;
      • DUPLICATE_ASSET_NAME

        public static final AssetErrorEnum.AssetError DUPLICATE_ASSET_NAME
         The asset name is duplicated, either across operations or with an
         existing asset.
         
        DUPLICATE_ASSET_NAME = 4;
      • ASSET_DATA_IS_MISSING

        public static final AssetErrorEnum.AssetError ASSET_DATA_IS_MISSING
         The Asset.asset_data oneof is empty.
         
        ASSET_DATA_IS_MISSING = 5;
      • CANNOT_MODIFY_ASSET_NAME

        public static final AssetErrorEnum.AssetError CANNOT_MODIFY_ASSET_NAME
         The asset has a name which is different from an existing duplicate that
         represents the same content.
         
        CANNOT_MODIFY_ASSET_NAME = 6;
      • FIELD_INCOMPATIBLE_WITH_ASSET_TYPE

        public static final AssetErrorEnum.AssetError FIELD_INCOMPATIBLE_WITH_ASSET_TYPE
         The field cannot be set for this asset type.
         
        FIELD_INCOMPATIBLE_WITH_ASSET_TYPE = 7;
      • INVALID_CALL_TO_ACTION_TEXT

        public static final AssetErrorEnum.AssetError INVALID_CALL_TO_ACTION_TEXT
         Call to action must come from the list of supported values.
         
        INVALID_CALL_TO_ACTION_TEXT = 8;
      • LEAD_FORM_INVALID_FIELDS_COMBINATION

        public static final AssetErrorEnum.AssetError LEAD_FORM_INVALID_FIELDS_COMBINATION
         A lead form asset is created with an invalid combination of input fields.
         
        LEAD_FORM_INVALID_FIELDS_COMBINATION = 9;
      • LEAD_FORM_MISSING_AGREEMENT

        public static final AssetErrorEnum.AssetError LEAD_FORM_MISSING_AGREEMENT
         Lead forms require that the Terms of Service have been agreed to before
         mutates can be executed.
         
        LEAD_FORM_MISSING_AGREEMENT = 10;
      • INVALID_ASSET_STATUS

        public static final AssetErrorEnum.AssetError INVALID_ASSET_STATUS
         Asset status is invalid in this operation.
         
        INVALID_ASSET_STATUS = 11;
      • FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE

        public static final AssetErrorEnum.AssetError FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE
         The field cannot be modified by this asset type.
         
        FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE = 12;
      • SCHEDULES_CANNOT_OVERLAP

        public static final AssetErrorEnum.AssetError SCHEDULES_CANNOT_OVERLAP
         Ad schedules for the same asset cannot overlap.
         
        SCHEDULES_CANNOT_OVERLAP = 14;
      • PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF

        public static final AssetErrorEnum.AssetError PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF
         Cannot set both percent off and money amount off fields of promotion
         asset.
         
        PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF = 15;
      • PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT

        public static final AssetErrorEnum.AssetError PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT
         Cannot set both promotion code and orders over amount fields of promotion
         asset.
         
        PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT = 16;
      • TOO_MANY_DECIMAL_PLACES_SPECIFIED

        public static final AssetErrorEnum.AssetError TOO_MANY_DECIMAL_PLACES_SPECIFIED
         The field has too many decimal places specified.
         
        TOO_MANY_DECIMAL_PLACES_SPECIFIED = 17;
      • DUPLICATE_ASSETS_WITH_DIFFERENT_FIELD_VALUE

        public static final AssetErrorEnum.AssetError DUPLICATE_ASSETS_WITH_DIFFERENT_FIELD_VALUE
         Duplicate assets across operations, which have identical Asset.asset_data
         oneof, cannot have different asset level fields for asset types which are
         deduped.
         
        DUPLICATE_ASSETS_WITH_DIFFERENT_FIELD_VALUE = 18;
      • CALL_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED

        public static final AssetErrorEnum.AssetError CALL_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED
         Carrier specific short number is not allowed.
         
        CALL_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 19;
      • CALL_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED

        public static final AssetErrorEnum.AssetError CALL_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED
         Customer consent required for call recording Terms of Service.
         
        CALL_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 20;
      • CALL_DISALLOWED_NUMBER_TYPE

        public static final AssetErrorEnum.AssetError CALL_DISALLOWED_NUMBER_TYPE
         The type of the specified phone number is not allowed.
         
        CALL_DISALLOWED_NUMBER_TYPE = 21;
      • CALL_INVALID_CONVERSION_ACTION

        public static final AssetErrorEnum.AssetError CALL_INVALID_CONVERSION_ACTION
         If the default call_conversion_action is not used, the customer must have
         a ConversionAction with the same id and the ConversionAction must be call
         conversion type.
         
        CALL_INVALID_CONVERSION_ACTION = 22;
      • CALL_INVALID_COUNTRY_CODE

        public static final AssetErrorEnum.AssetError CALL_INVALID_COUNTRY_CODE
         The country code of the phone number is invalid.
         
        CALL_INVALID_COUNTRY_CODE = 23;
      • CALL_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT

        public static final AssetErrorEnum.AssetError CALL_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT
         The format of the phone number is incorrect.
         
        CALL_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 24;
      • CALL_INVALID_PHONE_NUMBER

        public static final AssetErrorEnum.AssetError CALL_INVALID_PHONE_NUMBER
         The input phone number is not a valid phone number.
         
        CALL_INVALID_PHONE_NUMBER = 25;
      • CALL_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY

        public static final AssetErrorEnum.AssetError CALL_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY
         The phone number is not supported for country.
         
        CALL_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 26;
      • CALL_PREMIUM_RATE_NUMBER_NOT_ALLOWED

        public static final AssetErrorEnum.AssetError CALL_PREMIUM_RATE_NUMBER_NOT_ALLOWED
         Premium rate phone number is not allowed.
         
        CALL_PREMIUM_RATE_NUMBER_NOT_ALLOWED = 27;
      • CALL_VANITY_PHONE_NUMBER_NOT_ALLOWED

        public static final AssetErrorEnum.AssetError CALL_VANITY_PHONE_NUMBER_NOT_ALLOWED
         Vanity phone number is not allowed.
         
        CALL_VANITY_PHONE_NUMBER_NOT_ALLOWED = 28;
      • PRICE_HEADER_SAME_AS_DESCRIPTION

        public static final AssetErrorEnum.AssetError PRICE_HEADER_SAME_AS_DESCRIPTION
         PriceOffering cannot have the same value for header and description.
         
        PRICE_HEADER_SAME_AS_DESCRIPTION = 29;
      • MOBILE_APP_INVALID_APP_ID

        public static final AssetErrorEnum.AssetError MOBILE_APP_INVALID_APP_ID
         AppId is invalid.
         
        MOBILE_APP_INVALID_APP_ID = 30;
      • MOBILE_APP_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL

        public static final AssetErrorEnum.AssetError MOBILE_APP_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL
         Invalid App download URL in final URLs.
         
        MOBILE_APP_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL = 31;
      • NAME_REQUIRED_FOR_ASSET_TYPE

        public static final AssetErrorEnum.AssetError NAME_REQUIRED_FOR_ASSET_TYPE
         Asset name is required for the asset type.
         
        NAME_REQUIRED_FOR_ASSET_TYPE = 32;
    • 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
      • CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE_VALUE

        public static final int CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE_VALUE
         The customer is not is not on the allow-list for this asset type.
         
        CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE = 13;
        See Also:
        Constant Field Values
      • DUPLICATE_ASSET_VALUE

        public static final int DUPLICATE_ASSET_VALUE
         Assets are duplicated across operations.
         
        DUPLICATE_ASSET = 3;
        See Also:
        Constant Field Values
      • DUPLICATE_ASSET_NAME_VALUE

        public static final int DUPLICATE_ASSET_NAME_VALUE
         The asset name is duplicated, either across operations or with an
         existing asset.
         
        DUPLICATE_ASSET_NAME = 4;
        See Also:
        Constant Field Values
      • ASSET_DATA_IS_MISSING_VALUE

        public static final int ASSET_DATA_IS_MISSING_VALUE
         The Asset.asset_data oneof is empty.
         
        ASSET_DATA_IS_MISSING = 5;
        See Also:
        Constant Field Values
      • CANNOT_MODIFY_ASSET_NAME_VALUE

        public static final int CANNOT_MODIFY_ASSET_NAME_VALUE
         The asset has a name which is different from an existing duplicate that
         represents the same content.
         
        CANNOT_MODIFY_ASSET_NAME = 6;
        See Also:
        Constant Field Values
      • FIELD_INCOMPATIBLE_WITH_ASSET_TYPE_VALUE

        public static final int FIELD_INCOMPATIBLE_WITH_ASSET_TYPE_VALUE
         The field cannot be set for this asset type.
         
        FIELD_INCOMPATIBLE_WITH_ASSET_TYPE = 7;
        See Also:
        Constant Field Values
      • INVALID_CALL_TO_ACTION_TEXT_VALUE

        public static final int INVALID_CALL_TO_ACTION_TEXT_VALUE
         Call to action must come from the list of supported values.
         
        INVALID_CALL_TO_ACTION_TEXT = 8;
        See Also:
        Constant Field Values
      • LEAD_FORM_INVALID_FIELDS_COMBINATION_VALUE

        public static final int LEAD_FORM_INVALID_FIELDS_COMBINATION_VALUE
         A lead form asset is created with an invalid combination of input fields.
         
        LEAD_FORM_INVALID_FIELDS_COMBINATION = 9;
        See Also:
        Constant Field Values
      • LEAD_FORM_MISSING_AGREEMENT_VALUE

        public static final int LEAD_FORM_MISSING_AGREEMENT_VALUE
         Lead forms require that the Terms of Service have been agreed to before
         mutates can be executed.
         
        LEAD_FORM_MISSING_AGREEMENT = 10;
        See Also:
        Constant Field Values
      • INVALID_ASSET_STATUS_VALUE

        public static final int INVALID_ASSET_STATUS_VALUE
         Asset status is invalid in this operation.
         
        INVALID_ASSET_STATUS = 11;
        See Also:
        Constant Field Values
      • FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE_VALUE

        public static final int FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE_VALUE
         The field cannot be modified by this asset type.
         
        FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE = 12;
        See Also:
        Constant Field Values
      • SCHEDULES_CANNOT_OVERLAP_VALUE

        public static final int SCHEDULES_CANNOT_OVERLAP_VALUE
         Ad schedules for the same asset cannot overlap.
         
        SCHEDULES_CANNOT_OVERLAP = 14;
        See Also:
        Constant Field Values
      • PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF_VALUE

        public static final int PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF_VALUE
         Cannot set both percent off and money amount off fields of promotion
         asset.
         
        PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF = 15;
        See Also:
        Constant Field Values
      • PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT_VALUE

        public static final int PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT_VALUE
         Cannot set both promotion code and orders over amount fields of promotion
         asset.
         
        PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT = 16;
        See Also:
        Constant Field Values
      • TOO_MANY_DECIMAL_PLACES_SPECIFIED_VALUE

        public static final int TOO_MANY_DECIMAL_PLACES_SPECIFIED_VALUE
         The field has too many decimal places specified.
         
        TOO_MANY_DECIMAL_PLACES_SPECIFIED = 17;
        See Also:
        Constant Field Values
      • DUPLICATE_ASSETS_WITH_DIFFERENT_FIELD_VALUE_VALUE

        public static final int DUPLICATE_ASSETS_WITH_DIFFERENT_FIELD_VALUE_VALUE
         Duplicate assets across operations, which have identical Asset.asset_data
         oneof, cannot have different asset level fields for asset types which are
         deduped.
         
        DUPLICATE_ASSETS_WITH_DIFFERENT_FIELD_VALUE = 18;
        See Also:
        Constant Field Values
      • CALL_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED_VALUE

        public static final int CALL_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED_VALUE
         Carrier specific short number is not allowed.
         
        CALL_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 19;
        See Also:
        Constant Field Values
      • CALL_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED_VALUE

        public static final int CALL_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED_VALUE
         Customer consent required for call recording Terms of Service.
         
        CALL_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 20;
        See Also:
        Constant Field Values
      • CALL_DISALLOWED_NUMBER_TYPE_VALUE

        public static final int CALL_DISALLOWED_NUMBER_TYPE_VALUE
         The type of the specified phone number is not allowed.
         
        CALL_DISALLOWED_NUMBER_TYPE = 21;
        See Also:
        Constant Field Values
      • CALL_INVALID_CONVERSION_ACTION_VALUE

        public static final int CALL_INVALID_CONVERSION_ACTION_VALUE
         If the default call_conversion_action is not used, the customer must have
         a ConversionAction with the same id and the ConversionAction must be call
         conversion type.
         
        CALL_INVALID_CONVERSION_ACTION = 22;
        See Also:
        Constant Field Values
      • CALL_INVALID_COUNTRY_CODE_VALUE

        public static final int CALL_INVALID_COUNTRY_CODE_VALUE
         The country code of the phone number is invalid.
         
        CALL_INVALID_COUNTRY_CODE = 23;
        See Also:
        Constant Field Values
      • CALL_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT_VALUE

        public static final int CALL_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT_VALUE
         The format of the phone number is incorrect.
         
        CALL_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 24;
        See Also:
        Constant Field Values
      • CALL_INVALID_PHONE_NUMBER_VALUE

        public static final int CALL_INVALID_PHONE_NUMBER_VALUE
         The input phone number is not a valid phone number.
         
        CALL_INVALID_PHONE_NUMBER = 25;
        See Also:
        Constant Field Values
      • CALL_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY_VALUE

        public static final int CALL_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY_VALUE
         The phone number is not supported for country.
         
        CALL_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 26;
        See Also:
        Constant Field Values
      • CALL_PREMIUM_RATE_NUMBER_NOT_ALLOWED_VALUE

        public static final int CALL_PREMIUM_RATE_NUMBER_NOT_ALLOWED_VALUE
         Premium rate phone number is not allowed.
         
        CALL_PREMIUM_RATE_NUMBER_NOT_ALLOWED = 27;
        See Also:
        Constant Field Values
      • CALL_VANITY_PHONE_NUMBER_NOT_ALLOWED_VALUE

        public static final int CALL_VANITY_PHONE_NUMBER_NOT_ALLOWED_VALUE
         Vanity phone number is not allowed.
         
        CALL_VANITY_PHONE_NUMBER_NOT_ALLOWED = 28;
        See Also:
        Constant Field Values
      • PRICE_HEADER_SAME_AS_DESCRIPTION_VALUE

        public static final int PRICE_HEADER_SAME_AS_DESCRIPTION_VALUE
         PriceOffering cannot have the same value for header and description.
         
        PRICE_HEADER_SAME_AS_DESCRIPTION = 29;
        See Also:
        Constant Field Values
      • MOBILE_APP_INVALID_APP_ID_VALUE

        public static final int MOBILE_APP_INVALID_APP_ID_VALUE
         AppId is invalid.
         
        MOBILE_APP_INVALID_APP_ID = 30;
        See Also:
        Constant Field Values
      • MOBILE_APP_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL_VALUE

        public static final int MOBILE_APP_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL_VALUE
         Invalid App download URL in final URLs.
         
        MOBILE_APP_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL = 31;
        See Also:
        Constant Field Values
      • NAME_REQUIRED_FOR_ASSET_TYPE_VALUE

        public static final int NAME_REQUIRED_FOR_ASSET_TYPE_VALUE
         Asset name is required for the asset type.
         
        NAME_REQUIRED_FOR_ASSET_TYPE = 32;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static AssetErrorEnum.AssetError[] 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 (AssetErrorEnum.AssetError c : AssetErrorEnum.AssetError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AssetErrorEnum.AssetError 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 AssetErrorEnum.AssetError 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 AssetErrorEnum.AssetError 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<AssetErrorEnum.AssetError> 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 AssetErrorEnum.AssetError 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