addVideoOutstreamBannerConfiguration

fun addVideoOutstreamBannerConfiguration(configurationId: String, outstreamUnitId: String, outstreamConfigId: String, size: Pair<Int, Int>, autoRefreshMillis: Int = 30000, isCapped: Boolean = false, adAmountPerTimeSlot: Int = 1, timeSlotSize: Long = 3600000, keywords: List<String>? = null, unitFPID: Map<String, Set<String>>? = null, closeButtonIsActive: Boolean = false, closeButtonImageURL: String? = null, wrapperWrapContent: Boolean = true, wrapperMatchParentHeight: Boolean = false, wrapperMatchParentWidth: Boolean = false, wrapperHeight: Int = -1, wrapperWidth: Int = -1, wrapperPosition: WrapperPosition = WrapperPosition.CENTER): ConfigBuilder

Adds a video banner configuration to the sdk

Return

ConfigBuilder after caching this configuration

Parameters

configurationId

Configuration ID

outstreamUnitId

Unit id from the manager

outstreamConfigId

Config id from the manager

size

Size of the video outstream banner in px

autoRefreshMillis

Ad auto refresh timer (default = 30000 millis / 30 seconds)

isCapped

If ad is capped (default = false)

adAmountPerTimeSlot

Capping amount of ads per time slot (default = 1)

timeSlotSize

Size of the time slot (default = 3600000 millis / 1 hour)

keywords

Advertisement keywords for better targeting

unitFPID

This is for adding specific first party data to the unit

closeButtonIsActive

Activate ad close button (default = false)

closeButtonImageURL

Url of custom icon for ad close button

wrapperWrapContent

Wrap r89Wrapper around the content (ad)

wrapperMatchParentHeight

Match r89Wrapper height with publishers wrapper height

wrapperMatchParentWidth

Match r89Wrapper width with publishers wrapper width

wrapperHeight

Change r89Wrapper's height in dp

wrapperWidth

Change r89Wrapper's width in dp

wrapperPosition

Change r89Wrapper's position inside of publishers wrapper WrapperPosition.(CENTER/START/END/TOP/BOTTOM)