Struct google_displayvideo1::api::InventorySource
source · pub struct InventorySource {Show 19 fields
pub commitment: Option<String>,
pub creative_configs: Option<Vec<CreativeConfig>>,
pub deal_id: Option<String>,
pub delivery_method: Option<String>,
pub display_name: Option<String>,
pub exchange: Option<String>,
pub guaranteed_order_id: Option<String>,
pub inventory_source_id: Option<i64>,
pub inventory_source_product_type: Option<String>,
pub inventory_source_type: Option<String>,
pub name: Option<String>,
pub publisher_name: Option<String>,
pub rate_details: Option<RateDetails>,
pub read_advertiser_ids: Option<Vec<i64>>,
pub read_partner_ids: Option<Vec<i64>>,
pub read_write_accessors: Option<InventorySourceAccessors>,
pub status: Option<InventorySourceStatus>,
pub time_range: Option<TimeRange>,
pub update_time: Option<DateTime<Utc>>,
}
Expand description
An 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 inventory sources (request|response)
- edit inventory source read write accessors inventory sources (none)
- get inventory sources (response)
- list inventory sources (none)
- patch inventory sources (request|response)
Fields§
§commitment: Option<String>
Whether the inventory source has a guaranteed or non-guaranteed delivery.
creative_configs: Option<Vec<CreativeConfig>>
The creative requirements of the inventory source. Not applicable for auction packages.
deal_id: Option<String>
The ID in the exchange space that uniquely identifies the inventory source. Must be unique across buyers within each exchange but not necessarily unique across exchanges.
delivery_method: Option<String>
The delivery method of the inventory source. * For non-guaranteed inventory sources, the only acceptable value is INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC
. * For guaranteed inventory sources, acceptable values are INVENTORY_SOURCE_DELIVERY_METHOD_TAG
and INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC
.
display_name: Option<String>
The display name of the inventory source. Must be UTF-8 encoded with a maximum size of 240 bytes.
exchange: Option<String>
The exchange to which the inventory source belongs.
guaranteed_order_id: Option<String>
Immutable. The ID of the guaranteed order that this inventory source belongs to. Only applicable when commitment is INVENTORY_SOURCE_COMMITMENT_GUARANTEED
.
inventory_source_id: Option<i64>
Output only. The unique ID of the inventory source. Assigned by the system.
inventory_source_product_type: Option<String>
Output only. The product type of the inventory source, denoting the way through which it sells inventory.
inventory_source_type: Option<String>
Denotes the type of the inventory source.
name: Option<String>
Output only. The resource name of the inventory source.
publisher_name: Option<String>
The publisher/seller name of the inventory source.
rate_details: Option<RateDetails>
Required. The rate details of the inventory source.
read_advertiser_ids: Option<Vec<i64>>
Output only. The IDs of advertisers with read-only access to the inventory source.
read_partner_ids: Option<Vec<i64>>
Output only. The IDs of partners with read-only access to the inventory source. All advertisers of partners in this field inherit read-only access to the inventory source.
read_write_accessors: Option<InventorySourceAccessors>
The partner or advertisers that have read/write access to the inventory source. Output only when commitment is INVENTORY_SOURCE_COMMITMENT_GUARANTEED
, in which case the read/write accessors are inherited from the parent guaranteed order. Required when commitment is INVENTORY_SOURCE_COMMITMENT_NON_GUARANTEED
. If commitment is INVENTORY_SOURCE_COMMITMENT_NON_GUARANTEED
and a partner is set in this field, all advertisers under this partner will automatically have read-only access to the inventory source. These advertisers will not be included in read_advertiser_ids.
status: Option<InventorySourceStatus>
The status settings of the inventory source.
time_range: Option<TimeRange>
The time range when this inventory source starts and stops serving.
update_time: Option<DateTime<Utc>>
Output only. The timestamp when the inventory source was last updated. Assigned by the system.
Trait Implementations§
source§impl Clone for InventorySource
impl Clone for InventorySource
source§fn clone(&self) -> InventorySource
fn clone(&self) -> InventorySource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more