Class: Google::Apis::DfareportingV2_3::CreativeOptimizationConfiguration
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_3::CreativeOptimizationConfiguration
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_3/classes.rb,
generated/google/apis/dfareporting_v2_3/representations.rb,
generated/google/apis/dfareporting_v2_3/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_3::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::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreativeOptimizationConfiguration
Returns a new instance of CreativeOptimizationConfiguration
3755 3756 3757 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 3755 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
3737 3738 3739 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 3737 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
3743 3744 3745 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 3743 def name @name end |
#optimization_activitys ⇒ Array<Google::Apis::DfareportingV2_3::OptimizationActivity>
List of optimization activities associated with this configuration.
Corresponds to the JSON property optimizationActivitys
3748 3749 3750 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 3748 def optimization_activitys @optimization_activitys end |
#optimization_model ⇒ String
Optimization model for this configuration.
Corresponds to the JSON property optimizationModel
3753 3754 3755 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 3753 def optimization_model @optimization_model end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3760 3761 3762 3763 3764 3765 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 3760 def update!(**args) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) @optimization_activitys = args[:optimization_activitys] if args.key?(:optimization_activitys) @optimization_model = args[:optimization_model] if args.key?(:optimization_model) end |