Hybrid Native Ads
Create RTBHybridNativeAdLoader
val loader = RTBHybridNativeAdLoader(context, loadListener)Request Ad
val request = RTBHybridNativeAdRequestConfiguration(<PLACEMENT_ID>, <BUNDLE_ID>)
request.sellerId = "<SELLERID>" // Optional
loader.load(request)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 ignoredHandle ad response
Handling native ad response
Handling banner response
Last updated