Storyteller Vast Module
Storyteller VAST Module — generic IAB VAST support for compatible VAST 2.0, 3.0, 4.0, 4.1, and 4.2 linear video ads.
The module is protocol-focused and vendor-neutral. Host apps configure the HTTPS VAST endpoint, provide per-request parameters, and choose how parameters are serialised into the final tag URL. The SDK then fetches VAST XML, resolves wrappers, selects a playable media file, maps tracking URLs into Storyteller ad tracking, and returns a StorytellerAd through the standard module fallback chain.
Basic setup:
val vastModule = StorytellerVastModule.getInstance(applicationContext).apply {
init(
baseUrl = "https://example.com/vast",
requestParameters = { adRequestInfo -> mapOf("placementId" to "abc-123") },
urlFormat = UrlFormat.QueryString,
)
}
Storyteller.modules = listOf(vastModule)See also
Types
Factory for StorytellerVastModule instances.
Properties
Functions
Live stream of diagnostics events emitted by this module's pipeline.
Legacy SDK module entry point without slot context.
Loads a VAST-backed StorytellerAd for the supplied slot.
Bottom banner ads are not part of the VAST protocol surface. Always fails the request so the SDK fallback chain can try the next module.
VAST modules do not consume SDK user-activity events.