type CreativeTargeting (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Represents the creative targeting criteria for a LineItem.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field
|
name
|
xsd:string
The name of this creative targeting. This attribute is required.
|
targeting
|
Targeting
The Targeting criteria of this creative targeting. This attribute is required.
|
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\u003e\u003ccode\u003eCreativeTargeting\u003c/code\u003e represents the criteria used to target creatives to specific line items within Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eIt requires a name and targeting parameters defined using the \u003ccode\u003eTargeting\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTargeting\u003c/code\u003e object specifies the inventory, audience, or other criteria for ad delivery.\u003c/p\u003e\n"]]],["The core content defines `CreativeTargeting` within the `ForecastService`, specifically for a `LineItem`. Key elements include the `name` field, a required string representing the creative targeting's name, and the `targeting` field, which requires a `Targeting` object detailing the criteria. These components are accessed via the namespace `https://www.google.com/apis/ads/publisher/v202411` and they specify the constraints of a `LineItem`'s targeting.\n"],null,["# type CreativeTargeting (v202411)\n\n**Service** \n**ForecastService** [LineItemService](/ad-manager/api/reference/v202411/LineItemService.CreativeTargeting) **Dependencies** \n[LineItem](/ad-manager/api/reference/v202411/ForecastService.LineItem) \n▼\n**CreativeTargeting**\n\nRepresents the creative targeting criteria for a [LineItem](/ad-manager/api/reference/v202411/ForecastService.LineItem).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `name` | ` `xsd:`string` The name of this creative targeting. This attribute is required. |\n| ### `targeting` | ` `[Targeting](/ad-manager/api/reference/v202411/ForecastService.Targeting)` ` The [Targeting](/ad-manager/api/reference/v202411/ForecastService.Targeting) criteria of this creative targeting. This attribute is required. |"]]