class Google::Apis::DfareportingV3_5::CreativeOptimizationConfiguration

Creative optimization settings.

Attributes

id[RW]

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` @return [Fixnum]

name[RW]

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` @return [String]

optimization_activitys[RW]

List of optimization activities associated with this configuration. Corresponds to the JSON property `optimizationActivitys` @return [Array<Google::Apis::DfareportingV3_5::OptimizationActivity>]

optimization_model[RW]

Optimization model for this configuration. Corresponds to the JSON property `optimizationModel` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dfareporting_v3_5/classes.rb, line 4444
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dfareporting_v3_5/classes.rb, line 4449
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