[][src]Struct google_displayvideo1::InsertionOrderBudgetSegment

pub struct InsertionOrderBudgetSegment {
    pub date_range: Option<DateRange>,
    pub budget_amount_micros: Option<String>,
    pub campaign_budget_id: Option<String>,
    pub description: Option<String>,
}

Settings that control the budget of a single budget segment.

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

Fields

date_range: Option<DateRange>

Required. The start and end date settings of the budget segment. They are resolved relative to the parent advertiser's time zone.

  • When creating a new budget segment, both start_date and end_date must be in the future.
  • An existing budget segment with a start_date in the past has a mutable end_date but an immutable start_date.
  • end_date must be the start_date or later, both before the year 2037.
budget_amount_micros: Option<String>

Required. The budget amount the insertion order will spend for the given date_range. The amount is in micros. Must be greater than 0. For example, 500000000 represents 500 standard units of the currency.

campaign_budget_id: Option<String>

The ID of the campaign budget linked to this insertion order budget segment.

description: Option<String>

The budget segment description. It can be used to enter Purchase Order information for each budget segment and have that information printed on the invoices.

Must be UTF-8 encoded with a length of no more than 80 characters.

Trait Implementations

impl Clone for InsertionOrderBudgetSegment[src]

impl Debug for InsertionOrderBudgetSegment[src]

impl Default for InsertionOrderBudgetSegment[src]

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

impl Part for InsertionOrderBudgetSegment[src]

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