[][src]Struct google_displayvideo1::CampaignGoal

pub struct CampaignGoal {
    pub performance_goal: Option<PerformanceGoal>,
    pub campaign_goal_type: Option<String>,
}

Settings that control the goal of a campaign.

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

Fields

performance_goal: Option<PerformanceGoal>

Required. The performance goal of the campaign.

Acceptable values for performance_goal_type are:

  • PERFORMANCE_GOAL_TYPE_CPM
  • PERFORMANCE_GOAL_TYPE_CPC
  • PERFORMANCE_GOAL_TYPE_CPA
  • PERFORMANCE_GOAL_TYPE_CPIAVC
  • PERFORMANCE_GOAL_TYPE_CTR
  • PERFORMANCE_GOAL_TYPE_VIEWABILITY
  • PERFORMANCE_GOAL_TYPE_OTHER
campaign_goal_type: Option<String>

Required. The type of the campaign goal.

Trait Implementations

impl Clone for CampaignGoal[src]

impl Debug for CampaignGoal[src]

impl Default for CampaignGoal[src]

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

impl Part for CampaignGoal[src]

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