type AdUnitParent (v202502)

  • InventoryService's SuggestedAdUnitService utilizes the AdUnitParent dependency.

  • AdUnitParent provides a summary of a parent AdUnit.

  • The AdUnitParent includes fields for id, name, and adUnitCode.

  • The id, name, and adUnitCode fields of the AdUnitParent are read-only and populated by Google.

The summary of a parent AdUnit.


Namespace
https://www.google.com/apis/ads/publisher/v202502

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.