class Google::Apis::DfareportingV2_3::OptimizationActivity

Creative optimization activity.

Attributes

floodlight_activity_id[RW]

Floodlight activity ID of this optimization activity. This is a required field. Corresponds to the JSON property `floodlightActivityId` @return [String]

floodlight_activity_id_dimension_value[RW]

Represents a DimensionValue resource. Corresponds to the JSON property `floodlightActivityIdDimensionValue` @return [Google::Apis::DfareportingV2_3::DimensionValue]

weight[RW]

Weight associated with this optimization. Must be greater than 1. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Corresponds to the JSON property `weight` @return [Fixnum]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/dfareporting_v2_3/classes.rb, line 6831
def update!(**args)
  @floodlight_activity_id = args[:floodlight_activity_id] if args.key?(:floodlight_activity_id)
  @floodlight_activity_id_dimension_value = args[:floodlight_activity_id_dimension_value] if args.key?(:floodlight_activity_id_dimension_value)
  @weight = args[:weight] if args.key?(:weight)
end