AdropPopupAd

class AdropPopupAd: NSObject

Popup ad class responsible for requesting popup ads and displaying them to the user.


Public constructors

init

init(unitId: String)

Requires Ad unit ID


Public functions

fun load()

fun load()

Requests an ad from Adrop using the Ad unit ID of the AdropPopupAd.

fun show(fromRootViewController)

fun show(fromRootViewController: UIViewController)

Show an ad from Adrop using the Ad unit ID of the AdropPopupAd.

Must be fully loaded before show is called.


Public properties

delegate

var delegate: AdropPopupAdDelegate?

unitId

var unitId: String

isLoaded

var isLoaded: Bool

closeTextColor

var closeTextColor: UIColor?

hideForTodayTextColor

var hideForTodayTextColor: UIColor?

backgroundColor

var backgroundColor: UIColor?

Last updated