RTBSDK Android Integration
Release Notes
  • Start
    • Setup
      • Maven
      • Configure RTBSDK
    • Consent
  • Formats
    • Banner
    • Fullscreen (Interstitial)
    • Native Ads
    • Advanced
      • Separate Loading and Rendering of Banner Ads
  • Other
    • AppLovin Custom Adapter
    • AdMob Custom Events
    • Reference
      • Classes
        • RTBSDKManager
        • RTBBannerView
        • RTBBannerAdProvider
        • RTBBannerRequestConfiguration
        • RTBBannerSize
        • RTBFullscreenAd
        • RTBFullscreenRequestConfiguration
        • RTBBidInfo
        • RTBNativeAd
        • RTBNativeAdRequestConfiguration
        • RTBUserTargeting
        • RTBNativeAdLoader
      • Interfaces
        • RTBBannerViewDelegate
        • RTBBannerAdLoadDelegate
        • RTBBannerAdInteractionDelegate
        • RTBFullscreenDelegate
        • RTBNativeAdLoadDelegate
        • RTBNativeAdInteractionDelegate
      • Enumerations
        • RTBGender
  • Sample App
Powered by GitBook
On this page
  1. Other
  2. Reference
  3. Classes

RTBNativeAd

class RTBNativeAd internal constructor(
    /**
     * Native ad title
     */
    val title: String?,
    /**
     * Native ad call to action text
     */
    val callToAction: String?,
    /**
     * Native ad body text
     */
    val body: String?,
    /**
     * Native ad icon url
     */
    val iconUrl: String?,
    /**
     * Native ad main image url
     */
    val imageUrl: String?,
    /**
     * Native ad rating
     */
    val rating: Int?,
    /**
     * Native ad sponsered text
     */
    val sponsered: String?
) {

    var listener: RTBNativeAdInteractionDelegate? = null

    fun trackImpression(view: View)

}
PreviousRTBBidInfoNextRTBNativeAdRequestConfiguration

Last updated 7 months ago