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

RTBNativeAd

@objc public class RTBNativeAd : NSObject {

    /// The ``RTBNativeAdInteractionDelegate`` that will be notified with ad interaction events
    @objc public weak var delegate: RTBNativeAdInteractionDelegate?

    /// Native ad title
    @objc public var title: String?

    /// Native ad call to action text
    @objc public var callToAction: String?

    /// Native ad body text
    @objc public var body: String?

    /// Native ad icon url
    @objc public var icon: String?

    /// Native ad main image url
    @objc public var image: String?

    /// Native ad rating
    @objc public var rating: NSNumber?

    /// Native ad sponsered text
    @objc public var sponsered: String?

    /// Call this method when the ad is displayed completely
    @objc public func trackImpression(view: UIView)
}

Last updated 8 months ago