type AlternativeUnitTypeForecast (v202502)
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
      
         
         
         
         
A view of the forecast in terms of an alternative unit type.
         For example, a forecast for an impressions goal may include this
to express the matched, available, and possible viewable
impressions.
         
         
            - Namespace
 
            - 
               
https://www.google.com/apis/ads/publisher/v202502
             
         
         
            
               
                  
                     
                        Field
                      | 
                  
               
               
                  
                     
                        
                           unitType
                        
                      | 
                     
                         
                           
                              UnitType
                           
                         
                        The alternative unit type being presented.
  
                           Enumerations
                           
                              - 
                                 
IMPRESSIONS
                               
                              - The number of impressions served by creatives associated with the line
                item. Line items of all LineItemType support this 
UnitType.
 
                              - 
                                 
CLICKS
                               
                              - The number of clicks reported by creatives associated with the line item.
                The LineItem.lineItemType must be
                LineItemType.STANDARD, LineItemType.BULK or
                LineItemType.PRICE_PRIORITY.
 
                              - 
                                 
CLICK_THROUGH_CPA_CONVERSIONS
                               
                              - The number of click-through Cost-Per-Action (CPA) conversions from creatives
                associated with the line item. This is only supported as secondary goal and the
                LineItem.costType must be CostType.CPA.
 
                              - 
                                 
VIEW_THROUGH_CPA_CONVERSIONS
                               
                              - The number of view-through Cost-Per-Action (CPA) conversions from creatives
                associated with the line item. This is only supported as secondary goal and the
                LineItem.costType must be CostType.CPA.
 
                              - 
                                 
TOTAL_CPA_CONVERSIONS
                               
                              - The number of total Cost-Per-Action (CPA) conversions from creatives
                associated with the line item. This is only supported as secondary goal and the
                LineItem.costType must be CostType.CPA.
 
                              - 
                                 
VIEWABLE_IMPRESSIONS
                               
                              - The number of viewable impressions reported by creatives associated with the line item.
                The LineItem.lineItemType must be LineItemType.STANDARD.
 
                              - 
                                 
IN_TARGET_IMPRESSIONS
                               
                              - The number of in-target impressions reported by third party measurements.
                The LineItem.lineItemType must be LineItemType.STANDARD.
 
                              - 
                                 
UNKNOWN
                               
                              - The value returned if the actual value is not exposed by the requested API version.
 
                            
                        
                      | 
                  
                  
                     
                        
                           matchedUnits
                        
                      | 
                     
                         
                           
                              xsd:long
                         
                        The number of units, defined by unitType, that match the
                specified targeting and delivery settings.
 
                      | 
                  
                  
                     
                        
                           availableUnits
                        
                      | 
                     
                         
                           
                              xsd:long
                         
                        The number of units, defined by unitType, that can be
                booked without affecting the delivery of any reserved line items. Exceeding
                this value will not cause an overbook, but lower-priority line items may
                not run.
 
                      | 
                  
                  
                     
                        
                           possibleUnits
                        
                      | 
                     
                         
                           
                              xsd:long
                         
                        The maximum number of units, defined by unitType, that
                could be booked by taking inventory away from lower-priority line items.
 
                      | 
                  
               
            
         
       
   
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  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 `AlternativeUnitTypeForecast` provides a forecast view based on alternative unit types within the `ForecastService`. This forecast includes `unitType`, such as impressions, clicks, or various CPA conversions. It details `matchedUnits`, the count of units aligning with targeting; `availableUnits`, the number bookable without impacting reserved items; and `possibleUnits`, the maximum bookable by reallocating lower-priority inventory. Specific `unitType` options include impressions, clicks, click/view-through/total CPA conversions, viewable impressions, and in-target impressions.\n"]]