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 details the `VerticalTargeting` feature within an ad management system, accessible through various services like `AdRuleService`, `ForecastService`, and `NativeStyleService`. It allows for targeting and excluding specific vertical categories. The `targetedVerticalIds` field specifies which categories to target, and `excludedVerticalIds` lists those to be excluded. These fields utilize long integer array. This information can be utilized in several services, with `NativeStyleService` using a dependency named `Targeting`.\n"],null,["# type VerticalTargeting (v202502)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202502/AdRuleService.VerticalTargeting) [AdjustmentService](/ad-manager/api/reference/v202502/AdjustmentService.VerticalTargeting) [ForecastService](/ad-manager/api/reference/v202502/ForecastService.VerticalTargeting) [LineItemService](/ad-manager/api/reference/v202502/LineItemService.VerticalTargeting) **NativeStyleService** [ProposalLineItemService](/ad-manager/api/reference/v202502/ProposalLineItemService.VerticalTargeting) [ProposalService](/ad-manager/api/reference/v202502/ProposalService.VerticalTargeting) [PublisherQueryLanguageService](/ad-manager/api/reference/v202502/PublisherQueryLanguageService.VerticalTargeting) [TargetingPresetService](/ad-manager/api/reference/v202502/TargetingPresetService.VerticalTargeting) [YieldGroupService](/ad-manager/api/reference/v202502/YieldGroupService.VerticalTargeting) **Dependencies** \n[Targeting](/ad-manager/api/reference/v202502/NativeStyleService.Targeting) \n▼\n**VerticalTargeting**\n\nVertical targeting information.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Field ----- ||\n|---------------------------|------------------------|\n| ### `targetedVerticalIds` | ` `xsd:`long[]` \u003cbr /\u003e |\n| ### `excludedVerticalIds` | ` `xsd:`long[]` \u003cbr /\u003e |"]]