type ImageError (v202502)
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
      
         
         
         
         Lists all errors associated with images.
         
         
            - Namespace
- 
               https://www.google.com/apis/ads/publisher/v202502
               
                  
                     | Field | 
               
               
                  
                     | ApiError(inherited) | 
                  
                     | 
                           fieldPath | 
                           
                              xsd:string The OGNL field path to identify cause of error.
 | 
                  
                     | 
                           fieldPathElements | 
                           
                              FieldPathElement[] A parsed copy of the field path. For example, the field path "operations[1].operand"
                corresponds to this list: {FieldPathElement(field = "operations", index = 1),
                FieldPathElement(field = "operand", index = null)}.
 | 
                  
                     | 
                           trigger | 
                           
                              xsd:string The data that caused the error.
 | 
                  
                     | 
                           errorString | 
                           
                              xsd:string A simple string representation of the error and reason.
 | 
                  
                     | ImageError | 
                  
                     | 
                           reason | 
                           
                              ImageError.Reason
                            The error reason represented by an enum.
 Enumerations
 
                              
                                 INVALID_IMAGEThe file's format is invalid.
                                 INVALID_SIZE
                                 Size.width and Size.height cannot be negative.
                                 UNEXPECTED_SIZEThe actual image size does not match the expected image size.
                                 OVERLAY_SIZE_TOO_LARGEThe size of the asset is larger than that of the overlay creative.
                                 ANIMATED_NOT_ALLOWEDAnimated images are not allowed.
                                 ANIMATION_TOO_LONGAnimation length exceeded the allowed policy limit.
                                 CMYK_JPEG_NOT_ALLOWEDImages in CMYK color formats are not allowed.
                                 FLASH_NOT_ALLOWEDFlash files are not allowed.
                                 FLASH_WITHOUT_CLICKTAGIf FlashCreative.clickTagRequiredistrue, then the flash
                file is required to have a click tag embedded in it.
                                 ANIMATED_VISUAL_EFFECTAnimated visual effect is not allowed.
                                 FLASH_ERRORAn error was encountered in the flash file.
                                 LAYOUT_PROBLEMIncorrect image layout.
                                 FLASH_HAS_NETWORK_OBJECTSFlash files with network objects are not allowed.
                                 FLASH_HAS_NETWORK_METHODSFlash files with network methods are not allowed.
                                 FLASH_HAS_URLFlash files with hard-coded click thru URLs are not allowed.
                                 FLASH_HAS_MOUSE_TRACKINGFlash files with mouse tracking are not allowed.
                                 FLASH_HAS_RANDOM_NUMFlash files that generate or use random numbers are not allowed.
                                 FLASH_SELF_TARGETSFlash files with self targets are not allowed.
                                 FLASH_BAD_GETURL_TARGETFlash file contains a bad geturl target.
                                 FLASH_VERSION_NOT_SUPPORTEDFlash or ActionScript version in the submitted file is not supported.
                                 FILE_TOO_LARGEThe uploaded file is too large.
                                 SYSTEM_ERROR_IRSA system error occurred, please try again.
                                 SYSTEM_ERROR_SCSA system error occurred, please try again.
                                 UNEXPECTED_PRIMARY_ASSET_DENSITYThe image density for a primary asset was not one of the expected image densities.
                                 DUPLICATE_ASSET_DENSITYTwo or more assets have the same image density.
                                 MISSING_DEFAULT_ASSETThe creative does not contain a primary asset. (For high-density creatives, the primary
                asset must be a standard image file with 1x density.)
                                 PREVERIFIED_MIMETYPE_NOT_ALLOWEDpreverified_mime_type is not in the client spec's allowlist.
                                 UNKNOWNThe value returned if the actual value is not exposed by the requested API version.
 | 
               
            
         
       
   
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-08-06 UTC.
  
  
  
    
      [null,null,["Last updated 2025-08-06 UTC."],[],["The document details various services and associated errors within an ad management system, focusing on `ImageError`. Services include CreativeService, CreativeSetService, and LineItemTemplateService. `ImageError` encompasses issues like `INVALID_IMAGE`, `INVALID_SIZE`, `ANIMATED_NOT_ALLOWED`, `FLASH_NOT_ALLOWED`, and `FILE_TOO_LARGE`.  It also covers specific Flash-related problems and system errors.  The `ApiError` is inherited by other error types, offering details like `fieldPath`, `trigger`, and `errorString` to identify the root of the problem.\n"]]