type ContentLabelTargeting (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Content label targeting information.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field
|
excludedContentLabelIds
|
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\u003eContentLabelTargeting allows for specifying included or excluded content labels for ad targeting.\u003c/p\u003e\n"],["\u003cp\u003eThis feature is available across multiple services within Google Ad Manager, including AdRuleService, AdjustmentService, and more.\u003c/p\u003e\n"],["\u003cp\u003eContentLabelTargeting utilizes ContentLabelIds, represented as long integers, for identifying specific labels.\u003c/p\u003e\n"],["\u003cp\u003eYou can define both positive (included) and negative (excluded) targeting based on content labels, providing granular control over ad delivery.\u003c/p\u003e\n"],["\u003cp\u003eContentLabelTargeting is a crucial aspect of the Targeting object within the NativeStyleService, enhancing ad relevance and performance.\u003c/p\u003e\n"]]],["The provided content details services and their dependencies within a specific API namespace (`https://www.google.com/apis/ads/publisher/v202411`). Services include AdRuleService, AdjustmentService, ForecastService, LineItemService, NativeStyleService, and others. The primary dependency highlighted is \"Targeting,\" leading to the \"ContentLabelTargeting\" section. This section specifies that content label targeting data includes a field named `excludedContentLabelIds`, represented as an array of long integers.\n"],null,["# type ContentLabelTargeting (v202411)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202411/AdRuleService.ContentLabelTargeting) [AdjustmentService](/ad-manager/api/reference/v202411/AdjustmentService.ContentLabelTargeting) [ForecastService](/ad-manager/api/reference/v202411/ForecastService.ContentLabelTargeting) [LineItemService](/ad-manager/api/reference/v202411/LineItemService.ContentLabelTargeting) **NativeStyleService** [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.ContentLabelTargeting) [ProposalService](/ad-manager/api/reference/v202411/ProposalService.ContentLabelTargeting) [PublisherQueryLanguageService](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.ContentLabelTargeting) [TargetingPresetService](/ad-manager/api/reference/v202411/TargetingPresetService.ContentLabelTargeting) [YieldGroupService](/ad-manager/api/reference/v202411/YieldGroupService.ContentLabelTargeting) **Dependencies** \n[Targeting](/ad-manager/api/reference/v202411/NativeStyleService.Targeting) \n▼\n**ContentLabelTargeting**\n\nContent label targeting information.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|-------------------------------|------------------------|\n| ### `excludedContentLabelIds` | ` `xsd:`long[]` \u003cbr /\u003e |"]]