public class POBCompanion extends POBVastCreative implements com.pubmatic.sdk.common.base.POBAdDescriptor
POBVastCreative.CreativeType, POBVastCreative.POBEventTypesmClickTrackers| Constructor and Description |
|---|
POBCompanion() |
| Modifier and Type | Method and Description |
|---|---|
void |
build(POBNodeBuilder builder)
POBXMLParser calls this method to build model class object with node builder
|
com.pubmatic.sdk.common.base.POBAdDescriptor |
buildWithRefreshAndExpiryTimeout(int refreshInterval,
int expiryTimeout) |
java.lang.String |
getApiFramework()
The API necessary to communicate with the creative if available
|
int |
getAssetHeight()
The pixel width of the creative.
|
int |
getAssetWidth()
The pixel width of the creative.
|
java.lang.String |
getClickThroughURL()
A URI to open when companion ad is clicked.
|
java.util.List<java.lang.String> |
getClickTrackers()
A URI to notify the player that ad was clicked.
|
int |
getContentHeight() |
int |
getContentWidth() |
java.lang.String |
getCreativeType() |
int |
getHeight()
Returns the height of placement slot
|
java.lang.String |
getId()
Returns null as default implementation
|
org.json.JSONObject |
getRawBid() |
int |
getRefreshInterval() |
java.lang.String |
getRenderableContent() |
java.lang.String |
getRenderingMode() |
POBResource |
getResource()
Companion resources to be displayed
|
int |
getStatus() |
java.util.Map<java.lang.String,java.lang.String> |
getTargetingInfo() |
java.util.List<POBTracking> |
getTrackingEvents()
List of event tracker URL's
|
java.lang.String |
getUniversalAdId()
A unique creative identifier
|
POBVastCreative.CreativeType |
getVastCreativeType()
Getter method, provides type of creative which is implemented at child classes
specific event type classes
|
int |
getWidth()
Returns the width of placement slot
|
boolean |
isVideo() |
void |
setRenderingMode(java.lang.String renderingMode) |
getTrackingEvents, getTrackingEventUrlspublic void build(@NonNull
POBNodeBuilder builder)
POBXMLNodeListenerbuild in interface POBXMLNodeListenerbuilder - Instance of POBNodeBuilder, to be used for building the model class objectpublic int getWidth()
public int getHeight()
public int getAssetWidth()
public int getAssetHeight()
@Nullable public java.lang.String getApiFramework()
@Nullable public java.lang.String getRenderingMode()
public void setRenderingMode(@Nullable
java.lang.String renderingMode)
@Nullable public POBResource getResource()
@Nullable public java.lang.String getClickThroughURL()
getClickThroughURL in class POBVastCreative@Nullable public java.util.List<java.lang.String> getClickTrackers()
getClickTrackers in class POBVastCreative@Nullable public java.util.List<POBTracking> getTrackingEvents()
POBVastCreativepublic POBVastCreative.CreativeType getVastCreativeType()
POBVastCreativegetVastCreativeType in class POBVastCreative@Nullable public java.lang.String getUniversalAdId()
@Nullable public java.lang.String getRenderableContent()
getRenderableContent in interface com.pubmatic.sdk.common.base.POBAdDescriptorpublic boolean isVideo()
isVideo in interface com.pubmatic.sdk.common.base.POBAdDescriptorpublic int getContentWidth()
getContentWidth in interface com.pubmatic.sdk.common.base.POBAdDescriptorpublic int getContentHeight()
getContentHeight in interface com.pubmatic.sdk.common.base.POBAdDescriptor@Nullable public org.json.JSONObject getRawBid()
getRawBid in interface com.pubmatic.sdk.common.base.POBAdDescriptorpublic int getRefreshInterval()
getRefreshInterval in interface com.pubmatic.sdk.common.base.POBAdDescriptor@Nullable public java.lang.String getId()
getId in interface com.pubmatic.sdk.common.base.POBAdDescriptor@Nullable public java.lang.String getCreativeType()
getCreativeType in interface com.pubmatic.sdk.common.base.POBAdDescriptorpublic int getStatus()
getStatus in interface com.pubmatic.sdk.common.base.POBAdDescriptor@Nullable public java.util.Map<java.lang.String,java.lang.String> getTargetingInfo()
getTargetingInfo in interface com.pubmatic.sdk.common.base.POBAdDescriptor@Nullable
public com.pubmatic.sdk.common.base.POBAdDescriptor buildWithRefreshAndExpiryTimeout(int refreshInterval,
int expiryTimeout)
buildWithRefreshAndExpiryTimeout in interface com.pubmatic.sdk.common.base.POBAdDescriptor