AI-generated Key Takeaways
- 
          This document lists possible error types for ads. 
- 
          Errors can relate to formatting, content, dimensions, customer eligibility, or various invalid inputs like URLs or phone numbers. 
- 
          Issues with ad customizers, templates, images, videos, and other assets are also covered. 
- 
          Some errors are specific to certain ad types, campaigns, or geographic targeting. 
Enum describing possible ad errors.
| Enums | |
|---|---|
| 
 | Enum unspecified. | 
| 
 | The received error code is not known in this version. | 
| 
 | Ad customizers are not supported for ad type. | 
| 
 | Estimating character sizes the string is too long. | 
| 
 | Estimating character sizes the string is too short. | 
| 
 | There is a problem with the snippet. | 
| 
 | Cannot modify an ad. | 
| 
 | business name and url cannot be set at the same time | 
| 
 | The specified field is incompatible with this ad's type or settings. | 
| 
 | Cannot set field when originAdId is set. | 
| 
 | Cannot set field when an existing ad id is set for sharing. | 
| 
 | Cannot set allowFlexibleColor false if no color is provided by user. | 
| 
 | When user select native, no color control is allowed because we will always respect publisher color for native format serving. | 
| 
 | Cannot specify a url for the ad type | 
| 
 | Cannot specify a tracking or mobile url without also setting final urls | 
| 
 | Cannot specify a legacy url and a final url simultaneously | 
| 
 | Cannot specify a urls in UrlData and in template fields simultaneously. | 
| 
 | This operator cannot be used with a subclass of Ad. | 
| 
 | Customer is not approved for mobile ads. | 
| 
 | Customer is not approved for 3PAS richmedia ads. | 
| 
 | Customer is not approved for 3PAS redirect richmedia (Ad Exchange) ads. | 
| 
 | Not an eligible customer | 
| 
 | Customer is not eligible for updating beacon url | 
| 
 | There already exists an ad with the same dimensions in the union. | 
| 
 | Ad's dimension must be set before setting union dimension. | 
| 
 | Ad's dimension must be included in the union dimensions. | 
| 
 | Display Url cannot be specified (applies to Ad Exchange Ads) | 
| 
 | Telephone number contains invalid characters or invalid format. Re-enter your number using digits (0-9), dashes (-), and parentheses only. | 
| 
 | Emergency telephone numbers are not allowed. Enter a valid domestic phone number to connect customers to your business. | 
| 
 | A required field was not specified or is an empty string. | 
| 
 | A feed attribute referenced in an ad customizer tag is not in the ad customizer mapping for the feed. | 
| 
 | The ad customizer field mapping for the feed attribute does not match the expected field type. | 
| 
 | The use of ad customizer tags in the ad text is disallowed. Details in trigger. | 
| 
 | Tags of the form {PH_x}, where x is a number, are disallowed in ad text. | 
| 
 | The dimensions of the ad are specified or derived in multiple ways and are not consistent. | 
| 
 | The status cannot differ among template ads of the same union. | 
| 
 | The length of the string is not valid. | 
| 
 | The ad is ineligible for upgrade. | 
| 
 | User cannot create mobile ad for countries targeted in specified campaign. | 
| 
 | Invalid Ad type. A specific type of Ad is required. | 
| 
 | Headline, description or phone cannot be present when creating mobile image ad. | 
| 
 | Image cannot be present when creating mobile text ad. | 
| 
 | Invalid call to action text. | 
| 
 | Invalid character in URL. | 
| 
 | Creative's country code is not valid. | 
| 
 | Invalid use of Expanded Dynamic Search Ads tags ({lpurl} etc.) | 
| 
 | An input error whose real reason was not properly mapped (should not happen). | 
| 
 | An invalid markup language was entered. | 
| 
 | An invalid mobile carrier was entered. | 
| 
 | Specified mobile carriers target a country not targeted by the campaign. | 
| 
 | Wrong number of elements for given element type | 
| 
 | The format of the telephone number is incorrect. Re-enter the number using the correct format. | 
| 
 | The certified vendor format id is incorrect. | 
| 
 | The template ad data contains validation errors. | 
| 
 | The template field doesn't have have the correct type. | 
| 
 | Invalid template id. | 
| 
 | After substituting replacement strings, the line is too wide. | 
| 
 | The feed referenced must have ad customizer mapping to be used in a customizer tag. | 
| 
 | Missing address component in template element address field. | 
| 
 | An ad name must be entered. | 
| 
 | Business name must be entered. | 
| 
 | Description (line 2) must be entered. | 
| 
 | Description (line 3) must be entered. | 
| 
 | The destination url must contain at least one tag (for example, {lpurl}) | 
| 
 | The tracking url template of ExpandedDynamicSearchAd must contain at least one tag. (for example, {lpurl}) | 
| 
 | A valid dimension must be specified for this ad. | 
| 
 | A display URL must be entered. | 
| 
 | Headline must be entered. | 
| 
 | A height must be entered. | 
| 
 | An image must be entered. | 
| 
 | Marketing image or product videos are required. | 
| 
 | The markup language in which your site is written must be entered. | 
