My favorites | English | Sign in

AdWords API v2009

v2009 Docs | v13 Docs

type AdError

Base error class for Ad Service.

Namespace

  • https://adwords.google.com/api/adwords/cm/v200909

Fields

Field Type Description

ApiError (inherited)

fieldPath xsd:string The OGNL field path to identify cause of error.
trigger xsd:string The data that caused the error.
ApiError.Type xsd:string This field indicates the subtype of ApiError of this instance. It is ignored on input, and instead xsi:type should be specified.

AdError

reason AdError.Reason The error reason represented by an enum.
  1. Enumerations
    1. APPROXIMATELY_TOO_LONG
      1. Estimating character sizes the string is too long.

    2. APPROXIMATELY_TOO_SHORT
      1. Estimating character sizes the string is too short.

    3. CANNOT_SET_BUSINESS_NAME_IF_URL_SET
      1. business name and url cannot be set at the same time

    4. CUSTOMER_NOT_APPROVED_MOBILEADS
      1. Customer is not approved for mobile ads.

    5. CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS
      1. Customer is not approved for 3PAS richmedia ads.

    6. CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS
      1. Customer is not approved for 3PAS redirect richmedia (Ad Exchange) ads.

    7. CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL
      1. Customer is not eligible for updating beacon url

    8. DIMENSION_ALREADY_IN_UNION
      1. There already exists an ad with the same dimensions in the union.

    9. DIMENSION_MUST_BE_SET
      1. Ad's dimension must be set before setting union dimension.

    10. DIMENSION_NOT_IN_UNION
      1. Ad's dimension must be included in the union dimensions.

    11. DOMESTIC_PHONE_NUMBER_FORMAT
      1. Telephone number contains invalid characters or invalid format. Please re-enter your number using digits (0-9), dashes (-), and parentheses only.

    12. EMERGENCY_PHONE_NUMBER
      1. Emergency telephone numbers are not allowed. Please enter a valid domestic phone number to connect customers to your business.

    13. EMPTY_FIELD
      1. A required field was not specified or is an empty string.

    14. INCONSISTENT_STATUS_IN_TEMPLATE_UNION
      1. The status cannot differ among template ads of the same union.

    15. INCORRECT_LENGTH
      1. The length of the string is not valid.

    16. INVALID_AD_ADDRESS_CAMPAIGN_TARGET
      1. User cannot create mobile ad for countries targeted in specified campaign.

    17. INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE
      1. Headline, description or phone cannot be present when creating mobile image ad.

    18. INVALID_ATTRIBUTES_FOR_MOBILE_TEXT
      1. Image cannot be present when creating mobile text ad.

    19. INVALID_COUNTRY_CODE
      1. Creative's country code is not valid.

    20. INVALID_INPUT
      1. An input error whose real reason was not properly mapped (should not happen).

    21. INVALID_MARKUP_LANGUAGE
      1. An invalid markup language was entered.

    22. INVALID_MOBILE_CARRIER
      1. An invalid mobile carrier was entered.

    23. INVALID_MOBILE_CARRIER_TARGET
      1. Specified mobile carriers target a country not targeted by the campaign.

    24. INVALID_NUMBER_OF_ELEMENTS
      1. Wrong number of elements for given element type

    25. INVALID_PHONE_NUMBER_FORMAT
      1. The format of the telephone number is incorrect. Please re-enter the number using the correct format.

    26. INVALID_TEMPLATE_DATA
      1. The template ad data contains validation errors.

    27. INVALID_TEMPLATE_ELEMENT_FIELD_TYPE
      1. The template field doesn't have have the correct type.

    28. INVALID_TEMPLATE_ID
      1. Invalid template id.

    29. LINE_TOO_WIDE
      1. After substituting replacement strings, the line is too wide.

    30. MARKUP_LANGUAGES_PRESENT
      1. When entering a markup language the Destination URL must be entered.

    31. MISSING_ADDRESS_COMPONENT
      1. Missing address component in template element address field.

    32. MISSING_ADVERTISEMENT_NAME
      1. An ad name must be entered.

    33. MISSING_DESCRIPTION1
      1. Description (line 2) must be entered.

    34. MISSING_DESCRIPTION2
      1. Description (line 3) must be entered.

    35. MISSING_DESTINATION_URL
      1. A destination URL must be entered.

    36. MISSING_DIMENSION
      1. A valid dimension must be specified for this ad.

    37. MISSING_DISPLAY_URL
      1. A display URL must be entered.

    38. MISSING_HEADLINE
      1. Headline must be entered.

    39. MISSING_HEIGHT
      1. A height must be entered.

    40. MISSING_IMAGE
      1. An image must be entered.

    41. MISSING_MARKUP_LANGUAGES
      1. The markup language in which your site is written must be entered.

    42. MISSING_MOBILE_CARRIER
      1. A mobile carrier must be entered.

    43. MISSING_PHONE
      1. Phone number must be entered.

    44. MISSING_REQUIRED_TEMPLATE_FIELDS
      1. Missing required template fields

    45. MISSING_TEMPLATE_FIELD_VALUE
      1. Missing a required field value

    46. MISSING_TEXT
      1. The ad must have text.

    47. MISSING_URL_AND_PHONE
      1. Ad must link to a mobile web page or connect users to your business telephone, or both. Please enter a mobile Destination URL and/or a business telephone number.

    48. MISSING_VISIBLE_URL
      1. A visible URL must be entered.

    49. MISSING_WIDTH
      1. A width must be entered.

    50. MUST_USE_TEMP_AD_UNION_ID_ON_ADD
      1. TempAdUnionId must be use when adding template ads.

    51. TOO_LONG
      1. The string has too many characters.

    52. TOO_SHORT
      1. The string has too few characters.

    53. UNION_DIMENSIONS_CANNOT_CHANGE
      1. Ad union dimensions cannot change for saved ads.

    54. UNKNOWN_ADDRESS_COMPONENT
      1. Address component is not {country, lat, lng}.

    55. UNKNOWN_FIELD_NAME
      1. Unknown unique field name

    56. UNKNOWN_UNIQUE_NAME
      1. Unknown unique name (template element type specifier)

    57. UNSUPPORTED_DIMENSIONS
      1. Unsupported ad dimension

    58. URL_INVALID_TOP_LEVEL_DOMAIN
      1. URL ends with an invalid top-level domain name.

    59. URL_MALFORMED
      1. URL contains illegal characters.

    60. URL_NO_HOST
      1. URL must contain a host name.

    61. URL_NO_SCHEME
      1. URL must start with a scheme.

    62. URL_NO_TOP_LEVEL_DOMAIN
      1. URL should end in a valid domain extension, such as .com or .net.

    63. URL_PATH_NOT_ALLOWED
      1. URL must not end with a path.

    64. URL_PORT_NOT_ALLOWED
      1. URL must not specify a port.

    65. URL_QUERY_NOT_ALLOWED
      1. URL must not contain a query.

    66. USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE
      1. The user does not have permissions to create a template ad for the given template.

    67. INVALID_FORMAT
      1. Format is invalid

    68. ELEMENT_NOT_PRESENT
      1. Template element is mising

    69. IMAGE_ERROR
      1. Error occurred during image processing

    70. VALUE_NOT_IN_RANGE
      1. The value is not within the valid range

    71. FIELD_NOT_PRESENT
      1. Template element field is not present

    72. ADDRESS_NOT_COMPLETE
      1. Address is incomplete

    73. ADDRESS_INVALID
      1. Invalid address

    74. VIDEO_RETRIEVAL_ERROR
      1. Error retrieving specified video

    75. AUDIO_ERROR
      1. Error processing audio

    76. INVALID_YOUTUBE_DISPLAY_URL
      1. Display URL is incorrect for YouTube PYV ads