Adunits

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

Methods

get
Get the specified ad unit belonging to the specified ad client.
list
List all ad units belonging to the specified ad client.

Resource Representations

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

{
  "code": string,
  "id": string,
  "kind": "adxseller#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 adxseller#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...

Seller REST API
Seller REST API