FeedItemValidationError

  • Possible validation errors for feed items include issues with string length, missing values, and invalid formats for phone numbers, emails, URLs, and dates.

  • Errors can also arise from incorrect or unsupported settings related to call tracking, countries, app IDs, and specific extension types like reviews and price extensions.

  • Location-based errors include inability to geocode or target an address, and issues with latitude/longitude values.

  • Asset-related validation problems encompass invalid asset IDs, incompatible types, and various image errors like size, aspect ratio, file size, format, and constraint violations.

  • Other errors cover issues with list lengths, duplicate values, invalid conversion actions, missing required fields, and problems with promotion and ad customizer settings.

The possible validation errors of a feed item.

Proto definition

Enums

ADDRESS_NOT_FOUND

Unable to find address.

ADDRESS_NOT_TARGETABLE

Cannot target provided address.

AD_CUSTOMIZERS_NOT_ALLOWED

Ad Customizers are present and not allowed.

APP_ID_DOESNT_EXIST_IN_APP_STORE

An app id was provided that doesn't exist in the given app store.

AUTO_REPLY_NOT_AVAILABLE_IN_COUNTRY

Auto reply is not supported in the country specified in the country code field.

CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY

Call tracking is not supported in the selected country.

CANNOT_SET_WITHOUT_FINAL_URLS

Tracking template requires final url to be set.

CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED

Some phone numbers can be shorter than usual. Some of these short numbers are carrier-specific, and we disallow those in ad extensions because they will not be available to all users.

CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING

Customer is not on the allow-list for call tracking.

DISALLOWED_NUMBER_TYPE

Phone number type is not allowed.

DOUBLE_QUOTES_IN_REVIEW_EXTENSION_SNIPPET

Review text cannot contain double quote characters.

DUPLICATE_OPTION_LABELS

Each option label in the message extension must be unique.

DUPLICATE_OPTION_PREFILLS

Each option prefill in the message extension must be unique.

DUPLICATE_VALUES

An attribute has the same value repeatedly.

EMAIL_DELIVERY_NOT_AVAILABLE_IN_COUNTRY

Email delivery is not supported in the country specified in the country code field.

HYPHENS_IN_REVIEW_EXTENSION_SNIPPET

Review text cannot contain hyphens or dashes.

IF_FUNCTION_NOT_ALLOWED

IF Function is present and not allowed.

IMAGE_ERROR_ASPECT_RATIO_NOT_ALLOWED

The image aspect ratio is not allowed.

IMAGE_ERROR_CONSTRAINTS_VIOLATED

Image violates constraints without more details.

IMAGE_ERROR_FILE_TOO_LARGE

The image file is too large.

IMAGE_ERROR_FORMAT_NOT_ALLOWED

The image format is unsupported.

IMAGE_ERROR_SERVER_ERROR

An error occurred when validating image.

IMAGE_ERROR_UNEXPECTED_SIZE

The image has unexpected size.

IMAGE_SIZE_WRONG

Image size is not right.

INCOMPATIBLE_ASSET_TYPE

The asset type cannot be set for the field.

INCONSISTENT_CURRENCY_CODES

All currency codes in an ad extension must be the same.

INVALID_APP_ID

The specified mobile app id is invalid.

INVALID_ASSET_ID

The specified asset ID does not exist.

INVALID_ATTRIBUTES_COMBINATION

Certain combinations of attributes aren't allowed to be specified in the same feed item.

INVALID_CALL_CONVERSION_ACTION_ID

Advertisers can link a conversion action with a phone number to indicate that sufficiently long calls forwarded to that phone number should be counted as conversions of the specified type. This is an error message indicating that the conversion action specified is invalid (for example, the conversion action does not exist within the appropriate Google Ads account, or it is a type of conversion not appropriate to phone call conversions).

INVALID_CONVERSION_REPORTING_STATE

String value of conversion reporting state field is not valid.

INVALID_COUNTRY_CODE

Country code is invalid.

INVALID_DATE_FORMAT

Invalid format for date value in ad parameter.

INVALID_DOMESTIC_PHONE_NUMBER_FORMAT

Phone number format is invalid for region.

INVALID_EMAIL_ADDRESS

Email address is invalid.

INVALID_EVENT_CHANGE_STATUS

Change status for event is invalid.

INVALID_FINAL_MOBILE_URL

Invalid final mobile url.

INVALID_FINAL_URL

Invalid U2 final url.

INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL

Final URL should start from App download URL.

INVALID_FINAL_URL_SUFFIX

Final url suffix is not valid.

INVALID_FINAL_URL_SUFFIX_FORMAT

Final url suffix is formatted incorrectly.

INVALID_FORM_ENCODED_PARAMS

Parameters are encoded in the wrong format.

