Class: Google::Apis::DfareportingV5::CreativeOptimizationConfiguration
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV5::CreativeOptimizationConfiguration
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v5/classes.rb,
lib/google/apis/dfareporting_v5/representations.rb,
lib/google/apis/dfareporting_v5/representations.rb
Overview
Creative optimization settings.
Instance Attribute Summary collapse
-
#id ⇒ Fixnum
ID of this creative optimization config.
-
#name ⇒ String
Name of this creative optimization config.
-
#optimization_activitys ⇒ Array<Google::Apis::DfareportingV5::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.
Constructor Details
#initialize(**args) ⇒ CreativeOptimizationConfiguration
Returns a new instance of CreativeOptimizationConfiguration.
4931 4932 4933 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 4931 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ Fixnum
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
4913 4914 4915 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 4913 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
4919 4920 4921 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 4919 def name @name end |
#optimization_activitys ⇒ Array<Google::Apis::DfareportingV5::OptimizationActivity>
List of optimization activities associated with this configuration.
Corresponds to the JSON property optimizationActivitys
4924 4925 4926 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 4924 def optimization_activitys @optimization_activitys end |
#optimization_model ⇒ String
Optimization model for this configuration.
Corresponds to the JSON property optimizationModel
4929 4930 4931 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 4929 def optimization_model @optimization_model end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4936 4937 4938 4939 4940 4941 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 4936 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 |