RTBBannerAdProvider

@objc public class RTBBannerAdProvider : NSObject {

    /// Load a new banner ad with  configuration
    /// - Parameters:
    ///   - configuration: banner request configuration that is needed to request a new Ad, see ``RTBBannerRequestConfiguration``
    ///   - size: banner size
    ///   - userAgent: user agent
    ///   - loadDelegate: the ``RTBBannerAdLoadDelegate`` that will be notified with the load result
    @objc public static func load(configuration: RTBBannerRequestConfiguration, size: RTBBannerSize, userAgent: String, loadDelegate: RTBBannerAdLoadDelegate)

    /// Get the banner view using a previously loaded bid info
    /// - Parameters:
    ///   - bannerBid: An instance of ``RTBBannerBid``
    ///   - delegate: The ``RTBBannerAdInteractionDelegate`` that will be notified with the ad interactions like clicks, pause, etc.
    /// - Returns: A view to be rendered
    @objc public static func getBannerView(bannerBid: RTBBannerBid, delegate: RTBBannerAdInteractionDelegate) -> UIView?
}

Last updated