My favorites | English | Sign in

AdWords API v2009

v2009 Docs | v13 Docs

type MediaError

Error class for media related errors.

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.

MediaError

reason MediaError.Reason The error reason represented by an enum.
  1. Enumerations
    1. CANNOT_ADD_STANDARD_ICON
      1. Cannot add a standard icon type

    2. DUPLICATE_MEDIA
      1. A media with given type and reference id already exists

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

    4. ENTITY_REFERENCED_IN_MULTIPLE_OPS
      1. A media may only be modified once per call

    5. FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE
      1. Field is not supported for the media sub type.

    6. INVALID_MEDIA_ID
      1. The media id is invalid

    7. INVALID_MEDIA_TYPE
      1. The media type is invalid

    8. INVALID_MEDIA_SUB_TYPE
      1. The media subtype is invalid

    9. INVALID_REFERENCE_ID
      1. The media reference id is invalid

    10. MEDIA_TYPE_DOES_NOT_MATCH_OBJECT_TYPE
      1. The MediaType does not match the actual media object's type

    11. NO_FIELDS_SPECIFIED
      1. None of the fields have been specified.

    12. NULL_REFERENCE_ID_AND_MEDIA_ID
      1. One of reference Id or media Id must be specified

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

    14. UNSUPPORTED_OPERATION
      1. The specified operation is not supported. Only ADD, SET, and REMOVE are supported

    15. UNSUPPORTED_TYPE