Struct google_dfareporting3::api::InventoryItem[][src]

pub struct InventoryItem {
    pub account_id: Option<String>,
    pub ad_slots: Option<Vec<AdSlot>>,
    pub advertiser_id: Option<String>,
    pub content_category_id: Option<String>,
    pub estimated_click_through_rate: Option<String>,
    pub estimated_conversion_rate: Option<String>,
    pub id: Option<String>,
    pub in_plan: Option<bool>,
    pub kind: Option<String>,
    pub last_modified_info: Option<LastModifiedInfo>,
    pub name: Option<String>,
    pub negotiation_channel_id: Option<String>,
    pub order_id: Option<String>,
    pub placement_strategy_id: Option<String>,
    pub pricing: Option<Pricing>,
    pub project_id: Option<String>,
    pub rfp_id: Option<String>,
    pub site_id: Option<String>,
    pub subaccount_id: Option<String>,
    pub type_: Option<String>,
}

Represents a buy from the 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).

Fields

account_id: Option<String>

Account ID of this inventory item.

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.

advertiser_id: Option<String>

Advertiser ID of this inventory item.

content_category_id: Option<String>

Content category ID of this inventory item.

estimated_click_through_rate: Option<String>

Estimated click-through rate of this inventory item.

estimated_conversion_rate: Option<String>

Estimated conversion rate of this inventory item.

id: Option<String>

ID of this inventory item.

in_plan: Option<bool>

Whether this inventory item is in plan.

kind: Option<String>

Identifies what kind of resource this is. Value: the fixed string “dfareporting#inventoryItem”.

last_modified_info: Option<LastModifiedInfo>

Information about the most recent modification 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.

negotiation_channel_id: Option<String>

Negotiation channel ID of this inventory item.

order_id: Option<String>

Order ID of this inventory item.

placement_strategy_id: Option<String>

Placement strategy ID of this inventory item.

pricing: Option<Pricing>

Pricing of this inventory item.

project_id: Option<String>

Project ID of this inventory item.

rfp_id: Option<String>

RFP ID of this inventory item.

site_id: Option<String>

ID of the site this inventory item is associated with.

subaccount_id: Option<String>

Subaccount ID of this inventory item.

type_: Option<String>

Type of inventory item.

Trait Implementations

impl Clone for InventoryItem[src]

impl Debug for InventoryItem[src]

impl Default for InventoryItem[src]

impl<'de> Deserialize<'de> for InventoryItem[src]

impl Resource for InventoryItem[src]

impl ResponseResult for InventoryItem[src]

impl Serialize for InventoryItem[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.