Resource: GuaranteedOrder
A guaranteed order.
Guaranteed orders are parent entity of guaranteed inventory sources. When creating a guaranteed inventory source, a guaranteed order ID must be assigned to the inventory source.
JSON representation |
---|
{ "name": string, "legacyGuaranteedOrderId": string, "exchange": enum ( |
Fields | |
---|---|
name |
Output only. The resource name of the guaranteed order. |
legacy |
Output only. The legacy ID of the guaranteed order. Assigned by the original exchange. The legacy ID is unique within one exchange, but is not guaranteed to be unique across all guaranteed orders. This ID is used in SDF and UI. |
exchange |
Required. Immutable. The exchange where the guaranteed order originated. |
guaranteed |
Output only. The unique identifier of the guaranteed order. The guaranteed order IDs have the format |
display |
Required. The display name of the guaranteed order. Must be UTF-8 encoded with a maximum size of 240 bytes. |
status |
The status settings of the guaranteed order. |
update |
Output only. The timestamp when the guaranteed order was last updated. Assigned by the system. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
publisher |
Required. The publisher name of the guaranteed order. Must be UTF-8 encoded with a maximum size of 240 bytes. |
read |
Whether all advertisers of |
read |
The IDs of advertisers with read access to the guaranteed order. This field must not include the advertiser assigned to |
default |
Output only. The ID of default advertiser of the guaranteed order. The default advertiser is either the |
default |
The ID of the default campaign that is assigned to the guaranteed order. The default campaign must belong to the default advertiser. |
Union field The partner or advertiser with read/write access to the guaranteed order. |
|
read |
The partner with read/write access to the guaranteed order. |
read |
The advertiser with read/write access to the guaranteed order. This is also the default advertiser of the guaranteed order. |
GuaranteedOrderStatus
The status settings of the guaranteed order.
JSON representation |
---|
{ "entityStatus": enum ( |
Fields | |
---|---|
entity |
Whether or not the guaranteed order is servable. Acceptable values are |
entity |
The user-provided reason for pausing this guaranteed order. Must be UTF-8 encoded with a maximum length of 100 bytes. Only applicable when |
config |
Output only. The configuration status of the guaranteed order. Acceptable values are A guaranteed order must be configured (fill in the required fields, choose creatives, and select a default campaign) before it can serve. Currently the configuration action can only be performed via UI. |
GuaranteedOrderConfigStatus
Possible configuration states for a guaranteed order.
Enums | |
---|---|
GUARANTEED_ORDER_CONFIG_STATUS_UNSPECIFIED |
The approval status is not specified or is unknown in this version. |
PENDING |
The beginning state of a guaranteed order. The guaranteed order in this state needs to be configured before it can serve. |
COMPLETED |
The state after the buyer configures a guaranteed order. |
Methods |
|
---|---|
|
Creates a new guaranteed order. |
|
Edits read advertisers of a guaranteed order. |
|
Gets a guaranteed order. |
|
Lists guaranteed orders that are accessible to the current user. |
|
Updates an existing guaranteed order. |