campaignId
The SDK provides functionality to request a specific campaign from the backend. This could be helpful for debugging and testing purposes.
For that, you could pass campaign id as parameters for the AdRequest.
Note: The campaignId parameter works only if bannerId is specified in the request.
val result = AdService.makeAdvertisement(
AdRequest(
contentUnit = CONTENT_UNIT,
campaignId = "1234",
bannerId = "4567"
)
)
Content copied to clipboard