[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],["The `ContentTargeting` feature allows targeting `LineItem`s to specific videos on a publisher's site. It uses IDs to include (`targetedContentIds`) or exclude (`excludedContentIds`) specific content. Video content bundles can also be targeted or excluded using their IDs (`targetedVideoContentBundleIds`, `excludedVideoContentBundleIds`). This functionality is accessible through various services including `AdRuleService`, `LineItemService`, and `YieldGroupService`. The service is located in the `https://www.google.com/apis/ads/publisher/v202502` namespace.\n"],null,["# type ContentTargeting (v202502)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202502/AdRuleService.ContentTargeting) [AdjustmentService](/ad-manager/api/reference/v202502/AdjustmentService.ContentTargeting) [ForecastService](/ad-manager/api/reference/v202502/ForecastService.ContentTargeting) [LineItemService](/ad-manager/api/reference/v202502/LineItemService.ContentTargeting) **NativeStyleService** [ProposalLineItemService](/ad-manager/api/reference/v202502/ProposalLineItemService.ContentTargeting) [ProposalService](/ad-manager/api/reference/v202502/ProposalService.ContentTargeting) [PublisherQueryLanguageService](/ad-manager/api/reference/v202502/PublisherQueryLanguageService.ContentTargeting) [TargetingPresetService](/ad-manager/api/reference/v202502/TargetingPresetService.ContentTargeting) [YieldGroupService](/ad-manager/api/reference/v202502/YieldGroupService.ContentTargeting) **Dependencies** \n[Targeting](/ad-manager/api/reference/v202502/NativeStyleService.Targeting) \n▼\n**ContentTargeting**\n\nUsed to target [LineItem](/ad-manager/api/reference/v202502/ForecastService.LineItem)s to specific videos on a publisher's site.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Field ----- ||\n|-------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `targetedContentIds` | ` `xsd:`long[]` The IDs of content being targeted by the `LineItem`. |\n| ### `excludedContentIds` | ` `xsd:`long[]` The IDs of content being excluded by the `LineItem`. |\n| ### `targetedVideoContentBundleIds` | ` `xsd:`long[]` A list of video content bundles, represented by [ContentBundle](/ad-manager/api/reference/v202502/ContentBundleService.ContentBundle) IDs, that are being targeted by the `LineItem`. |\n| ### `excludedVideoContentBundleIds` | ` `xsd:`long[]` A list of video content bundles, represented by [ContentBundle](/ad-manager/api/reference/v202502/ContentBundleService.ContentBundle) IDs, that are being excluded by the `LineItem`. |"]]