bannerId

The SDK provides functionality to request a specific banner from the backend. This could be helpful for debugging and testing purposes.

For that, you could pass banner id as parameters for the AdRequest. This way, backend will not be choosing a banner by itself, but will just deliver the banner from the specified parameters.

Note: The bannerId parameter works only if campaignId is specified in the request.

val result = AdService.makeAdvertisement(
AdRequest(
contentUnit = CONTENT_UNIT,
campaignId = "1234",
bannerId = "4567"
)
)