type VerticalTargeting (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Vertical targeting information.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
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\u003eVerticalTargeting allows publishers to target or exclude specific verticals or industry categories for their ad inventory.\u003c/p\u003e\n"],["\u003cp\u003eIt utilizes two main fields: \u003ccode\u003etargetedVerticalIds\u003c/code\u003e to specify desired verticals and \u003ccode\u003eexcludedVerticalIds\u003c/code\u003e to block unwanted ones.\u003c/p\u003e\n"],["\u003cp\u003eBoth fields accept arrays of long integers representing unique vertical identifiers.\u003c/p\u003e\n"],["\u003cp\u003eThis targeting option can enhance ad relevance and improve campaign performance by aligning ads with relevant audiences.\u003c/p\u003e\n"],["\u003cp\u003eVerticalTargeting is part of the Google Ad Manager API and resides under the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e.\u003c/p\u003e\n"]]],["The content outlines `VerticalTargeting` within the Google Ad Manager API (v202408). This feature is linked to multiple services, including `AdRuleService`, `AdjustmentService`, `ForecastService`, and others. `VerticalTargeting` allows for specifying targeted and excluded verticals using IDs. The `targetedVerticalIds` and `excludedVerticalIds` fields, both arrays of long integers, are used to define these criteria. The namespace for this is `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# type VerticalTargeting (v202408)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202408/AdRuleService.VerticalTargeting) [AdjustmentService](/ad-manager/api/reference/v202408/AdjustmentService.VerticalTargeting) [ForecastService](/ad-manager/api/reference/v202408/ForecastService.VerticalTargeting) [LineItemService](/ad-manager/api/reference/v202408/LineItemService.VerticalTargeting) [NativeStyleService](/ad-manager/api/reference/v202408/NativeStyleService.VerticalTargeting) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.VerticalTargeting) **ProposalService** [PublisherQueryLanguageService](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.VerticalTargeting) [TargetingPresetService](/ad-manager/api/reference/v202408/TargetingPresetService.VerticalTargeting) [YieldGroupService](/ad-manager/api/reference/v202408/YieldGroupService.VerticalTargeting) **Dependencies** \n[Targeting](/ad-manager/api/reference/v202408/ProposalService.Targeting) \n▼\n**VerticalTargeting**\n\nVertical targeting information.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|---------------------------|------------------------|\n| ### `targetedVerticalIds` | ` `xsd:`long[]` \u003cbr /\u003e |\n| ### `excludedVerticalIds` | ` `xsd:`long[]` \u003cbr /\u003e |"]]