Class: Google::Apis::DisplayvideoV3::MaximizeSpendBidStrategy
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::MaximizeSpendBidStrategy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb
Overview
A strategy that automatically adjusts the bid to optimize a specified performance goal while spending the full budget.
Instance Attribute Summary collapse
-
#custom_bidding_algorithm_id ⇒ Fixnum
The ID of the Custom Bidding Algorithm used by this strategy.
-
#max_average_cpm_bid_amount_micros ⇒ Fixnum
The maximum average CPM that may be bid, in micros of the advertiser's currency.
-
#performance_goal_type ⇒ String
Required.
-
#raise_bid_for_deals ⇒ Boolean
(also: #raise_bid_for_deals?)
Whether the strategy takes deal floor prices into account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MaximizeSpendBidStrategy
constructor
A new instance of MaximizeSpendBidStrategy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MaximizeSpendBidStrategy
Returns a new instance of MaximizeSpendBidStrategy.
9632 9633 9634 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 9632 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_bidding_algorithm_id ⇒ Fixnum
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
9609 9610 9611 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 9609 def custom_bidding_algorithm_id @custom_bidding_algorithm_id end |
#max_average_cpm_bid_amount_micros ⇒ 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
9616 9617 9618 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 9616 def max_average_cpm_bid_amount_micros @max_average_cpm_bid_amount_micros end |
#performance_goal_type ⇒ String
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
9624 9625 9626 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 9624 def performance_goal_type @performance_goal_type end |
#raise_bid_for_deals ⇒ Boolean Also known as: raise_bid_for_deals?
Whether the strategy takes deal floor prices into account.
Corresponds to the JSON property raiseBidForDeals
9629 9630 9631 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 9629 def raise_bid_for_deals @raise_bid_for_deals end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9637 9638 9639 9640 9641 9642 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 9637 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) @raise_bid_for_deals = args[:raise_bid_for_deals] if args.key?(:raise_bid_for_deals) end |