type AdUnitParent (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
The summary of a parent AdUnit.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field
|
id
|
xsd:string
The ID of the parent AdUnit . This value is readonly and is populated by Google.
|
name
|
xsd:string
The name of the parent AdUnit . This value is readonly and is populated by Google.
|
adUnitCode
|
xsd:string
A string used to uniquely identify the ad unit for the purposes of serving the ad. This
attribute is read-only and is assigned by Google when an ad unit is created.
|
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\u003eAdUnitParent provides a summary of a parent AdUnit, including its ID, name, and ad unit code.\u003c/p\u003e\n"],["\u003cp\u003eThis object is used within the InventoryService and SuggestedAdUnitService within the Google Ad Manager API.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of an AdUnitParent include its ID, name, and adUnitCode, all of which are read-only and populated by Google.\u003c/p\u003e\n"]]],[],null,["# type AdUnitParent (v202411)\n\n**Service** \n[InventoryService](/ad-manager/api/reference/v202411/InventoryService.AdUnitParent) **SuggestedAdUnitService** **Dependencies** \n[SuggestedAdUnit](/ad-manager/api/reference/v202411/SuggestedAdUnitService.SuggestedAdUnit) \n▼\n**AdUnitParent**\n\nThe summary of a parent [AdUnit](/ad-manager/api/reference/v202411/InventoryService.AdUnit).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `id` | ` `xsd:`string` The ID of the parent `AdUnit`. This value is readonly and is populated by Google. |\n| ### `name` | ` `xsd:`string` The name of the parent `AdUnit`. This value is readonly and is populated by Google. |\n| ### `adUnitCode` | ` `xsd:`string` A string used to uniquely identify the ad unit for the purposes of serving the ad. This attribute is read-only and is assigned by Google when an ad unit is created. |"]]