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

Settings that control the goal of a campaign.

Attributes

  • campaignGoalType (type: String.t, default: nil) - Required. The type of the campaign goal.
  • performanceGoal (type: GoogleApi.DisplayVideo.V1.Model.PerformanceGoal.t, default: nil) - 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

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DisplayVideo.V1.Model.CampaignGoal{
  campaignGoalType: String.t() | nil,
  performanceGoal: GoogleApi.DisplayVideo.V1.Model.PerformanceGoal.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.