type CreativeTargeting (v202408)
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/v202408
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 objects represent the criteria used to target creatives to specific line items within Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eThis targeting is defined by a required \u003ccode\u003ename\u003c/code\u003e and \u003ccode\u003etargeting\u003c/code\u003e field, the latter of which specifies detailed criteria through a \u003ccode\u003eTargeting\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreativeTargeting\u003c/code\u003e object is associated with the \u003ccode\u003eLineItem\u003c/code\u003e and \u003ccode\u003eLineItemService\u003c/code\u003e within the Google Ad Manager API.\u003c/p\u003e\n"]]],["The core content defines `CreativeTargeting` within the `ForecastService`, dependent on `LineItem`. It's part of the `https://www.google.com/apis/ads/publisher/v202408` namespace. Key attributes include `name` (a required string) and `targeting` (also required, referencing `Targeting` criteria). `CreativeTargeting` represents the targeting criteria for a `LineItem`. Both name and targeting fields are required.\n"],null,["# type CreativeTargeting (v202408)\n\n**Service** \n**ForecastService** [LineItemService](/ad-manager/api/reference/v202408/LineItemService.CreativeTargeting) **Dependencies** \n[LineItem](/ad-manager/api/reference/v202408/ForecastService.LineItem) \n▼\n**CreativeTargeting**\n\nRepresents the creative targeting criteria for a [LineItem](/ad-manager/api/reference/v202408/ForecastService.LineItem).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\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/v202408/ForecastService.Targeting)` ` The [Targeting](/ad-manager/api/reference/v202408/ForecastService.Targeting) criteria of this creative targeting. This attribute is required. |"]]