REST Resource: networks.placements

Resource: Placement

The Placement resource.

JSON representation
{
  "name": string,
  "placementId": string,
  "displayName": string,
  "description": string,
  "placementCode": string,
  "status": enum (PlacementStatus),
  "targetedAdUnits": [
    string
  ],
  "updateTime": string
}
Fields
name

string

Identifier. The resource name of the Placement. Format: networks/{networkCode}/placements/{placementId}

placementId

string (int64 format)

Output only. Placement ID.

displayName

string

Required. The display name of the placement. Its maximum length is 255 characters.

description

string

Optional. A description of the Placement. This value is optional and its maximum length is 65,535 characters.

placementCode

string

Output only. A string used to uniquely identify the Placement for purposes of serving the ad. This attribute is read-only and is assigned by Google when a placement is created.

status

enum (PlacementStatus)

Output only. The status of the Placement. This attribute is read-only.

targetedAdUnits[]

string

Optional. The resource names of AdUnits that constitute the Placement. Format: "networks/{networkCode}/adUnits/{adUnitId}"

updateTime

string (Timestamp format)

Output only. The instant this Placement was last modified.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

PlacementStatus

Status of the placement.

Enums
PLACEMENT_STATUS_UNSPECIFIED Not specified value.
ACTIVE Stats are collected, user-visible.
INACTIVE No stats collected, not user-visible.
ARCHIVED No stats collected, user-visible.

Methods

get

API to retrieve a Placement object.

list

API to retrieve a list of Placement objects.