type CreativeError (v202502)
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
      
         
         
         
         Lists all errors associated with creatives.
         
         
            - 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.
 | 
                  
                     | CreativeError | 
                  
                     | 
                           reason | 
                           
                              CreativeError.Reason
                            The error reason represented by an enum.
 Enumerations
 
                              
                                 FLASH_AND_FALLBACK_URL_ARE_SAME
                                 FlashRedirectCreative.flashUrlandFlashRedirectCreative.fallbackUrlare the same. The fallback URL
                is used when the flash URL does not work and must be different from it.
                                 DESTINATION_URL_NOT_EMPTY
                                 HasDestinationUrlCreative.destinationUrl must be empty when its type is
                DestinationUrlType.NONE.
                                 DESTINATION_URL_TYPE_NOT_SUPPORTEDThe provided DestinationUrlType is not supported for the creative type it is
                being used on.
                                 CANNOT_CREATE_OR_UPDATE_LEGACY_DFP_CREATIVECannot create or update legacy DART For Publishers creative.
                                 CANNOT_CREATE_OR_UPDATE_LEGACY_DFP_MOBILE_CREATIVECannot create or update legacy mobile creative.
                                 INVALID_COMPANY_TYPECompany type should be one of Advertisers, House Advertisers and
                Ad Networks.
                                 INVALID_ADSENSE_CREATIVE_SIZEInvalid size for AdSense dynamic allocation creative.
                Only valid AFC sizes are allowed.
                                 INVALID_AD_EXCHANGE_CREATIVE_SIZEInvalid size for Ad Exchange dynamic allocation creative.
                Only valid Ad Exchange sizes are allowed.
                                 DUPLICATE_ASSET_IN_CREATIVEAssets associated with the same creative must be unique.
                                 CREATIVE_ASSET_CANNOT_HAVE_ID_AND_BYTE_ARRAYA creative asset cannot contain an asset ID and a byte array.
                                 CANNOT_CREATE_OR_UPDATE_UNSUPPORTED_CREATIVECannot create or update unsupported creative.
                                 CANNOT_CREATE_PROGRAMMATIC_CREATIVESCannot create programmatic creatives.
                                 INVALID_SIZE_FOR_THIRD_PARTY_IMPRESSION_TRACKERA creative must have valid size to use the third-party impression tracker.
                                 CANNOT_DEACTIVATE_CREATIVES_IN_CREATIVE_SETSIneligible creatives can not be deactivated.
                                 HOSTED_VIDEO_CREATIVE_REQUIRES_VIDEO_ASSETAd Manager hosted video creatives must contain a video asset.
                                 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 content outlines various service errors and their specific reasons within the Ad Manager API, version v202502. It details errors related to `CreativeService`, `CreativeSetService`, and others, including `PublisherQueryLanguageService`.  The `CreativeError` section lists reasons like invalid sizes for AdSense or Ad Exchange creatives, duplicate or unsupported assets, and issues with destination URLs. The `ApiError` provides general error details, including the field path, trigger, and a string representation of the error.\n"]]