Resource: AdPlay
A single ad play.
JSON representation |
---|
{ "name": string, "line": string, "adUnit": string, "creative": string, "startTime": string, "endTime": string, "recordTime": string, "impressions": number } |
Fields | |
---|---|
name |
Output only. The resource name of the ad play in the format: |
line |
Required. The line this ad play belongs to. The order will be inferred from the line. Format: |
adUnit |
Required. The ad unit this ad play was served on. Format: |
creative |
Required. The creative this ad play served. Format: |
startTime |
Required. Time the ad started to play (inclusive). Should be in the past and within the last 3 days. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
endTime |
Required. Time the ad play ended (exclusive). Should be in the past and after start time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
recordTime |
Optional. Time this ad play was recorded. Should be in the past and after end time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
impressions |
Required. Total number of impressions. |
Methods |
|
---|---|
|
Creates an ad play. |
|
Creates an ad play with external ids. |