class Google::Apis::DfareportingV3_4::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 [Fixnum]
floodlight_activity_id_dimension_value[RW]
Represents a DimensionValue
resource. Corresponds to the JSON property `floodlightActivityIdDimensionValue` @return [Google::Apis::DfareportingV3_4::DimensionValue]
weight[RW]
Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1. Corresponds to the JSON property `weight` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dfareporting_v3_4/classes.rb, line 8229 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_4/classes.rb, line 8234 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