RTBNativeAdLoaderDelegate
@objc public protocol RTBNativeAdLoaderDelegate {
/// Tells the delegate that an ad request successfully received an ad. The delegate may want to add
/// - Parameters:
/// - nativeAdLoader: the ``RTBNativeAd`` that loaded the native ad
/// - bidInfo: an instance of ``RTBBidInfo`` representing bid price and and bidder name
/// - networkName: The biddder name
func nativeAdDidReceiveAd(_ nativeAdLoader: RTBNativeAdLoader, bidInfo: RTBBidInfo, networkName: String)
/// Tells the delegate that an ad request failed
/// - Parameters:
/// - nativeAdLoader: The ``nativeAdLoader`` that failed to load an ad
/// - errorMessage: Error message
/// - networkName: The biddder name
func nativeAdView(_ nativeAdLoader: RTBNativeAdLoader, didFailToReceiveAd errorMessage: String, networkName: String)
}
Last updated