class Google::Apis::DisplayvideoV1::MaximizeSpendBidStrategy
A strategy that automatically adjusts the bid to optimize a specified performance goal while spending the full budget.
Attributes
The ID of the Custom Bidding Algorithm used by this strategy. Only applicable when performance_goal_type
is set to ` BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`. Corresponds to the JSON property `customBiddingAlgorithmId` @return [Fixnum]
The maximum average CPM that may be bid, in micros of the advertiser's currency. Must be greater than or equal to a billable unit of the given currency. For example, 1500000 represents 1.5 standard units of the currency. Corresponds to the JSON property `maxAverageCpmBidAmountMicros` @return [Fixnum]
Required. The type of the performance goal that the bidding strategy tries to minimize while spending the full budget. ` BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM` is not supported for this strategy. Corresponds to the JSON property `performanceGoalType` @return [String]
Public Class Methods
# File lib/google/apis/displayvideo_v1/classes.rb, line 7125 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/displayvideo_v1/classes.rb, line 7130 def update!(**args) @custom_bidding_algorithm_id = args[:custom_bidding_algorithm_id] if args.key?(:custom_bidding_algorithm_id) @max_average_cpm_bid_amount_micros = args[:max_average_cpm_bid_amount_micros] if args.key?(:max_average_cpm_bid_amount_micros) @performance_goal_type = args[:performance_goal_type] if args.key?(:performance_goal_type) end