class Google::Apis::DisplayvideoV1::CampaignGoal

Settings that control the goal of a campaign.

Attributes

campaign_goal_type[RW]

Required. The type of the campaign goal. Corresponds to the JSON property `campaignGoalType` @return [String]

performance_goal[RW]

Settings that control the performance goal of a campaign or insertion order. Corresponds to the JSON property `performanceGoal` @return [Google::Apis::DisplayvideoV1::PerformanceGoal]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 2282
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/displayvideo_v1/classes.rb, line 2287
def update!(**args)
  @campaign_goal_type = args[:campaign_goal_type] if args.key?(:campaign_goal_type)
  @performance_goal = args[:performance_goal] if args.key?(:performance_goal)
end