Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignOptimizationGoalSetting
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignOptimizationGoalSetting
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v0/classes.rb,
lib/google/apis/searchads360_v0/representations.rb,
lib/google/apis/searchads360_v0/representations.rb
Overview
Optimization goal setting for this campaign, which includes a set of optimization goal types.
Instance Attribute Summary collapse
-
#optimization_goal_types ⇒ Array<String>
The list of optimization goal types.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesCampaignOptimizationGoalSetting
constructor
A new instance of GoogleAdsSearchads360V0ResourcesCampaignOptimizationGoalSetting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesCampaignOptimizationGoalSetting
Returns a new instance of GoogleAdsSearchads360V0ResourcesCampaignOptimizationGoalSetting.
3531 3532 3533 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3531 def initialize(**args) update!(**args) end |
Instance Attribute Details
#optimization_goal_types ⇒ Array<String>
The list of optimization goal types.
Corresponds to the JSON property optimizationGoalTypes
3529 3530 3531 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3529 def optimization_goal_types @optimization_goal_types end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3536 3537 3538 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3536 def update!(**args) @optimization_goal_types = args[:optimization_goal_types] if args.key?(:optimization_goal_types) end |