public class POBVastAd extends java.lang.Object implements POBXMLNodeListener
This object may be an inline ad or a wrapper.
| Modifier and Type | Class and Description |
|---|---|
static class |
POBVastAd.POBVastAdParameter
Enum to specify vast ad parameter type
|
static class |
POBVastAd.POBVastAdType
Vast ad type
|
| Constructor and Description |
|---|
POBVastAd() |
| Modifier and Type | Method and Description |
|---|---|
void |
build(POBNodeBuilder builder)
POBXMLParser calls this method to build model class object with node builder
|
int |
getAdSequence()
Returns an integer value with sequence values those are part of a pod and are intended to be
played in sequence.
|
java.lang.String |
getAdServingId()
A unique or pseudo-unique (long enough to be unique when combined with timestamp data) numerical value.
|
java.lang.String |
getAdSystem()
A string that provides the name of the ad server that returned the ad
|
java.lang.String |
getAdTitle()
A string that provides a common name for the ad
|
POBVastAd.POBVastAdType |
getAdType()
Vast ad type inline or wrapper
|
java.util.List<POBAdVerification> |
getAdVerification()
List of the AdVerification objects
|
POBIcon |
getClosestIcon()
Returns the closest Icon from the Linear ad of current Vast ad.
|
java.util.List<POBCompanion> |
getCombinedCompanions()
List of combined companions from all the wrappers
|
java.util.List<java.lang.String> |
getCombinedList(POBVastAd.POBVastAdParameter parameter)
Returns the list of the Vast tracking URLs for Inline and all level of its wrapper based on
provided parameter
|
java.util.List<POBXMLNodeListener> |
getCombinedObjectList(POBVastAd.POBVastAdParameter parameter)
Returns the list of the Vast Ad nodes for Inline and all level of its wrapper based on
provided parameter
|
java.util.List<java.lang.String> |
getCombinedTrackingEventList(POBVastCreative.POBEventTypes eventTypes)
Returns the list of the Vast tracking URLs for Inline and all level of its wrapper, based on
provided event type
|
java.util.List<com.pubmatic.sdk.common.viewability.POBVideoMeasurementProvider.POBVerificationScriptResource> |
getCombinedVerificationList()
List of the specified Vast ad parameter
|
java.util.List<POBCompanion> |
getCompanions()
List of companion creatives.
|
POBVastCreative |
getCreative()
Creative of type POBVastCreative.
|
java.lang.String |
getDescription()
A string value that describes a longer description of the ad
|
java.util.List<java.lang.String> |
getErrorURLs()
List of URIs to tracking resource to be used when an error in ad playback occurs.
|
int |
getExpires()
An integer value that defines the expiry period (in seconds).
|
java.util.List<java.lang.String> |
getImpressions()
List of URLs to notify the ad server when the impression occurs.
|
java.util.List<java.lang.String> |
getNotViewableImpressions()
A URI that directs the media player to a tracking resource file that the media player
should request if the ad is executed but never meets criteria for a viewable impression.
|
java.lang.String |
getPricing()
A numerical value that represents a price that can be used in real-time bidding systems
|
java.lang.String |
getVASTAdTagURI()
A URI to a VAST response that may be another VAST Wrapper or a VAST InLine ad.
|
java.util.List<java.lang.String> |
getViewableImpressions()
A URI that directs the media player to a tracking resource file that the media player should
request at the time that criteria is met for a viewable impression.
|
java.util.List<java.lang.String> |
getViewUndeterminedImpressions()
A URI that directs the media player to a tracking resource file that the media player
should request if the player cannot determine whether criteria is met for a viewable impression.
|
POBVastAd |
getWrapper()
Reference of wrapper through which current VastAd is received.
|
void |
setWrapper(POBVastAd wrapper)
Setter to set wrpper ad on current VAST ad
|
public void build(@NonNull
POBNodeBuilder builder)
POBXMLNodeListenerbuild in interface POBXMLNodeListenerbuilder - Instance of POBNodeBuilder, to be used for building the model class objectpublic POBVastAd.POBVastAdType getAdType()
public java.lang.String getAdSystem()
public java.lang.String getAdTitle()
public java.lang.String getAdServingId()
public java.lang.String getDescription()
public java.lang.String getPricing()
public int getExpires()
public int getAdSequence()
public java.lang.String getVASTAdTagURI()
@NonNull
public java.util.List<java.lang.String> getCombinedTrackingEventList(@NonNull
POBVastCreative.POBEventTypes eventTypes)
eventTypes - Vast event type@Nullable public POBVastCreative getCreative()
@Nullable public POBVastAd getWrapper()
public void setWrapper(@Nullable
POBVastAd wrapper)
wrapper - previous wrapper ad@Nullable public POBIcon getClosestIcon()
@NonNull
public java.util.List<java.lang.String> getCombinedList(@NonNull
POBVastAd.POBVastAdParameter parameter)
parameter - Vast ad parameterpublic java.util.List<java.lang.String> getImpressions()
public java.util.List<java.lang.String> getErrorURLs()
public java.util.List<java.lang.String> getViewableImpressions()
public java.util.List<java.lang.String> getNotViewableImpressions()
public java.util.List<java.lang.String> getViewUndeterminedImpressions()
public java.util.List<POBCompanion> getCombinedCompanions()
public java.util.List<POBCompanion> getCompanions()
public java.util.List<POBXMLNodeListener> getCombinedObjectList(@NonNull POBVastAd.POBVastAdParameter parameter)
parameter - Vast ad parameterpublic java.util.List<com.pubmatic.sdk.common.viewability.POBVideoMeasurementProvider.POBVerificationScriptResource> getCombinedVerificationList()
public java.util.List<POBAdVerification> getAdVerification()
Each verification object element contains the executable and bootstrapping data required to run the measurement code for a single verification vendor.