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 ( |
Fields | |
---|---|
name |
The resource name of the impression schedule in the format: |
startTime |
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: |
endTime |
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: |
units[] |
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 ( |
Fields | |
---|---|
dayOfWeek |
Day of week the impression schedule represents. |
hourOfDay |
Hours of day the impression schedule represents in 24 hour format. Should be from 0 to 23. |
impressionCount |
Number of impressions on the specified day of week at the specified hour of day. |
Methods |
|
---|---|
|
Updates impression schedules in batch. |
|
Creates a new impression schedule. |
|
Retrieves an individual impression schedule. |
|
Lists impression schedules. |
|
Updates an existing impression schedule. |