AssetError

  • This content describes a variety of errors that can occur when managing assets, such as duplicate names, missing data, or invalid field combinations.

  • Many errors are related to specific asset types, including lead forms, call assets, price assets, and mobile app assets.

  • Some errors indicate issues with customer eligibility or permissions for certain asset types.

  • Errors can also arise from invalid data formats, such as too many decimal places or incorrect phone number formats.

Enum describing possible asset errors.

Enums

UNSPECIFIED

Enum unspecified.

UNKNOWN

The received error code is not known in this version.

CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE

The customer is not is not on the allow-list for this asset type.

DUPLICATE_ASSET

Assets are duplicated across operations.

DUPLICATE_ASSET_NAME

The asset name is duplicated, either across operations or with an existing asset.

ASSET_DATA_IS_MISSING

The Asset.asset_data oneof is empty.

CANNOT_MODIFY_ASSET_NAME

The asset has a name which is different from an existing duplicate that represents the same content.

FIELD_INCOMPATIBLE_WITH_ASSET_TYPE

The field cannot be set for this asset type.

INVALID_CALL_TO_ACTION_TEXT

Call to action must come from the list of supported values.

LEAD_FORM_INVALID_FIELDS_COMBINATION

A lead form asset is created with an invalid combination of input fields.

LEAD_FORM_MISSING_AGREEMENT

Lead forms require that the Terms of Service have been agreed to before mutates can be executed.

INVALID_ASSET_STATUS

Asset status is invalid in this operation.

FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE

The field cannot be modified by this asset type.

SCHEDULES_CANNOT_OVERLAP

Ad schedules for the same asset cannot overlap.

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_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT

Cannot set both promotion code and orders over amount fields of promotion asset.

TOO_MANY_DECIMAL_PLACES_SPECIFIED

The field has too many decimal places specified.

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.

CALL_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED

Carrier specific short number is not allowed.

CALL_DISALLOWED_NUMBER_TYPE

The type of the specified phone number is not allowed.

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_COUNTRY_CODE

The country code of the phone number is invalid.

CALL_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT

The format of the phone number is incorrect.

CALL_INVALID_PHONE_NUMBER

The input phone number is not a valid phone number.

CALL_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY

The phone number is not supported for country.

CALL_PREMIUM_RATE_NUMBER_NOT_ALLOWED

Premium rate phone number is not allowed.

CALL_VANITY_PHONE_NUMBER_NOT_ALLOWED

Vanity phone number is not allowed.

PRICE_HEADER_SAME_AS_DESCRIPTION

PriceOffering cannot have the same value for header and description.

MOBILE_APP_INVALID_APP_ID

AppId is invalid.

MOBILE_APP_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL

Invalid App download URL in final URLs.

NAME_REQUIRED_FOR_ASSET_TYPE

Asset name is required for the asset type.

LEAD_FORM_LEGACY_QUALIFYING_QUESTIONS_DISALLOWED

Legacy qualifying questions cannot be in the same Lead Form as custom questions.

NAME_CONFLICT_FOR_ASSET_TYPE

Unique name is required for this asset type.

CANNOT_MODIFY_ASSET_SOURCE

Cannot modify asset source.

CANNOT_MODIFY_AUTOMATICALLY_CREATED_ASSET

User can not modify the automatically created asset.

LEAD_FORM_LOCATION_ANSWER_TYPE_DISALLOWED

Lead Form is disallowed to use "LOCATION" answer type.

PAGE_FEED_INVALID_LABEL_TEXT

Page Feed label text contains invalid characters.

CUSTOMER_NOT_ON_ALLOWLIST_FOR_WHATSAPP_MESSAGE_ASSETS

The customer is not in the allow-list for whatsapp message asset type.

PROMOTION_BARCODE_INVALID_FORMAT

Failed to encode promotion barcode: Invalid format.

UNSUPPORTED_BARCODE_TYPE

Barcode type is not supported.

PROMOTION_QR_CODE_INVALID_FORMAT

Failed to encode promotion QR code: Invalid format.