type VerticalTargeting (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
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."],[[["\u003cp\u003eThe \u003ccode\u003eVerticalTargeting\u003c/code\u003e object allows for the specification of included and excluded vertical IDs for targeting purposes.\u003c/p\u003e\n"],["\u003cp\u003eThis targeting mechanism is used within various Google Ad Manager services, such as \u003ccode\u003eAdRuleService\u003c/code\u003e, \u003ccode\u003eProposalService\u003c/code\u003e, and \u003ccode\u003eYieldGroupService\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eVerticalTargeting\u003c/code\u003e utilizes two fields: \u003ccode\u003etargetedVerticalIds\u003c/code\u003e for inclusion and \u003ccode\u003eexcludedVerticalIds\u003c/code\u003e for exclusion of verticals, both accepting arrays of long integers.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this object is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e, indicating its version and API context.\u003c/p\u003e\n"]]],[],null,["# type VerticalTargeting (v202411)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202411/AdRuleService.VerticalTargeting) [AdjustmentService](/ad-manager/api/reference/v202411/AdjustmentService.VerticalTargeting) [ForecastService](/ad-manager/api/reference/v202411/ForecastService.VerticalTargeting) [LineItemService](/ad-manager/api/reference/v202411/LineItemService.VerticalTargeting) [NativeStyleService](/ad-manager/api/reference/v202411/NativeStyleService.VerticalTargeting) [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.VerticalTargeting) [ProposalService](/ad-manager/api/reference/v202411/ProposalService.VerticalTargeting) [PublisherQueryLanguageService](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.VerticalTargeting) [TargetingPresetService](/ad-manager/api/reference/v202411/TargetingPresetService.VerticalTargeting) **YieldGroupService** **Dependencies** \n[Targeting](/ad-manager/api/reference/v202411/YieldGroupService.Targeting) \n▼\n**VerticalTargeting**\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|---------------------------|------------------------|\n| ### `targetedVerticalIds` | ` `xsd:`long[]` \u003cbr /\u003e |\n| ### `excludedVerticalIds` | ` `xsd:`long[]` \u003cbr /\u003e |"]]