Class POBVastCreative
-
- All Implemented Interfaces:
-
com.pubmatic.sdk.video.xmlserialiser.POBXMLNodeListener
public abstract class POBVastCreative implements POBXMLNodeListener
Interface to interact with various types of creatives e.g. linear, non-linear, companion etc.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumPOBVastCreative.POBEventTypespublic enumPOBVastCreative.CreativeTypeDifferent types of Creative's
-
Constructor Summary
Constructors Constructor Description POBVastCreative()
-
Method Summary
Modifier and Type Method Description StringgetClickThroughURL()A URI to open when companion ad is clicked. List<String>getClickTrackers()A URI to notify the player that ad was clicked. List<String>getTrackingEventUrls(@NonNull() POBVastCreative.POBEventTypes event)List of event specific event tracker URL's List<POBTracking>getTrackingEvents(@NonNull() POBVastCreative.POBEventTypes event)List of event specific event tracker URL's abstract POBVastCreative.CreativeTypegetVastCreativeType()Getter method, provides type of creative which is implemented at child classes specific event type classes -
-
Method Detail
-
getClickThroughURL
@Nullable() String getClickThroughURL()
A URI to open when companion ad is clicked.
- Returns:
click through URL
-
getClickTrackers
@Nullable() List<String> getClickTrackers()
A URI to notify the player that ad was clicked.
- Returns:
click tracking URL
-
getTrackingEventUrls
@NonNull() List<String> getTrackingEventUrls(@NonNull() POBVastCreative.POBEventTypes event)
List of event specific event tracker URL's
- Parameters:
event- Type of tracking event- Returns:
List of the tracking URLs
-
getTrackingEvents
@Nullable() List<POBTracking> getTrackingEvents(@NonNull() POBVastCreative.POBEventTypes event)
List of event specific event tracker URL's
- Parameters:
event- Type of tracking event- Returns:
List of the tracking URLs
-
getVastCreativeType
abstract POBVastCreative.CreativeType getVastCreativeType()
Getter method, provides type of creative which is implemented at child classes specific event type classes
- Returns:
creative type(linear, non-linear, campanion)
-
-
-
-