Class: Google::Apis::DfareportingV2_1::CreativeOptimizationConfiguration
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::CreativeOptimizationConfiguration
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb
Overview
Creative optimization settings.
Instance Attribute Summary collapse
-
#id ⇒ String
ID of this creative optimization config.
-
#name ⇒ String
Name of this creative optimization config.
-
#optimization_activitys ⇒ Array<Google::Apis::DfareportingV2_1::OptimizationActivity>
List of optimization activities associated with this configuration.
-
#optimization_model ⇒ String
Optimization model for this configuration.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreativeOptimizationConfiguration
constructor
A new instance of CreativeOptimizationConfiguration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreativeOptimizationConfiguration
Returns a new instance of CreativeOptimizationConfiguration
3703 3704 3705 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3703 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
ID of this creative optimization config. This field is auto-generated when the
campaign is inserted or updated. It can be null for existing campaigns.
Corresponds to the JSON property id
3685 3686 3687 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3685 def id @id end |
#name ⇒ String
Name of this creative optimization config. This is a required field and must
be less than 129 characters long.
Corresponds to the JSON property name
3691 3692 3693 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3691 def name @name end |
#optimization_activitys ⇒ Array<Google::Apis::DfareportingV2_1::OptimizationActivity>
List of optimization activities associated with this configuration.
Corresponds to the JSON property optimizationActivitys
3696 3697 3698 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3696 def optimization_activitys @optimization_activitys end |
#optimization_model ⇒ String
Optimization model for this configuration.
Corresponds to the JSON property optimizationModel
3701 3702 3703 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3701 def optimization_model @optimization_model end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3708 3709 3710 3711 3712 3713 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3708 def update!(**args) @id = args[:id] unless args[:id].nil? @name = args[:name] unless args[:name].nil? @optimization_activitys = args[:optimization_activitys] unless args[:optimization_activitys].nil? @optimization_model = args[:optimization_model] unless args[:optimization_model].nil? end |