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"],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](/ad-manager/api/reference/v202502/NativeStyleService.VerticalTargeting) [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** [YieldGroupService](/ad-manager/api/reference/v202502/YieldGroupService.VerticalTargeting) **Dependencies** \n[Targeting](/ad-manager/api/reference/v202502/TargetingPresetService.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 |"]]