public class POBBidsBuilder extends java.lang.Object implements com.pubmatic.sdk.common.base.POBAdBuilding<POBBid>
| Constructor and Description |
|---|
POBBidsBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
build(com.pubmatic.sdk.common.models.POBAdResponse<POBBid> response) |
java.lang.String |
getPartnerId()
Returns the OpenWrap partner Id of this bid
|
void |
setCreativeType(java.lang.String creativeType)
Set creative type if not available in the bid response.
|
void |
setHeight(int height)
Set height to bid if no width is available in build response
|
void |
setListener(com.pubmatic.sdk.common.base.POBAdBuilding.PMAdBuilderListener<POBBid> listener) |
void |
setPartnerId(java.lang.String partnerId) |
void |
setPartnerName(java.lang.String partnerName)
Used to set partner name to bid, it used when if no partner name is returned in build response
|
void |
setWidth(int width)
Set width to bid if no width is available in build response
|
public void build(@Nullable
com.pubmatic.sdk.common.models.POBAdResponse<POBBid> response)
build in interface com.pubmatic.sdk.common.base.POBAdBuilding<POBBid>public void setListener(com.pubmatic.sdk.common.base.POBAdBuilding.PMAdBuilderListener<POBBid> listener)
setListener in interface com.pubmatic.sdk.common.base.POBAdBuilding<POBBid>public java.lang.String getPartnerId()
public void setPartnerId(java.lang.String partnerId)
public void setPartnerName(java.lang.String partnerName)
partnerName - the name of bidding partnerpublic void setWidth(int width)
width - the width of bidding partnerpublic void setHeight(int height)
height - the height of bidding partnerpublic void setCreativeType(@Nullable
java.lang.String creativeType)
creativeType - type of creative going to be served