class Google::Apis::DfareportingV2_3::CreativeRotation
Creative Rotation.
Attributes
Creative assignments in this creative rotation. Corresponds to the JSON property `creativeAssignments` @return [Array<Google::Apis::DfareportingV2_3::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 [String]
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 generated/google/apis/dfareporting_v2_3/classes.rb, line 3787 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/dfareporting_v2_3/classes.rb, line 3792 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