SVSAd Placement
Class representing an instream ad placement
Constructors
Link copied to clipboard
Creates a SVSAdPlacement instance from specified parameters
Creates a SVSAdPlacement instance from specified parameters.
Properties
Link copied to clipboard
The default targeting string of this ad placement.
Link copied to clipboard
The targeting string specific for midroll of this ad placement.
Link copied to clipboard
The targeting string specific for postroll of this ad placement.
Link copied to clipboard
A test placement that will return one ad for preroll, midroll and postroll
Link copied to clipboard
The targeting string specific for preroll of this ad placement.
Link copied to clipboard
A Supply Chain Object string representation that will be sent during ad loading to receive more relevant advertising if needed, null otherwise.
Functions
Link copied to clipboard
open fun getParameters(@NonNull parameters: HashMap<String, String>, @NonNull adBreakType: SVSAdBreakType)
Fills the passed HashMap with all relevant parameters of this SVSAdPlacement Object
Link copied to clipboard
Returns the appropriate targeting string for the given ad break type.
Link copied to clipboard
Returns whether this placement relies on a page name or a page Id.