AdManager

protocol AdManager

Ad manager that shows an ad

  • Ad volume (0-100). Default is 0

    Declaration

    Swift

    var volume: Int { get set }
  • Show an ad

    • request: NimbusRequest for this impression
    • container: Container view for the ad
    • adPresentingViewController: The view controller containing the Nimbus ad

    Declaration

    Swift

    func showAd(request: NimbusRequest, container: UIView, adPresentingViewController: UIViewController)

    Parameters

    request

    NimbusRequest for this impression

    container

    Container view for the ad

    adPresentingViewController

    The view controller containing the Nimbus ad