Beta Release Notes
Last updated
Last updated
2025-01-15
Introduced support for passing user targeting before requesting new ads
Banners
let configuration = RTBBannerRequestConfiguration(placementId: <PLACEMENT_ID>, iTunesAppId: "<ITUNES_APP_ID>")
configuration.userTargeting = .init(userId: "<USER_ID>", gender: .male, yearOfBirth: <YEAR_OF_BIRTH>, keywords: ["kw1, kw2, kw3"])
// YEAR_OF_BIRTH must be a 4-digit number
bannerView.load(configuration: configuration)
Fullscreen
let configuration = RTBFullscreenRequestConfiguration(placementId: <PLACEMENT_ID>, iTunesAppId: "<ITUNES_APP_ID>")
configuration.userTargeting = .init(userId: "<USER_ID>", gender: .male, yearOfBirth: <YEAR_OF_BIRTH>, keywords: ["kw1, kw2, kw3"])
// YEAR_OF_BIRTH must be a 4-digit number
fullscreenAd.load(configuration: configuration)
Native Ads
let configuration = RTBNativeAdRequestConfiguration(placementId: <PLACEMENT_ID>, iTunesAppId: "<ITUNES_APP_ID>")
configuration.userTargeting = .init(userId: "<USER_ID>", gender: .male, yearOfBirth: <YEAR_OF_BIRTH>, keywords: ["kw1, kw2, kw3"])
// YEAR_OF_BIRTH must be a 4-digit number
nativeAdLoader?.load(configuration: requestConfiguration)
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).
Enhanced the RTBBannerViewDelegate
by updating the bannerViewDidReceiveAd
API to include the bidder (DSP name) in the bidding response. The bidder and the bid price are now encapsulated within the new bidInfo
parameter.
The new method signature is func bannerViewDidReceiveAd(_ bannerView: RTBBannerView, bidInfo: RTBBidInfo, networkName: String)
Enhanced the RTBBannerAdDelegate
by updating the bannerAdDidReceiveAd
API to include the bidder (DSP name) in the bidding response. The bidder and the bid price are now encapsulated within the new bidInfo
parameter.
The new method signature is func bannerAdDidReceiveAd(bidInfo: RTBBidInfo, networkName: String)
Enhanced the RTBFullscreenDelegate
by updating the fullscreenAdDidReceiveAd
API to include the bidder (DSP name) in the bidding response. The bidder and the bid price are now encapsulated within the new bidInfo
parameter.
The new method signature is func fullscreenAdDidReceiveAd(_ fullscreenAd: RTBFullscreenAd, bidInfo: RTBBidInfo, networkName: String)
RTBBidInfo
interface:
@objc
public class RTBBidInfo: NSObject {
@objc var priceCPM: Float
@objc var bidder: String
public override var description: String {
return "RTBBidInfo { priceCPM: \(priceCPM) - bidder: \(bidder) }"
}
}
2024-06-12
Added MRAID support for both banners and fullscreen formats.
Provided the DSP name with bid responses (Check API changes for more information).
Enhanced the RTBBannerAdDelegate
by updating the bannerAdDidReceiveAd
API to include the DSP name in the bidding response.
The new method signature is func bannerAdDidReceiveAd(bidInfo: RTBBidInfo, networkName: String)
.
Enhanced the RTBBannerViewDelegate
by updating the bannerViewDidReceiveAd
API to include the DSP name in the bidding response.
The new method signature is func bannerViewDidReceiveAd(_ bannerView: RTBBannerView, bidInfo: RTBBidInfo, networkName: String)
.
Enhanced the RTBFullscreenDelegate
by updating the fullscreenAdDidReceiveAd
API to include the DSP name in the bidding response.
The new method signature is func fullscreenAdDidReceiveAd(_ fullscreenAd: RTBFullscreenAd, bidInfo: RTBBidInfo, networkName: String)
.
RTBBidInfo Interface:
@objc
public class RTBBidInfo: NSObject {
@objc var priceCPM: Float
@objc var bidder: String
public override var description: String {
return "RTBBidInfo { priceCPM: \(priceCPM) - bidder: \(bidder) }"
}
}
Added support for native ads. See the to learn more.
Implement Google Bidding. Google Bidding can and may only be used via Gravite's mediation SDK .