type AdUnitParent (v202411)

  • The AdUnitParent object summarizes the parent of an ad unit, providing identification and naming details.

  • This object includes read-only fields like ID, name, and ad unit code, populated by Google.

  • AdUnitParent is part of the InventoryService and is referenced within the SuggestedAdUnitService.

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.