public class POBImpression
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected POBRequest.AdPosition |
adPosition |
protected java.lang.String |
adUnitId
The unique identifier which represents an ad placement on the app screen.
|
protected java.lang.String |
id
This parameter is used to hold impression identifier
|
protected boolean |
interstitial |
protected java.lang.String |
pmZoneId
This parameter is used to pass a zone ID for reporting.
|
| Modifier | Constructor and Description |
|---|---|
protected |
POBImpression(java.lang.String id,
java.lang.String adUnitId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAdUnitId()
Returns the unique identifier which represents an ad placement on the app screen.
|
org.json.JSONObject |
getImpressionJson()
(Internal for OpenBid SDK)
|
void |
setCustomParam(java.util.Map<java.lang.String,java.util.List<java.lang.String>> map)
Adds custom key-value parameters in an Ad request.
|
void |
setPMZoneId(java.lang.String pmZoneId)
Set the zone id.
|
protected final java.lang.String id
protected final java.lang.String adUnitId
protected java.lang.String pmZoneId
protected boolean interstitial
protected POBRequest.AdPosition adPosition
protected POBImpression(java.lang.String id,
java.lang.String adUnitId)
id - Unique identifier of the impressionadUnitId - The unique identifier which represents an ad placement on the app screen.
This is the one you defined while creating profile mappings on the OpenBid
dashboard.public java.lang.String getAdUnitId()
public void setPMZoneId(java.lang.String pmZoneId)
pmZoneId - zone idpublic void setCustomParam(java.util.Map<java.lang.String,java.util.List<java.lang.String>> map)
map - map of key-value pairpublic org.json.JSONObject getImpressionJson()
throws org.json.JSONException
org.json.JSONException - throws JSONException