type ProposalLineItemProgrammaticError (v202502)
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
      
         
         
         
         Errors associated with programmatic proposal line items.
         
         
            - 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.
 | 
                  
                     | ProposalLineItemProgrammaticError | 
                  
                     | 
                           reason | 
                           
                              ProposalLineItemProgrammati...
                            The error reason represented by an enum.
 Enumerations
 
                              
                                 INVALID_PRODUCT_TYPEProgrammatic proposal line items only support
                ProductType.DFP.
                                 VIDEO_NOT_SUPPORTED
                                 EnvironmentType.VIDEO_PLAYER is currently not supported.
                                 ROADBLOCKING_NOT_SUPPORTEDProgrammatic proposal line items do not support
                RoadblockingType.CREATIVE_SET.
                                 INVALID_CREATIVE_ROTATIONProgrammatic proposal line items do not support
                CreativeRotationType.SEQUENTIAL.
                                 INVALID_PROPOSAL_LINE_ITEM_TYPEProgrammatic proposal line items only support
                LineItemType.STANDARD.
                                 INVALID_RATE_TYPEProgrammatic proposal line items only support RateType.CPM.
                                 ZERO_COST_PER_UNIT_NOT_SUPPORTEDProgrammatic proposal line items do not support zero for
                ProposalLineItem.netRate.
                                 INVALID_PROGRAMMATIC_CREATIVE_SOURCEOnly programmatic proposal line items support
                ProgrammaticCreativeSource.
                                 INVALID_MAX_VIDEO_CREATIVE_DURATIONProgrammatic proposal line item has invalid video creative
                duration.
                                 CANNOT_UPDATE_PROGRAMMATIC_CREATIVE_SOURCECannot update programmatic creative source if the proposal line item
                has been sent to the buyer.
                                 INVALID_NUM_UNITSThe Goal.units value is invalid.
                                 MIX_GUARANTEED_AND_PREFERRED_DEAL_NOT_ALLOWEDCannot mix guaranteed and Preferred Deal proposal line items in a programmatic proposal.
                                 MIX_NATIVE_AND_BANNER_SIZE_NOT_ALLOWEDCannot mix native and banner size in a programmatic proposal line item.
                                 CANNOT_UPDATE_SIZESCannot update sizes when a programmatic proposal line item with publisher creative source is
                sent to a buyer.
                                 INVALID_SPONSORSHIP_CONTRACTED_UNITS_BOUGHTThe {ProposalLineItem#contractedUnitsBought} cannot be nullor zero for programmatic
                RateType.CPD
                                 proposal line items.
                                 INVALID_PROGRAMMATIC_PRICING_MODELOnly PricingModel.NETis supported for programmatic
                proposal line items.
                                 BUYER_DISABLED_FOR_PG_VIOLATING_SLABuyer is currently disabled for guaranteed deals due to violation of
                Programmatic Guaranteed service level agreement.
                                 PG_NOT_SUPPORTED_FOR_AGENCY_BUYERDeals with agencies are limited to preferred deals, private auctions, and public
                marketplace packages.
                                 BUYER_NOT_FOUNDBuyer not found.
                                 INVALID_ENVIRONMENT_PLATFORM_TYPE_PAIRCannot create/update proposal line items with an invalid
                environment and request platform pair.
                                 CANNOT_MIX_AUDIO_VIDEO_PROGRAMMATIC_LINE_ITEMA proposal line item must either be of video, or audio type, but not
                both.
                                 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 core content outlines error handling for programmatic proposal line items within a service. It details the `ProposalLineItemProgrammaticError` and its associated `Reason` enum. This error type covers issues such as invalid product types, unsupported video environments, incorrect creative rotations, and incompatible rate types. It also flags errors related to zero costs, creative sources, deal types, sizing, contracted units, pricing models, buyer issues, and mixing audio and video on the same proposal line item. Other `ApiError` inheritance errors are also listed.\n"]]