Share your feedback about the Google Ads (AdWords) API. Take the 2021 AdWords API and Google Ads API Annual Survey.

MediaFileError

Enum describing possible media file errors.

Enums

UNSPECIFIED

Enum unspecified.

UNKNOWN

The received error code is not known in this version.

CANNOT_CREATE_STANDARD_ICON

Cannot create a standard icon type.

CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES

May only select Standard Icons alone.

CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA

Image contains both a media file ID and data.

DUPLICATE_MEDIA

A media file with given type and reference ID already exists.

EMPTY_FIELD

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

RESOURCE_REFERENCED_IN_MULTIPLE_OPS

A media file may only be modified once per call.

FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE

Field is not supported for the media sub type.

INVALID_MEDIA_FILE_ID

The media file ID is invalid.

INVALID_MEDIA_SUB_TYPE

The media subtype is invalid.

INVALID_MEDIA_FILE_TYPE

The media file type is invalid.