Beta Release Notes
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.4.0
2024-08-06
Added support for native ads. See here to learn more.
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
1.2.0
2024-05-20
Improvements
Implement the new
RTBBannerAd
feature that loads the banner but does not render it directly like theRTBBannerView
. See here for more information.
Last updated