An Ad Unit Resource represents a saved ad unit with a specific set of ad settings that you've customized within your account.


List all ad units in the specified custom channel in the specified ad client.

Resource Representations

An Ad Unit resource includes several identifying properties for the ad unit.

  "code": string,
  "id": string,
  "kind": "adsense#adUnit",
  "name": string,
  "status": string
Property Name Value Description
code string Identity code of this ad unit, not necessarily unique across ad clients.
id string Unique identifier of this ad unit. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.
kind string Kind of resource this is, in this case adsense#adUnit.
name string Name of this ad unit.
status string Status of this ad unit. Possible values are:

NEW: Indicates that the ad unit was created within the last seven days and does not yet have any activity associated with it.

ACTIVE: Indicates that there has been activity on this ad unit in the last seven days.

INACTIVE: Indicates that there has been no activity on this ad unit in the last seven days.

Send feedback about...

AdSense Management API
AdSense Management API