| 
 | A mobile carrier must be entered. | 
| 
 | Phone number must be entered. | 
| 
 | Missing required template fields | 
| 
 | Missing a required field value | 
| 
 | The ad must have text. | 
| 
 | A visible URL must be entered. | 
| 
 | A width must be entered. | 
| 
 | Only 1 feed can be used as the source of ad customizer substitutions in a single ad. | 
| 
 | TempAdUnionId must be use when adding template ads. | 
| 
 | The string has too many characters. | 
| 
 | The string has too few characters. | 
| 
 | Ad union dimensions cannot change for saved ads. | 
| 
 | Address component is not {country, lat, lng}. | 
| 
 | Unknown unique field name | 
| 
 | Unknown unique name (template element type specifier) | 
| 
 | Unsupported ad dimension | 
| 
 | URL starts with an invalid scheme. | 
| 
 | URL ends with an invalid top-level domain name. | 
| 
 | URL contains illegal characters. | 
| 
 | URL must contain a host name. | 
| 
 | URL not equivalent during upgrade. | 
| 
 | URL host name too long to be stored as visible URL (applies to Ad Exchange ads) | 
| 
 | URL must start with a scheme. | 
| 
 | URL should end in a valid domain extension, such as .com or .net. | 
| 
 | URL must not end with a path. | 
| 
 | URL must not specify a port. | 
| 
 | URL must not contain a query. | 
| 
 | A url scheme is not allowed in front of tag in tracking url template (for example, http://{lpurl}) | 
| 
 | The user does not have permissions to create a template ad for the given template. | 
| 
 | Expandable setting is inconsistent/wrong. For example, an AdX ad is invalid if it has a expandable vendor format but no expanding directions specified, or expanding directions is specified, but the vendor format is not expandable. | 
| 
 | Format is invalid | 
| 
 | The text of this field did not match a pattern of allowed values. | 
| 
 | Template element is mising | 
| 
 | Error occurred during image processing | 
| 
 | The value is not within the valid range | 
| 
 | Template element field is not present | 
| 
 | Address is incomplete | 
| 
 | Invalid address | 
| 
 | Error retrieving specified video | 
| 
 | Error processing audio | 
| 
 | Display URL is incorrect for YouTube PYV ads | 
| 
 | Too many product Images in GmailAd | 
| 
 | Too many product Videos in GmailAd | 
| 
 | The device preference is not compatible with the ad type | 
| 
 | Call tracking is not supported for specified country. | 
| 
 | Carrier specific short number is not allowed. | 
| 
 | Specified phone number type is disallowed. | 
| 
 | Phone number not supported for country. | 
| 
 | Phone number not supported with call tracking enabled for country. | 
| 
 | Premium rate phone number is not allowed. | 
| 
 | Vanity phone number is not allowed. | 
| 
 | Invalid call conversion type id. | 
| 
 | Cannot disable call conversion and set conversion type id. | 
| 
 | Cannot set path2 without path1. | 
| 
 | Missing domain name in campaign setting when adding expanded dynamic search ad. | 
| 
 | The associated ad is not compatible with restriction type. | 
| 
 | Consent for call recording is required for creating/updating call only ads. See https://support.google.com/google-ads/answer/7412639. | 
| 
 | Either an image or a media bundle is required in a display upload ad. | 
| 
 | The display upload product type is not supported in this campaign. | 
| 
 | The default value of an ad placeholder can not be the empty string. | 
| 
 | Ad placeholders with countdown functions must not have a default value. | 
| 
 | A previous ad placeholder that had a default value was found which means that all (non-countdown) placeholders must have a default value. This ad placeholder does not have a default value. | 
| 
 | A previous ad placeholder that did not have a default value was found which means that no placeholders may have a default value. This ad placeholder does have a default value. | 
| 
 | Two ad customizers may not be directly adjacent in an ad text. They must be separated by at least one character. | 
| 
 | The ad is not associated with any enabled AdGroupAd, and cannot be updated. | 
| 
 | Call Ad verification url and final url don't have same domain. | 
| 
 | Final url and verification url cannot both be empty for call ads. | 
| 
 | Too many ad customizers in one asset. | 
| 
 | The ad customizer tag is recognized, but the format is invalid. | 
| 
 | Customizer tags cannot be nested. | 
| 
 | The ad customizer syntax used in the ad is not supported. | 
| 
 | There exists unpaired brace in the ad customizer tag. | 
| 
 | More than one type of countdown tag exists among all text lines. | 
| 
 | Date time in the countdown tag is invalid. | 
| 
 | Date time in the countdown tag is in the past. | 
| 
 | Cannot recognize the ad customizer tag. | 
| 
 | Customizer type forbidden for this field. | 
| 
 | Customizer attribute name is invalid. | 
| 
 | App store value does not match the value of the app store in the app specified in the campaign. | 
| 
 | Missing required image aspect ratio. | 
| 
 | Aspect ratios mismatch between different assets. | 
| 
 | Images must be unique between different carousel card assets. | 
| 
 | For video ads sequencing, YouTube video asset ID has to be defined in campaign.video_campaign_settings.video_ad_sequence.steps.asset_id. |