AdBaseManagerAdapter

The AdBaseManagerAdapter interface allows the SDK integrator to provide additional URLs to be fired when impression, quartiles or errors are fired.

Functions

Link copied to clipboard
open fun urlsForCompanionClickTracking(adBaseManager: AdBaseManager, adData: AdData): List<String>

Provides the list of URLs to be fired when a clickThrough happens on an AdCompanionView
adBaseManager - the AdBaseManager for which the urls should be provided
adData - the ad from the adBaseManager

Link copied to clipboard
open fun urlsForError(errorCode: VASTErrorCode, adBaseManager: AdBaseManager, adData: AdData): List<String>

Provides the list of URLs to be fired when the specified error event happens
errorCode - the type of error
adBaseManager - the AdBaseManager for which the urls should be provided
adData - the ad from the adBaseManager

Link copied to clipboard
open fun urlsForImpression(adBaseManager: AdBaseManager, adData: AdData): List<String>

Provides the list of URLs to be fired when the impression happens on the specified ad
adBaseManager - the AdBaseManager for which the urls should be provided
adData - the ad from the adBaseManager

Link copied to clipboard
open fun urlsForNoAd(adBaseManager: AdBaseManager, noAdUrlString: String): List<String>

Provides the list of URLs to be fired when an ad opportunity is missed due to no-ad vast response
adBaseManager - the AdBaseManager for which the urls should be provided
noAdUrlString - the url from the no-ad vast response

Link copied to clipboard
open fun urlsForTracking(event: Tracking.EventType, adBaseManager: AdBaseManager, adData: AdData): List<String>

Provides the list of URLs to be fired when the specified tracking event happens
event - the tracking event
adBaseManager - the AdBaseManager for which the urls should be provided
adData - the ad from the adBaseManager

Link copied to clipboard
open fun urlsForVideoClickTracking(adBaseManager: AdBaseManager, adData: AdData): List<String>

Provides the list of URLs to be fired when a clickThrough happens on an AdVideoView
adBaseManager - the AdBaseManager for which the urls should be provided
adData - the ad from the adBaseManager