Beta Release Notes
1.7
1.7.2
2025-05-16
Added optional
muteOnStart
parameter toRTBRewardedVideoRequestConfiguration
, allowing to force mute of rewarded video ads.
1.7.0
2025-05-07
New Features
Added support for Rewarded Video ads. See the code sample below for basic integration:
// Create rewarded video ad instance
val rtbRewardedVideoAd = RTBRewardedVideoAd(context)
// Set the delegate to listen to events
rtbRewardedVideoAd.delegate = createRTBRewardedVideoDelegate()
// Request the ad
val rtbRewardedVideoRequestConfiguration = RTBRewardedVideoRequestConfiguration(placementId, bundleId)
rtbRewardedVideoRequestConfiguration.sellerId = "<SELLER_ID>" //optional
rtbRewardedVideoAd.load(rtbRewardedVideoRequestConfiguration)
// After getting the rewardedVideoAdDidReceiveAd callback, you can show the ad by calling
rtbRewardedVideoAd.show(activity)
1.6
1.6.0
2025-01-23
New Features
Introduced support for passing user targeting before requesting new ads
Banners
val requestConfiguration = RTBBannerRequestConfiguration(placementId, bundleId) requestConfiguration.userTargeting = RTBUserTargeting(userID = "<USER_ID>", gender = RTBGender.MALE, keywords = listOf("keyword1", "keyword2"), yearOfBirth = 1990) // yearOfBirth must be a 4-digit number, otherwise it will be ignored bannerAdView.load(requestConfiguration)
Fullscreen
val rtbFullscreenRequestConfiguration = RTBFullscreenRequestConfiguration(placementId, bundleId, forceCloseButtonForMraid) rtbFullscreenRequestConfiguration.userTargeting = RTBUserTargeting(userID = "<USER_ID>", gender = RTBGender.MALE, keywords = listOf("keyword1", "keyword2"), yearOfBirth = 1990) // yearOfBirth must be a 4-digit number, otherwise it will be ignored fullscreen.load(rtbFullscreenRequestConfiguration)
Native Ads
val request = RTBNativeAdRequestConfiguration(placementId, bundleId) request.userTargeting = RTBUserTargeting(userID = "<USER_ID>", gender = RTBGender.MALE, keywords = listOf("keyword1", "keyword2"), yearOfBirth = 1990) // yearOfBirth must be a 4-digit number, otherwise it will be ignored loader.load(request)
1.5
1.4
1.3
1.3.0
2024-06-20
Improvements
Added MRAID support for both banners and fullscreen formats.
Provided the bidder (DSP name) with bid responses (Check the API changes section for more information).
API Changes
Enhanced the
RTBBannerViewDelegate
by updating thebannerViewDidReceiveAd
API to include the bidder (DSP name) in the bidding response. The bidder and the bid price are now encapsulated within the newbidInfo
parameter.The new method signature is
fun bannerViewDidReceiveAd(bannerView: RTBBannerView, bidInfo: RTBBidInfo, networkName: String)
Enhanced the
RTBBannerAdDelegate
by updating thebannerAdDidReceiveAd
API to include the bidder (DSP name) in the bidding response. The bidder and the bid price are now encapsulated within the newbidInfo
parameter.The new method signature is
fun bannerAdDidReceiveAd(bidInfo: RTBBidInfo, networkName: String)
Enhanced the
RTBFullscreenDelegate
by updating thefullscreenAdDidReceiveAd
API to include the bidder (DSP name) in the bidding response. The bidder and the bid price are now encapsulated within the newbidInfo
parameter.The new method signature is
fun fullscreenAdDidReceiveAd(fullscreenAd: RTBFullscreenAd, bidInfo: RTBBidInfo, networkName: String)
RTBBidInfo
interface:
class RTBBidInfo(val priceCPM: Float, val bidder: String) {
override fun toString(): String {
return "RTBBidInfo(priceCPM=$priceCPM, bidder='$bidder')"
}
}
1.2
Last updated