REST Resource: sellers.adUnits.impressionSchedules

Resource: ImpressionSchedule

Impression schedule for a date range. The impression schedule is not expected to overlap and have gaps. It is expired if the end time is in the past. The ad unit will be rejected if all impression schedule associated with this ad unit are expired.

JSON representation
{
  "name": string,
  "startTime": string,
  "endTime": string,
  "units": [
    {
      object (Unit)
    }
  ]
}
Fields
name

string

The resource name of the impression schedule in the format: sellers/{seller}/adUnits/{adUnit}/impressionSchedules/{impressionSchedule}.

startTime

string (Timestamp format)

Start of the interval when the impression schedule is valid (inclusive).

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".

endTime

string (Timestamp format)

End of the interval when the impression schedule is valid (exclusive).

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".

units[]

object (Unit)

Impression schedule for the specified day of week and hour of day.

Unit

Impression schedule for a given day of week and hour of day.

JSON representation
{
  "dayOfWeek": enum (DayOfWeek),
  "hourOfDay": integer,
  "impressionCount": string
}
Fields
dayOfWeek

enum (DayOfWeek)

Day of week the impression schedule represents.

hourOfDay

integer

Hours of day the impression schedule represents in 24 hour format. Should be from 0 to 23.

impressionCount

string (int64 format)

Number of impressions on the specified day of week at the specified hour of day.

Methods

batchUpdate

Updates impression schedules in batch.

create

Creates a new impression schedule.

get

Retrieves an individual impression schedule.

list

Lists impression schedules.

patch

Updates an existing impression schedule.