Page Summary
-
Line Terms define the seller-guaranteed terms for a line, including billable events and cost per billable event.
-
An Ad Play Plan details when and where ad plays are scheduled, along with duration and the number of billable events.
-
An Ad Play Plan Entry specifies details for a single ad play within a plan, including the ad unit, start and end times, total billable events, and play duration.
-
Attributes provide additional characteristics for a line element, such as an estimated number of ad plays.
The seller guaranteed terms for this line.
| JSON representation |
|---|
{ "billableEvents": string, "costPerBillableEvent": { object ( |
| Fields | |
|---|---|
billableEvents |
Required. Total billable events based on the details of this line. |
costPerBillableEvent |
Required. Cost per billable event. |
adPlayPlan |
Optional. The ad play plan for this line. |
attribute[] |
A list of attributes for this line. |
AdPlayPlan
An ad play plan for detailing when and where ad plays are planned to take place, as well as duration and number of billable events.
| JSON representation |
|---|
{
"adPlayPlanEntries": [
{
object ( |
| Fields | |
|---|---|
adPlayPlanEntries[] |
Required. The entries of this plan. |
AdPlayPlanEntry
An entry to be included in the ad play plan.
Example:
adUnit: adUnits/123,
startDate: 1/1/19 10:00,
endDate: 1/1/19/ 11:00,
totalBillableEvents: 100,
playDuration: 300s
The entry above specifies that the ad will play on the ad unit with the id 123, on the date 1/1/19 between 10:00 and 11:00 for a total of 300 seconds resulting in 100 billable events.
| JSON representation |
|---|
{ "adUnit": string, "startTime": string, "endTime": string, "totalBillableEvents": string, "playDuration": string } |
| Fields | |
|---|---|
adUnit |
Required. The name of the |
startTime |
Required. The start date and time for this plan entry (inclusive). A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
endTime |
Required. The end date and time for this plan entry (exclusive). A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
totalBillableEvents |
Required. Number of planned billable events between the specified start and end times. A billable event is either an impression or an ad play. |
playDuration |
Required. The total amount of time the ad will be visible for. A duration in seconds with up to nine fractional digits, terminated by ' |
Attribute
An attribute of the element (e.g. ad play count) and its value.
| JSON representation |
|---|
{
"adPlayCount": {
object ( |
| Fields | |
|---|---|
adPlayCount |
|
AdPlayCount
An estimated number of ad plays.
| JSON representation |
|---|
{ "value": string } |
| Fields | |
|---|---|
value |
|