public class POBBid
extends java.lang.Object
implements com.pubmatic.sdk.common.base.POBAdDescriptor
| Modifier and Type | Class and Description |
|---|---|
static class |
POBBid.POBSummary
POBSummary class instance holds the information of a single bid which participated in the
auction.
|
| Constructor and Description |
|---|
POBBid() |
| Modifier and Type | Method and Description |
|---|---|
static POBBid |
build(java.lang.String partnerName,
org.json.JSONObject bidJsonObject)
(Internal for OpenBid SDK)
Initializes and returns POBBid object with given bid details and partner name
|
java.lang.String |
getCreative()
Returns ad creative
|
java.lang.String |
getCreativeId()
Returns the creative Id
|
java.lang.String |
getDealId()
Returns deal Id.
|
int |
getHeight()
Returns Height of bid creative
|
java.lang.String |
getImpressionId()
Returns an Impression Id.
|
java.lang.String |
getnURL()
Returns Win notice URL called by the exchange if the bid wins
|
java.lang.String |
getPartnerName()
Returns the name of the winning partner
|
double |
getPrice()
Returns Price/bid value
|
int |
getRefreshInterval()
Returns the refresh interval received in ad response
|
java.lang.String |
getRenderableContent() |
int |
getStatus()
Returns Bid status
|
java.util.List<POBBid.POBSummary> |
getSummary()
Returns bid summary for debugging purpose
|
java.util.Map<java.lang.String,java.lang.String> |
getTargetingInfo()
Returns the map of targeting information, that needs to be passed to ad server SDK.
|
protected java.util.Map<java.lang.String,java.lang.String> |
getTargetingInfoWithPricePrecision(int precision)
Returns the map of targeting information, that needs to be passed to ad server SDK with specified price
precision.
|
int |
getWidth()
Returns Width of bid creative
|
java.lang.String |
toString() |
public static POBBid build(java.lang.String partnerName, org.json.JSONObject bidJsonObject)
partnerName - Name of the partnerbidJsonObject - JSON object for the winning bidpublic int getStatus()
public java.lang.String getPartnerName()
public java.lang.String getCreativeId()
public java.lang.String getImpressionId()
public double getPrice()
public java.lang.String getCreative()
public java.lang.String getDealId()
public java.util.List<POBBid.POBSummary> getSummary()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getnURL()
public int getWidth()
public int getHeight()
public int getRefreshInterval()
public java.util.Map<java.lang.String,java.lang.String> getTargetingInfo()
protected java.util.Map<java.lang.String,java.lang.String> getTargetingInfoWithPricePrecision(int precision)
precision - Number of digits allowed after decimal point
e.g. If Actual price is 1.456 and precision is 2, then tergeting information
dictionary will have value for price as info[pwtecp]=1.46public java.lang.String getRenderableContent()
getRenderableContent in interface com.pubmatic.sdk.common.base.POBAdDescriptor