[[["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."],[[["\u003cp\u003e\u003ccode\u003eContentTargeting\u003c/code\u003e is used to target LineItems to specific videos on a publisher's site.\u003c/p\u003e\n"],["\u003cp\u003eTargeting can be achieved by specifying content IDs to include (\u003ccode\u003etargetedContentIds\u003c/code\u003e) or exclude (\u003ccode\u003eexcludedContentIds\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eVideo content bundles can also be targeted using their IDs, allowing for inclusion (\u003ccode\u003etargetedVideoContentBundleIds\u003c/code\u003e) or exclusion (\u003ccode\u003eexcludedVideoContentBundleIds\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for \u003ccode\u003eContentTargeting\u003c/code\u003e is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e.\u003c/p\u003e\n"]]],["The document details the `ContentTargeting` feature, used to target `LineItem`s to specific videos. It outlines fields for targeting and excluding content using IDs, including `targetedContentIds` and `excludedContentIds`. Video content bundles can also be targeted or excluded via `targetedVideoContentBundleIds` and `excludedVideoContentBundleIds`. These bundles are represented by `ContentBundle` IDs. Several services relate to this such as `AdRuleService`, `ForecastService` or `YieldGroupService`.\n"],null,["# type ContentTargeting (v202411)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202411/AdRuleService.ContentTargeting) [AdjustmentService](/ad-manager/api/reference/v202411/AdjustmentService.ContentTargeting) [ForecastService](/ad-manager/api/reference/v202411/ForecastService.ContentTargeting) [LineItemService](/ad-manager/api/reference/v202411/LineItemService.ContentTargeting) [NativeStyleService](/ad-manager/api/reference/v202411/NativeStyleService.ContentTargeting) [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.ContentTargeting) **ProposalService** [PublisherQueryLanguageService](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.ContentTargeting) [TargetingPresetService](/ad-manager/api/reference/v202411/TargetingPresetService.ContentTargeting) [YieldGroupService](/ad-manager/api/reference/v202411/YieldGroupService.ContentTargeting) **Dependencies** \n[Targeting](/ad-manager/api/reference/v202411/ProposalService.Targeting) \n▼\n**ContentTargeting**\n\nUsed to target [LineItem](/ad-manager/api/reference/v202411/ForecastService.LineItem)s to specific videos on a publisher's site.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\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/v202411/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/v202411/ContentBundleService.ContentBundle) IDs, that are being excluded by the `LineItem`. |"]]