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 moreSource§impl Debug for GuaranteedOrder
impl Debug for GuaranteedOrder
Source§impl Default for GuaranteedOrder
impl Default for GuaranteedOrder
Source§fn default() -> GuaranteedOrder
fn default() -> GuaranteedOrder
Source§impl<'de> Deserialize<'de> for GuaranteedOrder
impl<'de> Deserialize<'de> for GuaranteedOrder
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for GuaranteedOrder
impl Serialize for GuaranteedOrder
impl RequestValue for GuaranteedOrder
impl Resource for GuaranteedOrder
impl ResponseResult for GuaranteedOrder
Auto Trait Implementations§
impl Freeze for GuaranteedOrder
impl RefUnwindSafe for GuaranteedOrder
impl Send for GuaranteedOrder
impl Sync for GuaranteedOrder
impl Unpin for GuaranteedOrder
impl UnwindSafe for GuaranteedOrder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more