INVALID_HTTPS_URL

The HTTPS URL in email extension is invalid.

INVALID_IMAGE_URL

Invalid image url.

INVALID_KEYWORDLESS_AD_RULE_LABEL

The given string value of Label contains invalid characters

INVALID_LANGUAGE_CODE

Language code is not valid.

INVALID_LATITUDE_VALUE

Invalid value specified for latitude.

INVALID_LONGITUDE_VALUE

Invalid value specified for longitude.

INVALID_NUMBER_FORMAT

Invalid format for numeric value in ad parameter.

INVALID_PHONE_NUMBER

String does not represent a phone number.

INVALID_PLACEHOLDER_FIELD_ID

Triggered when a request references a placeholder field id that does not exist.

INVALID_PRICE_FORMAT

Invalid format for price value in ad parameter.

INVALID_REVIEW_EXTENSION_SNIPPET

Invalid review text.

INVALID_SNIPPETS_HEADER

The header of a structured snippets extension is not one of the valid headers.

INVALID_TAG_IN_FINAL_URL_SUFFIX

Final url suffix contains an invalid tag.

INVALID_TRACKING_URL

Invalid U2 tracking url.

INVALID_TYPE_ID

Invalid email button type for email extension.

INVALID_TYPE_NAME

Type field has invalid value.

INVALID_URL_PARAMETER_NAME

URL parameter name must contain only letters, numbers, underscores, and dashes.

INVALID_URL_TAG

URL contains invalid ValueTrack tags or format.

INVALID_USER_ACTION

User Action field has invalid value.

ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION

Header and description in an item are the same.

LIST_TOO_LONG

Provided list exceeds acceptable size.

LIST_TOO_SHORT

List provided is too short.

MISSING_ATTRIBUTES_FOR_FIELDS

Some required field attributes are missing.

MISSING_DELIVERY_ADDRESS

Delivery address is missing from email extension.

MISSING_FEED_ITEM_END_TIME

FeedItem scheduling end time is missing.

MISSING_FEED_ITEM_ID

Cannot compute system attributes on a FeedItem that has no FeedItemId.

MISSING_FEED_ITEM_START_TIME

FeedItem scheduling start time is missing.

MISSING_LATITUDE_VALUE

Latitude value is missing.

MISSING_LONGITUDE_VALUE

Longitude value is missing.

NO_DELIVERY_OPTION_IS_SET

No message delivery option is set.

NO_GEOCODING_RESULT

Cannot find address location.

NUMBER_TYPE_WITH_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY

Phone number incompatible with call tracking for country.

ONLY_ONE_DELIVERY_OPTION_IS_ALLOWED

Multiple message delivery options are set.

PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY

Phone number format is not compatible with country code.

PREMIUM_RATE_NUMBER_NOT_ALLOWED

Premium rate number is not allowed.

PRICE_EXTENSION_HAS_DUPLICATED_HEADERS

Headers in price extension are not unique.

PRICE_EXTENSION_HAS_TOO_FEW_ITEMS

Price extension has too few items.

PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF

Both the percent off and money amount off fields are set.

PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT

Both the promotion code and orders over amount fields are set.

PROMOTION_INVALID_TIME

Promotion time is invalid.

QUOTES_IN_REVIEW_EXTENSION_SNIPPET

Review text cannot contain quote characters.

RESERVED_KEYWORD_OTHER

The input is identical to a reserved keyword

REVIEW_EXTENSION_SOURCE_INELIGIBLE

Review source is ineligible.

SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT

Review extension text has source name.

START_DATE_AFTER_END_DATE

FeedItem scheduling start date comes after end date.

STRING_TOO_LONG

String is too long.

STRING_TOO_SHORT

String is too short.

TOO_MANY_DECIMAL_PLACES_SPECIFIED

Too many decimal places are specified.

TOO_MANY_LABELS

Too many label fields provided.

UNEQUAL_LIST_LENGTHS

In message extensions, the number of optional labels and optional prefills must be the same.

UNKNOWN

Used for return value only. Represents value unknown in this version.

UNKNOWN_PLACEHOLDER_FIELD

Unrecognized type given for value in ad parameter.

UNSPECIFIED

No value has been specified.

UNSUPPORTED_LANGUAGE

Language is not supported.

UNSUPPORTED_VALUE

The given value is not supported.

UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE

The given value is not supported in the selected language of an extension.

VALUE_NOT_SPECIFIED

Value is not provided.

VALUE_OUT_OF_RANGE

Specified value is outside of the valid range.

VALUE_TRACK_PARAMETER_NOT_SUPPORTED

The given URL contains value track parameters.

VANITY_PHONE_NUMBER_NOT_ALLOWED

Call extension vanity phone numbers are not supported.