class Google::Apis::DfareportingV3_5::CreativeRotation
Creative
Rotation.
Attributes
Creative
assignments in this creative rotation. Corresponds to the JSON property `creativeAssignments` @return [Array<Google::Apis::DfareportingV3_5::CreativeAssignment>]
Creative
optimization configuration that is used by this ad. It should refer to one of the existing optimization configurations in the ad's campaign. If it is unset or set to 0, then the campaign's default optimization configuration will be used for this ad. Corresponds to the JSON property `creativeOptimizationConfigurationId` @return [Fixnum]
Type of creative rotation. Can be used to specify whether to use sequential or random rotation. Corresponds to the JSON property `type` @return [String]
Strategy for calculating weights. Used with CREATIVE_ROTATION_TYPE_RANDOM. Corresponds to the JSON property `weightCalculationStrategy` @return [String]
Public Class Methods
# File lib/google/apis/dfareporting_v3_5/classes.rb, line 4485 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dfareporting_v3_5/classes.rb, line 4490 def update!(**args) @creative_assignments = args[:creative_assignments] if args.key?(:creative_assignments) @creative_optimization_configuration_id = args[:creative_optimization_configuration_id] if args.key?(:creative_optimization_configuration_id) @type = args[:type] if args.key?(:type) @weight_calculation_strategy = args[:weight_calculation_strategy] if args.key?(:weight_calculation_strategy) end