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 publishers to target or exclude ad delivery based on content labels.\u003c/p\u003e\n"],["\u003cp\u003eThis targeting utilizes content label IDs to either include or exclude inventory.\u003c/p\u003e\n"],["\u003cp\u003eContentLabelTargeting is available through various services like AdRuleService, ForecastService, LineItemService, and others, affecting ad delivery or proposal setups.\u003c/p\u003e\n"],["\u003cp\u003eIt is a component within the broader Targeting structure of the AdRuleService.\u003c/p\u003e\n"],["\u003cp\u003eContentLabelTargeting falls under the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e and uses \u003ccode\u003eexcludedContentLabelIds\u003c/code\u003e field of type \u003ccode\u003exsd:long[]\u003c/code\u003e to manage excluded content labels.\u003c/p\u003e\n"]]],["The core content describes `ContentLabelTargeting`, which is part of the `AdRuleService` and relies on `Targeting`. It lists various services like `AdjustmentService`, `ForecastService`, `LineItemService`, and others. `ContentLabelTargeting` is defined within the namespace `https://www.google.com/apis/ads/publisher/v202411`, with a field called `excludedContentLabelIds`, an array of long integers. It is used to define content label targeting information.\n"],null,["# type ContentLabelTargeting (v202411)\n\n**Service** \n**AdRuleService** [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](/ad-manager/api/reference/v202411/NativeStyleService.ContentLabelTargeting) [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/AdRuleService.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 |"]]