RTBNativeAdInteractionDelegate
@objc public protocol RTBNativeAdInteractionDelegate {
/// Tells the delegate that an ad coudln't be rendered.
/// - Parameters:
/// - nativeAd: The ``RTBNativeAd``
/// - errorMessage: The error message
/// - networkName: The biddder name
func nativeAdView(_ nativeAd: RTBNativeAd, didFailToRender errorMessage: String, networkName: String)
/// Tells the delegate that a click has been recorded for the ad.
/// - Parameters:
/// - nativeAd: The ``RTBNativeAd``
/// - networkName: The biddder name
func nativeAdDidRecordClick(_ nativeAd: RTBNativeAd, networkName: String)
/// Tells the delegate that ad has opened external browser
/// - Parameters:
/// - nativeAd: The ``RTBNativeAd``
/// - networkName: The biddder name
func nativeAdDidPauseForAd(_ nativeAd: RTBNativeAd, networkName: String)
/// Tells the delegate that Ad has been dismissed
/// - Parameters:
/// - nativeAd: The ``RTBNativeAd`` that contains all ad assets
/// - networkName: The bidder name
func nativeAdDidResumeAfterAd(_ nativeAd: RTBNativeAd, networkName: String)
}
Last updated