setCustomDimensions
fun setCustomDimensions(contentCustomData: Map<Int, String?>, adCustomData: Map<Int, String?>?, replicateContentToAd: Boolean = false)
Sets the custom dimensions for the application session. These dimensions will be applied across all the playback session in NPAW.
Parameters
contentCustomData
the custom dimensions related to the content.
adCustomData
the custom dimensions related to the ads.
replicateContentToAd
the flag to indicate whether the content custom dimensions should be replicated to ads in case ad custom dimensions are not provided. If this flag is set to true and ad custom dimensions are not provided, then content custom dimensions will be applied to ads as well If set to false takes the ad custom dimensions from adCustom data null otherwise.