Class: Google::Apis::DisplayvideoV1::CampaignGoal
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::CampaignGoal
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/displayvideo_v1/classes.rb,
generated/google/apis/displayvideo_v1/representations.rb,
generated/google/apis/displayvideo_v1/representations.rb
Overview
Settings that control the goal of a campaign.
Instance Attribute Summary collapse
-
#campaign_goal_type ⇒ String
Required.
-
#performance_goal ⇒ Google::Apis::DisplayvideoV1::PerformanceGoal
Settings that control the performance goal of a campaign or insertion order.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CampaignGoal
constructor
A new instance of CampaignGoal.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CampaignGoal
Returns a new instance of CampaignGoal.
1929 1930 1931 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1929 def initialize(**args) update!(**args) end |
Instance Attribute Details
#campaign_goal_type ⇒ String
Required. The type of the campaign goal.
Corresponds to the JSON property campaignGoalType
1922 1923 1924 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1922 def campaign_goal_type @campaign_goal_type end |
#performance_goal ⇒ Google::Apis::DisplayvideoV1::PerformanceGoal
Settings that control the performance goal of a campaign or insertion order.
Corresponds to the JSON property performanceGoal
1927 1928 1929 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1927 def performance_goal @performance_goal end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1934 1935 1936 1937 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1934 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 |