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