[][src]Struct google_displayvideo1::PerformanceGoal

pub struct PerformanceGoal {
    pub performance_goal_type: Option<String>,
    pub performance_goal_string: Option<String>,
    pub performance_goal_percentage_micros: Option<String>,
    pub performance_goal_amount_micros: Option<String>,
}

Settings that control the performance goal of a campaign or insertion order.

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

Fields

performance_goal_type: Option<String>

Required. The type of the performance goal.

performance_goal_string: Option<String>

A key performance indicator (KPI) string, which can be empty. Must be UTF-8 encoded with a length of no more than 100 characters.

Applicable when performance_goal_type is set to PERFORMANCE_GOAL_TYPE_OTHER.

performance_goal_percentage_micros: Option<String>

The decimal representation of the goal percentage in micros.

Applicable when performance_goal_type is one of:

  • PERFORMANCE_GOAL_TYPE_CTR
  • PERFORMANCE_GOAL_TYPE_VIEWABILITY

For example, 70000 represents 7% (decimal 0.07).

performance_goal_amount_micros: Option<String>

The goal amount, in micros of the advertiser's currency.

Applicable when performance_goal_type is one of:

  • PERFORMANCE_GOAL_TYPE_CPM
  • PERFORMANCE_GOAL_TYPE_CPC
  • PERFORMANCE_GOAL_TYPE_CPA
  • PERFORMANCE_GOAL_TYPE_CPIAVC

For example 1500000 represents 1.5 standard units of the currency.

Trait Implementations

impl Clone for PerformanceGoal[src]

impl Debug for PerformanceGoal[src]

impl Default for PerformanceGoal[src]

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

impl Part for PerformanceGoal[src]

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