[][src]Struct google_displayvideo1::InsertionOrder

pub struct InsertionOrder {
    pub bid_strategy: Option<BiddingStrategy>,
    pub integration_details: Option<IntegrationDetails>,
    pub display_name: Option<String>,
    pub name: Option<String>,
    pub insertion_order_id: Option<String>,
    pub campaign_id: Option<String>,
    pub budget: Option<InsertionOrderBudget>,
    pub frequency_cap: Option<FrequencyCap>,
    pub advertiser_id: Option<String>,
    pub update_time: Option<String>,
    pub entity_status: Option<String>,
    pub pacing: Option<Pacing>,
    pub partner_costs: Option<Vec<PartnerCost>>,
    pub performance_goal: Option<PerformanceGoal>,
}

A single insertion order.

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>

Optional. The bidding strategy of the insertion order. By default, fixed_bid is set.

integration_details: Option<IntegrationDetails>

Additional integration details of the insertion order.

display_name: Option<String>

Required. The display name of the insertion order.

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

name: Option<String>

Output only. The resource name of the insertion order.

insertion_order_id: Option<String>

Output only. The unique ID of the insertion order. Assigned by the system.

campaign_id: Option<String>

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

budget: Option<InsertionOrderBudget>

Required. The budget allocation settings of the insertion order.

frequency_cap: Option<FrequencyCap>

Required. The frequency capping setting of the insertion order.

advertiser_id: Option<String>

Output only. The unique ID of the advertiser the insertion order belongs to.

update_time: Option<String>

Output only. The timestamp when the insertion order was last updated. Assigned by the system.

entity_status: Option<String>

Required. Controls whether or not the insertion order can spend its budget and bid on inventory.

  • For CreateInsertionOrder method, only ENTITY_STATUS_DRAFT is allowed. To activate an insertion order, use UpdateInsertionOrder method and update the status to ENTITY_STATUS_ACTIVE after creation.
  • An insertion order cannot be changed back to ENTITY_STATUS_DRAFT status from any other status.
  • An insertion order cannot be set to ENTITY_STATUS_ACTIVE if its parent campaign is not active.
pacing: Option<Pacing>

Required. The budget spending speed setting of the insertion order.

partner_costs: Option<Vec<PartnerCost>>

The partner costs associated with the insertion order.

If absent or empty in CreateInsertionOrder method, the newly created insertion order will inherit partner costs from the partner settings.

performance_goal: Option<PerformanceGoal>

Required. Performance goal of the insertion order.

Trait Implementations

impl Clone for InsertionOrder[src]

impl Debug for InsertionOrder[src]

impl Default for InsertionOrder[src]

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

impl RequestValue for InsertionOrder[src]

impl ResponseResult for InsertionOrder[src]

impl Serialize for InsertionOrder[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