type ReservationDetailsError (v202502)
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
      
         
         
         
         Lists all errors associated with LineItem's reservation details.
         
         
            - 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.
 | 
                  
                     | ReservationDetailsError | 
                  
                     | 
                           reason | 
                           
                              ReservationDetailsError.Reason
                            The error reason represented by an enum.
 Enumerations
 
                              
                                 UNLIMITED_UNITS_BOUGHT_NOT_ALLOWEDThere is no limit on the number of ads delivered for a line item when you
                set LineItem.duration to be
                LineItemSummary.Duration.NONE. This can only be set for line
                items of type LineItemType.PRICE_PRIORITY.
                                 UNLIMITED_END_DATE_TIME_NOT_ALLOWED
                                 LineItem.unlimitedEndDateTime can be set to true for only
                line items of type LineItemType.SPONSORSHIP,
                LineItemType.NETWORK, LineItemType.PRICE_PRIORITY and
                LineItemType.HOUSE.
                                 PERCENTAGE_UNITS_BOUGHT_TOO_HIGHWhen LineItem.lineItemType is
                LineItemType.SPONSORSHIP, then
                LineItem.unitsBought represents the percentage of
                available impressions reserved. That value cannot exceed 100.
                                 DURATION_NOT_ALLOWEDThe line item type does not support the specified duration. See
                LineItemSummary.Durationfor allowed values.
                                 UNIT_TYPE_NOT_ALLOWEDThe LineItem.unitType is not allowed for the given
                LineItem.lineItemType. See UnitType for allowed
                values.
                                 COST_TYPE_NOT_ALLOWEDThe LineItem.costType is not allowed for the
                LineItem.lineItemType. See CostType for allowed
                values.
                                 COST_TYPE_UNIT_TYPE_MISMATCH_NOT_ALLOWEDWhen LineItem.costType is CostType.CPM,
                LineItem.unitType must be UnitType.IMPRESSIONS
                and when LineItem.costType is CostType.CPC,
                LineItem.unitType must be UnitType.CLICKS.
                                 LINE_ITEM_TYPE_NOT_ALLOWEDInventory cannot be reserved for line items which are not of type
                LineItemType.SPONSORSHIP or LineItemType.STANDARD.
                                 NETWORK_REMNANT_ORDER_CANNOT_UPDATE_LINEITEM_TYPENetwork remnant line items cannot be changed to other line item types once delivery begins.
                This restriction does not apply to any new line items created in Ad Manager.
                                 BACKFILL_WEBPROPERTY_CODE_NOT_ALLOWEDA dynamic allocation web property can only be set on a line item of type
                AdSense or Ad Exchange.
                                 CPA_DEPRECATEDCPA LineItems can't have end dates older than February 22, 2024.
                                 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 provided content outlines errors related to reservation details within ad management services. It focuses on `ReservationDetailsError`, listing specific reasons for these errors, including incorrect unit types, cost types, or durations for line items. Errors are also associated with `ApiError` and its inherited fields, like `fieldPath`, `trigger`, and `errorString`, used to pinpoint the cause of the error. It details restrictions for different line item types and their interactions with unit, cost, and duration settings, as well as when certain actions are not allowed.\n"]]