View Source GoogleApi.DisplayVideo.V1.Model.PerformanceGoal (google_api_display_video v0.35.0)

Settings that control the performance goal of a campaign.

Attributes

  • performanceGoalAmountMicros (type: String.t, default: nil) - 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 * PERFORMANCE_GOAL_TYPE_VCPM For example 1500000 represents 1.5 standard units of the currency.
  • performanceGoalPercentageMicros (type: String.t, default: nil) - 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 PERFORMANCE_GOAL_TYPE_CLICK_CVR PERFORMANCE_GOAL_TYPE_IMPRESSION_CVR PERFORMANCE_GOAL_TYPE_VTR PERFORMANCE_GOAL_TYPE_AUDIO_COMPLETION_RATE * PERFORMANCE_GOAL_TYPE_VIDEO_COMPLETION_RATE For example, 70000 represents 7% (decimal 0.07).
  • performanceGoalString (type: String.t, default: nil) - 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.
  • performanceGoalType (type: String.t, default: nil) - Required. The type of the performance goal.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DisplayVideo.V1.Model.PerformanceGoal{
  performanceGoalAmountMicros: String.t() | nil,
  performanceGoalPercentageMicros: String.t() | nil,
  performanceGoalString: String.t() | nil,
  performanceGoalType: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.