Struct google_displayvideo1::api::GuaranteedOrder
source · pub struct GuaranteedOrder {Show 14 fields
pub default_advertiser_id: Option<i64>,
pub default_campaign_id: Option<i64>,
pub display_name: Option<String>,
pub exchange: Option<String>,
pub guaranteed_order_id: Option<String>,
pub legacy_guaranteed_order_id: Option<String>,
pub name: Option<String>,
pub publisher_name: Option<String>,
pub read_access_inherited: Option<bool>,
pub read_advertiser_ids: Option<Vec<i64>>,
pub read_write_advertiser_id: Option<i64>,
pub read_write_partner_id: Option<i64>,
pub status: Option<GuaranteedOrderStatus>,
pub update_time: Option<DateTime<Utc>>,
}
Expand description
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.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- create guaranteed orders (request|response)
- edit guaranteed order read accessors guaranteed orders (none)
- get guaranteed orders (response)
- list guaranteed orders (none)
- patch guaranteed orders (request|response)
Fields§
§default_advertiser_id: Option<i64>
Output only. The ID of default advertiser of the guaranteed order. The default advertiser is either the read_write_advertiser_id or, if that is not set, the first advertiser listed in read_advertiser_ids. Otherwise, there is no default advertiser.
default_campaign_id: Option<i64>
The ID of the default campaign that is assigned to the guaranteed order. The default campaign must belong to the default advertiser.
display_name: Option<String>
Required. The display name of the guaranteed order. Must be UTF-8 encoded with a maximum size of 240 bytes.
exchange: Option<String>
Required. Immutable. The exchange where the guaranteed order originated.
guaranteed_order_id: Option<String>
Output only. The unique identifier of the guaranteed order. The guaranteed order IDs have the format {exchange}-{legacy_guaranteed_order_id}
.
legacy_guaranteed_order_id: Option<String>
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.
name: Option<String>
Output only. The resource name of the guaranteed order.
publisher_name: Option<String>
Required. The publisher name of the guaranteed order. Must be UTF-8 encoded with a maximum size of 240 bytes.
read_access_inherited: Option<bool>
Whether all advertisers of read_write_partner_id have read access to the guaranteed order. Only applicable if read_write_partner_id is set. If True, overrides read_advertiser_ids.
read_advertiser_ids: Option<Vec<i64>>
The IDs of advertisers with read access to the guaranteed order. This field must not include the advertiser assigned to read_write_advertiser_id if it is set. All advertisers in this field must belong to read_write_partner_id or the same partner as read_write_advertiser_id.
read_write_advertiser_id: Option<i64>
The advertiser with read/write access to the guaranteed order. This is also the default advertiser of the guaranteed order.
read_write_partner_id: Option<i64>
The partner with read/write access to the guaranteed order.
status: Option<GuaranteedOrderStatus>
The status settings of the guaranteed order.
update_time: Option<DateTime<Utc>>
Output only. The timestamp when the guaranteed order was last updated. Assigned by the system.
Trait Implementations§
source§impl Clone for GuaranteedOrder
impl Clone for GuaranteedOrder
source§fn clone(&self) -> GuaranteedOrder
fn clone(&self) -> GuaranteedOrder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more