Resource: Order
An order is a collection of Lines
which specify when and where to display ads.
JSON representation |
---|
{ "name": string, "externalId": string, "displayName": string, "description": string, "orderState": enum ( |
Fields | |
---|---|
name |
Output only. The resource name of the order in the format: orders/{id}`. |
externalId |
Optional. An id used to map this entity to external sources. |
displayName |
Output only. The display name of the order. Must be UTF-8 encoded with a maximum size of 240 bytes. |
description |
Output only. Additional freeform field to describe the order. |
orderState |
Output only. Represents the computed state of the order based on the state of its lines. |
createTime |
Output only. Creation timestamp for the order. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. Last updated timestamp for the order. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
advertiserInfo |
Output only. Advertiser info. |
OrderState
The state of the order.
Enums | |
---|---|
ORDER_STATE_UNSPECIFIED |
The default value when the order state has not been specified or is unknown in this version. |
ORDER_STATE_PENDING_RESERVATION |
The order contains:
|
ORDER_STATE_RESERVED |
The order contains:
|
ORDER_STATE_PENDING_BOOKING |
The order contains:
|
ORDER_STATE_BOOKED |
The order contains:
|
ORDER_STATE_REJECTED_BY_SELLER |
The order contains:
|
ORDER_STATE_CANCELLED_BY_BUYER |
The order contains:
|
ORDER_STATE_PENDING_RESERVATION_EXPIRED |
The order contains:
|
ORDER_STATE_RESERVED_EXPIRED |
The order contains:
|
Methods |
|
---|---|
|
Retrieves an individual order. |
|
Lists orders. |
|
Updates an existing order. |