replaceAdTagParameters

open fun replaceAdTagParameters(adTagParameters: Map<String, String>)

Replaces all the ad tag parameters used for upcoming ad requests on the current live stream. This delegates to replaceAdTagParameters and has no effect on VOD streams.

Call this method whenever targeting parameters need to change mid-stream, for example when a new show begins on a live channel.

The provided parameters are filtered against the same allowlist used for the initial stream request (see Supply targeting parameters to your stream).

Parameters

adTagParameters

The new ad tag parameters to use for future ad breaks.