addBannerConfiguration

fun addBannerConfiguration(configurationId: String, bannerUnitId: String, bannerConfigId: String, sizeList: List<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 = "", wrapperWrapContent: Boolean = true, wrapperMatchParentHeight: Boolean = false, wrapperMatchParentWidth: Boolean = false, wrapperHeight: Int = -1, wrapperWidth: Int = -1, wrapperPosition: WrapperPosition = WrapperPosition.CENTER): ConfigBuilder

Adds a banner configuration to the sdk

Return

ConfigBuilder after caching this configuration

Parameters

configurationId

Configuration ID

bannerUnitId

unit id from the manager

bannerConfigId

config id from the manager

sizeList

list of pair indicating width and height

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

this is for adding specific keywords to the unit

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)