public class RandomPriceStrategy extends Object implements BidStrategy
AdcandidateOuterClass.Bidding.CustomStrategy.Params
, it simply uses the first one when iterating
through param list.Modifier and Type | Field and Description |
---|---|
static String |
STRATEGY_NAME |
Constructor and Description |
---|
RandomPriceStrategy() |
Modifier and Type | Method and Description |
---|---|
long |
getBidPriceMicrosUSD(com.beeswax.bid.AdcandidateOuterClass.Adcandidate candidate,
com.beeswax.openrtb.Openrtb.BidRequest request)
Get a random bid price no exceeding a max price micros from custom strategy parameter.
|
public static final String STRATEGY_NAME
public long getBidPriceMicrosUSD(com.beeswax.bid.AdcandidateOuterClass.Adcandidate candidate, com.beeswax.openrtb.Openrtb.BidRequest request)
getBidPriceMicrosUSD
in interface BidStrategy
Adcandidate
- bid
- requestCopyright © 2017. All rights reserved.