public class BidResponse
extends java.lang.Object
| Constructor and Description |
|---|
BidResponse(java.lang.Double cpm,
java.lang.String creative) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCustomKeyword(java.lang.String key,
java.lang.String value)
Add a custom keyword for customized BidManager targeting of Line items.
|
java.lang.Double |
getCpm()
Get the CPM bid price of the response.
|
java.lang.String |
getCreative()
Get the url that can return a creative.
|
java.util.ArrayList<<any>> |
getCustomKeywords()
Get the custom keywords for customized BidManager targeting of Line items.
|
boolean |
isExpired()
For BidManager Module to check if the bid response is still valid.
|
void |
setBidderCode(java.lang.String bidderCode)
Set the name of the bidder that responded this bid
|
void |
setExpiryTime(long expiryTime)
Set the expiration time.
|
java.lang.String |
toString() |
public java.lang.Double getCpm()
public java.lang.String getCreative()
public java.util.ArrayList<<any>> getCustomKeywords()
public void addCustomKeyword(java.lang.String key,
java.lang.String value)
key - The key to add; this cannot be null or empty.value - The value to add; this cannot be null or empty.public void setExpiryTime(long expiryTime)
expiryTime - in millisecondspublic boolean isExpired()
public void setBidderCode(java.lang.String bidderCode)
bidderCode - bidder's namepublic java.lang.String toString()
toString in class java.lang.Object