init
fun init(adUnit: (StorytellerAdRequestInfo) -> String, descriptionUrl: (StorytellerAdRequestInfo) -> String, contentUrl: (StorytellerAdRequestInfo) -> String? = { null }, customParams: (StorytellerAdRequestInfo) -> Map<String, String> = { emptyMap() }, tagParameters: (StorytellerAdRequestInfo) -> Map<String, String> = { emptyMap() })
Configures the GAM VAST module. Must be called before the module is registered with com.storyteller.Storyteller.modules.
Parameters
ad Unit
Per-request GAM ad unit path. Serialized as iu.
description Url
Per-request page or content description URL. Serialized as description_url.
content Url
Optional per-request content URL. Serialized as url when non-blank.
custom Params
Optional GAM custom targeting. Serialized into cust_params.
tag Parameters
Optional top-level GAM tag parameters. Merged last so clients can override SDK-provided top-level parameters, including iu, output, env, gdfp_req, sz, correlator, description_url, url, vpa, vpmute, and cust_params.