[][src]Struct google_displayvideo1::Pacing

pub struct Pacing {
    pub pacing_type: Option<String>,
    pub daily_max_impressions: Option<String>,
    pub daily_max_micros: Option<String>,
    pub pacing_period: Option<String>,
}

Settings that control the rate at which a budget is spent.

This type is not used in any activity, and only used as part of another schema.

Fields

pacing_type: Option<String>

Required. The type of pacing that defines how the budget amount will be spent across the pacing_period.

daily_max_impressions: Option<String>

Maximum number of impressions to serve every day.

Applicable when the budget is impression based. Must be greater than 0.

daily_max_micros: Option<String>

Maximum currency amount to spend every day in micros of advertiser's currency.

Applicable when the budget is currency based. Must be greater than 0. For example, for 1.5 standard unit of the currency, set this field to 1500000.

The value assigned will be rounded to whole billable units for the relevant currency by the following rules: any positive value less than a single billable unit will be rounded up to one billable unit and any value larger than a single billable unit will be rounded down to the nearest billable value. For example, if the currency's billable unit is 0.01, and this field is set to 10257770, it will round down to 10250000, a value of 10.25. If set to 505, it will round up to 10000, a value of 0.01.

pacing_period: Option<String>

Required. The time period in which the pacing budget will be spent.

When automatic budget allocation is enabled at the insertion order via auto_budget_allocation, this field is output only and defaults to PACING_PERIOD_FLIGHT.

Trait Implementations

impl Clone for Pacing[src]

impl Debug for Pacing[src]

impl Default for Pacing[src]

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

impl Part for Pacing[src]

impl Serialize for Pacing[src]

Auto Trait Implementations

impl RefUnwindSafe for Pacing

impl Send for Pacing

impl Sync for Pacing

impl Unpin for Pacing

impl UnwindSafe for Pacing

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