AI-generated Key Takeaways
- 
          
This document describes an enum that lists possible errors encountered when uploading media.
 - 
          
The errors cover various issues including file size, format, content type, and structural problems with media bundles.
 - 
          
Specific errors address problems with image characteristics like animation, aspect ratio, and dimensions.
 - 
          
Errors related to media bundles include issues with external references, invalid paths, and unsupported features.
 - 
          
The enum also includes generic and unknown error types.
 
Enum describing possible media uploading errors.
| Enums | |
|---|---|
 | 
                Enum unspecified. | 
 | 
                The received error code is not known in this version. | 
 | 
                The uploaded file is too big. | 
 | 
                Image data is unparseable. | 
 | 
                Animated images are not allowed. | 
 | 
                The image or media bundle format is not allowed. | 
 | 
                Cannot reference URL external to the media bundle. | 
 | 
                HTML5 ad is trying to reference an asset not in .ZIP file. | 
 | 
                The media bundle contains no primary entry. | 
 | 
                Animation has disallowed visual effects. | 
 | 
                Animation longer than the allowed 30 second limit. | 
 | 
                The aspect ratio of the image does not match the expected aspect ratios provided in the asset spec. | 
 | 
                Audio files are not allowed in bundle. | 
 | 
                CMYK jpegs are not supported. | 
 | 
                Flash movies are not allowed. | 
 | 
                The frame rate of the video is higher than the allowed 5fps. | 
 | 
                ZIP file from Google Web Designer is not published. | 
 | 
                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. | 
 | 
                Media bundle data is unrecognizable. | 
 | 
                There was a problem with one or more of the media bundle entries. | 
 | 
                The asset has an invalid mime type. | 
 | 
                The media bundle contains an invalid asset path. | 
 | 
                Image has layout problem. | 
 | 
                An asset had a URL reference that is malformed per RFC 1738 convention. | 
 | 
                The uploaded media bundle format is not allowed. | 
 | 
                The media bundle is not compatible with the asset spec product type. (For example, Gmail, dynamic remarketing, etc.) | 
 | 
                A bundle being uploaded that is incompatible with multiple assets for different reasons. | 
 | 
                The media bundle contains too many files. | 
 | 
                Google Web Designer not created for "Google Ads" environment. | 
 | 
                Unsupported HTML5 feature in HTML5 asset. | 
 | 
                URL in HTML5 entry is not SSL compliant. | 
 | 
                Video file name is longer than the 50 allowed characters. | 
 | 
                Multiple videos with same name in a bundle. | 
 | 
                Videos are not allowed in media bundle. | 
 | 
                This type of media cannot be uploaded through the Google Ads API. | 
 | 
                The dimensions of the image are not allowed. |