[][src]Struct google_displayvideo1::LineItem

pub struct LineItem {
    pub bid_strategy: Option<BiddingStrategy>,
    pub integration_details: Option<IntegrationDetails>,
    pub flight: Option<LineItemFlight>,
    pub insertion_order_id: Option<String>,
    pub campaign_id: Option<String>,
    pub creative_ids: Option<Vec<String>>,
    pub conversion_counting: Option<ConversionCountingConfig>,
    pub update_time: Option<String>,
    pub line_item_type: Option<String>,
    pub advertiser_id: Option<String>,
    pub entity_status: Option<String>,
    pub frequency_cap: Option<FrequencyCap>,
    pub partner_costs: Option<Vec<PartnerCost>>,
    pub inventory_source_ids: Option<Vec<String>>,
    pub display_name: Option<String>,
    pub name: Option<String>,
    pub partner_revenue_model: Option<PartnerRevenueModel>,
    pub budget: Option<LineItemBudget>,
    pub pacing: Option<Pacing>,
    pub line_item_id: Option<String>,
}

A single line item.

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

bid_strategy: Option<BiddingStrategy>

Required. The bidding strategy of the line item.

integration_details: Option<IntegrationDetails>

Integration details of the line item.

flight: Option<LineItemFlight>

Required. The start and end time of the line item's flight.

insertion_order_id: Option<String>

Required. Immutable. The unique ID of the insertion order that the line item belongs to.

campaign_id: Option<String>

Output only. The unique ID of the campaign that the line item belongs to.

creative_ids: Option<Vec<String>>

The IDs of the creatives associated with the line item.

conversion_counting: Option<ConversionCountingConfig>

The conversion tracking setting of the line item.

update_time: Option<String>

Output only. The timestamp when the line item was last updated. Assigned by the system.

line_item_type: Option<String>

Required. Immutable. The type of the line item.

advertiser_id: Option<String>

Output only. The unique ID of the advertiser the line item belongs to.

entity_status: Option<String>

Required. Controls whether or not the line item can spend its budget and bid on inventory.

  • For CreateLineItem method, only ENTITY_STATUS_DRAFT is allowed. To activate a line item, use UpdateLineItem method and update the status to ENTITY_STATUS_ACTIVE after creation.
  • A line item cannot be changed back to ENTITY_STATUS_DRAFT status from any other status.
  • If the line item's parent insertion order is not active, the line item can't spend its budget even if its own status is ENTITY_STATUS_ACTIVE.
frequency_cap: Option<FrequencyCap>

Required. The frequency capping setting of the line item.

partner_costs: Option<Vec<PartnerCost>>

The partner costs associated with the line item.

If absent or empty in CreateLineItem method, the newly created line item will inherit partner costs from its parent insertion order.

inventory_source_ids: Option<Vec<String>>

The IDs of the private inventory sources assigned to the line item.

display_name: Option<String>

Required. The display name of the line item.

Must be UTF-8 encoded with a maximum size of 240 bytes.

name: Option<String>

Output only. The resource name of the line item.

partner_revenue_model: Option<PartnerRevenueModel>

Required. The partner revenue model setting of the line item.

budget: Option<LineItemBudget>

Required. The budget allocation setting of the line item.

pacing: Option<Pacing>

Required. The budget spending speed setting of the line item.

line_item_id: Option<String>

Output only. The unique ID of the line item. Assigned by the system.

Trait Implementations

impl Clone for LineItem[src]

impl Debug for LineItem[src]

impl Default for LineItem[src]

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

impl RequestValue for LineItem[src]

impl ResponseResult for LineItem[src]

impl Serialize for LineItem[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, 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.

impl<T> Typeable for T where
    T: Any