type VerticalTargeting (v202502)
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
      
         
         
         
         Vertical targeting information.
         
         
            - Namespace
- 
               https://www.google.com/apis/ads/publisher/v202502
               
                  
                     | Field | 
               
               
                  
                     | 
                           targetedVerticalIds | 
                           
                              xsd:long[] | 
                  
                     | 
                           excludedVerticalIds | 
                           
                              xsd:long[] | 
               
            
         
       
   
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  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 defines `VerticalTargeting` within the `v202502` namespace. Key actions involve utilizing `VerticalTargeting` across various services like `AdRuleService`, `ForecastService`, and others for managing ad targeting.  `TargetingPresetService` is central, using `Targeting` as a dependency. `VerticalTargeting` includes two fields for configuration: `targetedVerticalIds` and `excludedVerticalIds`, both defined as arrays of long integers. These IDs determine which verticals are included or excluded in ad targeting.\n"]]