pub struct InventoryItem {Show 20 fields
pub order_id: Option<String>,
pub advertiser_id: Option<String>,
pub site_id: Option<String>,
pub ad_slots: Option<Vec<AdSlot>>,
pub rfp_id: Option<String>,
pub content_category_id: Option<String>,
pub placement_strategy_id: Option<String>,
pub account_id: Option<String>,
pub kind: Option<String>,
pub negotiation_channel_id: Option<String>,
pub subaccount_id: Option<String>,
pub name: Option<String>,
pub estimated_click_through_rate: Option<String>,
pub last_modified_info: Option<LastModifiedInfo>,
pub estimated_conversion_rate: Option<String>,
pub in_plan: Option<bool>,
pub id: Option<String>,
pub project_id: Option<String>,
pub type_: Option<String>,
pub pricing: Option<Pricing>,
}Expand description
Represents a buy from the DoubleClick Planning inventory store.
§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).
- get inventory items (response)
- list inventory items (none)
Fields§
§order_id: Option<String>Order ID of this inventory item.
advertiser_id: Option<String>Advertiser ID of this inventory item.
site_id: Option<String>ID of the site this inventory item is associated with.
ad_slots: Option<Vec<AdSlot>>Ad slots of this inventory item. If this inventory item represents a standalone placement, there will be exactly one ad slot. If this inventory item represents a placement group, there will be more than one ad slot, each representing one child placement in that placement group.
rfp_id: Option<String>RFP ID of this inventory item.
content_category_id: Option<String>Content category ID of this inventory item.
placement_strategy_id: Option<String>Placement strategy ID of this inventory item.
account_id: Option<String>Account ID of this inventory item.
kind: Option<String>Identifies what kind of resource this is. Value: the fixed string “dfareporting#inventoryItem”.
negotiation_channel_id: Option<String>Negotiation channel ID of this inventory item.
subaccount_id: Option<String>Subaccount ID of this inventory item.
name: Option<String>Name of this inventory item. For standalone inventory items, this is the same name as that of its only ad slot. For group inventory items, this can differ from the name of any of its ad slots.
estimated_click_through_rate: Option<String>Estimated click-through rate of this inventory item.
last_modified_info: Option<LastModifiedInfo>Information about the most recent modification of this inventory item.
estimated_conversion_rate: Option<String>Estimated conversion rate of this inventory item.
in_plan: Option<bool>Whether this inventory item is in plan.
id: Option<String>ID of this inventory item.
project_id: Option<String>Project ID of this inventory item.
type_: Option<String>Type of inventory item.
pricing: Option<Pricing>Pricing of this inventory item.
Trait Implementations§
Source§impl Clone for InventoryItem
impl Clone for InventoryItem
Source§fn clone(&self) -> InventoryItem
fn clone(&self) -> InventoryItem
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for InventoryItem
impl Debug for InventoryItem
Source§impl Default for InventoryItem
impl Default for InventoryItem
Source§fn default() -> InventoryItem
fn default() -> InventoryItem
Source§impl<'de> Deserialize<'de> for InventoryItem
impl<'de> Deserialize<'de> for InventoryItem
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 InventoryItem
impl Serialize for InventoryItem
impl Resource for InventoryItem
impl ResponseResult for InventoryItem
Auto Trait Implementations§
impl Freeze for InventoryItem
impl RefUnwindSafe for InventoryItem
impl Send for InventoryItem
impl Sync for InventoryItem
impl Unpin for InventoryItem
impl UnwindSafe for InventoryItem
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> 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