[][src]Struct google_displayvideo1::Campaign

pub struct Campaign {
    pub update_time: Option<String>,
    pub display_name: Option<String>,
    pub name: Option<String>,
    pub campaign_flight: Option<CampaignFlight>,
    pub campaign_id: Option<String>,
    pub campaign_goal: Option<CampaignGoal>,
    pub frequency_cap: Option<FrequencyCap>,
    pub advertiser_id: Option<String>,
    pub entity_status: Option<String>,
}

A single campaign.

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

update_time: Option<String>

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

display_name: Option<String>

Required. The display name of the campaign.

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

name: Option<String>

Output only. The resource name of the campaign.

campaign_flight: Option<CampaignFlight>

Required. The planned spend and duration of the campaign.

campaign_id: Option<String>

Output only. The unique ID of the campaign. Assigned by the system.

campaign_goal: Option<CampaignGoal>

Required. The goal of the campaign.

frequency_cap: Option<FrequencyCap>

Required. The frequency cap setting of the campaign.

advertiser_id: Option<String>

Output only. The unique ID of the advertiser the campaign belongs to.

entity_status: Option<String>

Required. Controls whether or not the insertion orders under this campaign can spend their budgets and bid on inventory.

  • Accepted values are ENTITY_STATUS_ACTIVE, ENTITY_STATUS_ARCHIVED, and ENTITY_STATUS_PAUSED.
  • For CreateCampaign method, ENTITY_STATUS_ARCHIVED is not allowed.

Trait Implementations

impl Clone for Campaign[src]

impl Debug for Campaign[src]

impl Default for Campaign[src]

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

impl RequestValue for Campaign[src]

impl ResponseResult for Campaign[src]

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