type ContentLabelTargeting (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
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 inventory based on assigned content labels.\u003c/p\u003e\n"],["\u003cp\u003eIt utilizes \u003ccode\u003eexcludedContentLabelIds\u003c/code\u003e to define specific content labels for exclusion.\u003c/p\u003e\n"],["\u003cp\u003eThis targeting feature is available across various services including AdRuleService, AdjustmentService, ForecastService, LineItemService, NativeStyleService, ProposalLineItemService, ProposalService, PublisherQueryLanguageService, TargetingPresetService and YieldGroupService.\u003c/p\u003e\n"],["\u003cp\u003eContentLabelTargeting falls under the Targeting dependency within the YieldGroupService.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for ContentLabelTargeting is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e.\u003c/p\u003e\n"]]],["The document outlines services within a platform, detailing their interactions and specific targeting capabilities. Key services include AdRuleService, AdjustmentService, ForecastService, LineItemService, NativeStyleService, ProposalLineItemService, ProposalService, PublisherQueryLanguageService, TargetingPresetService, and YieldGroupService. YieldGroupService relies on Targeting, which further uses `ContentLabelTargeting`. This targeting allows for specifying `excludedContentLabelIds` within the namespace `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# type ContentLabelTargeting (v202408)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202408/AdRuleService.ContentLabelTargeting) [AdjustmentService](/ad-manager/api/reference/v202408/AdjustmentService.ContentLabelTargeting) [ForecastService](/ad-manager/api/reference/v202408/ForecastService.ContentLabelTargeting) [LineItemService](/ad-manager/api/reference/v202408/LineItemService.ContentLabelTargeting) [NativeStyleService](/ad-manager/api/reference/v202408/NativeStyleService.ContentLabelTargeting) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.ContentLabelTargeting) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.ContentLabelTargeting) [PublisherQueryLanguageService](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.ContentLabelTargeting) [TargetingPresetService](/ad-manager/api/reference/v202408/TargetingPresetService.ContentLabelTargeting) **YieldGroupService** **Dependencies** \n[Targeting](/ad-manager/api/reference/v202408/YieldGroupService.Targeting) \n▼\n**ContentLabelTargeting**\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|-------------------------------|------------------------|\n| ### `excludedContentLabelIds` | ` `xsd:`long[]` \u003cbr /\u003e |"]]