Class: Google::Apis::DisplayvideoV1::BiddingStrategy
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::BiddingStrategy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/displayvideo_v1/classes.rb,
generated/google/apis/displayvideo_v1/representations.rb,
generated/google/apis/displayvideo_v1/representations.rb
Overview
Settings that control the bid strategy. Bid strategy determines the bid price.
Instance Attribute Summary collapse
-
#fixed_bid ⇒ Google::Apis::DisplayvideoV1::FixedBidStrategy
A strategy that uses a fixed bidding price.
-
#maximize_spend_auto_bid ⇒ Google::Apis::DisplayvideoV1::MaximizeSpendBidStrategy
A strategy that automatically adjusts the bid to optimize a specified performance goal while spending the full budget.
-
#performance_goal_auto_bid ⇒ Google::Apis::DisplayvideoV1::PerformanceGoalBidStrategy
A strategy that automatically adjusts the bid to meet or beat a specified performance goal.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BiddingStrategy
constructor
A new instance of BiddingStrategy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BiddingStrategy
Returns a new instance of BiddingStrategy.
1280 1281 1282 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1280 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fixed_bid ⇒ Google::Apis::DisplayvideoV1::FixedBidStrategy
A strategy that uses a fixed bidding price.
Corresponds to the JSON property fixedBid
1266 1267 1268 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1266 def fixed_bid @fixed_bid end |
#maximize_spend_auto_bid ⇒ Google::Apis::DisplayvideoV1::MaximizeSpendBidStrategy
A strategy that automatically adjusts the bid to optimize a specified
performance goal while spending the full budget.
Corresponds to the JSON property maximizeSpendAutoBid
1272 1273 1274 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1272 def maximize_spend_auto_bid @maximize_spend_auto_bid end |
#performance_goal_auto_bid ⇒ Google::Apis::DisplayvideoV1::PerformanceGoalBidStrategy
A strategy that automatically adjusts the bid to meet or beat a specified
performance goal.
Corresponds to the JSON property performanceGoalAutoBid
1278 1279 1280 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1278 def performance_goal_auto_bid @performance_goal_auto_bid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1285 1286 1287 1288 1289 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1285 def update!(**args) @fixed_bid = args[:fixed_bid] if args.key?(:fixed_bid) @maximize_spend_auto_bid = args[:maximize_spend_auto_bid] if args.key?(:maximize_spend_auto_bid) @performance_goal_auto_bid = args[:performance_goal_auto_bid] if args.key?(:performance_goal_auto_bid) end |