MediaUploadError

Enum describing possible media uploading errors.

Enums

UNSPECIFIED

Enum unspecified.

UNKNOWN

The received error code is not known in this version.

FILE_TOO_BIG

The uploaded file is too big.

UNPARSEABLE_IMAGE

Image data is unparseable.

ANIMATED_IMAGE_NOT_ALLOWED

Animated images are not allowed.

FORMAT_NOT_ALLOWED

The image or media bundle format is not allowed.

EXTERNAL_URL_NOT_ALLOWED

Cannot reference URL external to the media bundle.

INVALID_URL_REFERENCE

HTML5 ad is trying to reference an asset not in .ZIP file.

MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY

The media bundle contains no primary entry.

ANIMATED_VISUAL_EFFECT

Animation has disallowed visual effects.

ANIMATION_TOO_LONG

Animation longer than the allowed 30 second limit.

ASPECT_RATIO_NOT_ALLOWED

The aspect ratio of the image does not match the expected aspect ratios provided in the asset spec.

AUDIO_NOT_ALLOWED_IN_MEDIA_BUNDLE

Audio files are not allowed in bundle.

CMYK_JPEG_NOT_ALLOWED

CMYK jpegs are not supported.

FLASH_NOT_ALLOWED

Flash movies are not allowed.

FRAME_RATE_TOO_HIGH

The frame rate of the video is higher than the allowed 5fps.

GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED

ZIP file from Google Web Designer is not published.

IMAGE_CONSTRAINTS_VIOLATED

Image constraints are violated, but more details (like DIMENSIONS_NOT_ALLOWED or ASPECT_RATIO_NOT_ALLOWED) can not be provided. This happens when asset spec contains more than one constraint and criteria of different constraints are violated.

INVALID_MEDIA_BUNDLE

Media bundle data is unrecognizable.

INVALID_MEDIA_BUNDLE_ENTRY

There was a problem with one or more of the media bundle entries.

INVALID_MIME_TYPE

The asset has an invalid mime type.

INVALID_PATH

The media bundle contains an invalid asset path.

LAYOUT_PROBLEM

Image has layout problem.

MALFORMED_URL

An asset had a URL reference that is malformed per RFC 1738 convention.

MEDIA_BUNDLE_NOT_ALLOWED

The uploaded media bundle format is not allowed.

MEDIA_BUNDLE_NOT_COMPATIBLE_TO_PRODUCT_TYPE

The media bundle is not compatible with the asset spec product type. (For example, Gmail, dynamic remarketing, etc.)

MEDIA_BUNDLE_REJECTED_BY_MULTIPLE_ASSET_SPECS

A bundle being uploaded that is incompatible with multiple assets for different reasons.

TOO_MANY_FILES_IN_MEDIA_BUNDLE

The media bundle contains too many files.

UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT

Google Web Designer not created for "Google Ads" environment.

UNSUPPORTED_HTML5_FEATURE

Unsupported HTML5 feature in HTML5 asset.

URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT

URL in HTML5 entry is not SSL compliant.

VIDEO_FILE_NAME_TOO_LONG

Video file name is longer than the 50 allowed characters.

VIDEO_MULTIPLE_FILES_WITH_SAME_NAME

Multiple videos with same name in a bundle.

VIDEO_NOT_ALLOWED_IN_MEDIA_BUNDLE

Videos are not allowed in media bundle.

CANNOT_UPLOAD_MEDIA_TYPE_THROUGH_API

This type of media cannot be uploaded through the Google Ads API.

DIMENSIONS_NOT_ALLOWED

The dimensions of the image are not allowed.