AdropPopupAd

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


Constructors

AdropPopupAd

AdropPopupAd(
    unitId: string,
    closeTextColor?: string, 
    hideForTodayTextColor?: string, 
    backgroundColor?: string)

Requires Ad unit ID.

Optional Colors (hex string, rgba) if you customize colors


Properties

isLoaded: boolean

Determine if ad is fully loaded.

unitId: string

Get Ad unit ID of the AdropInterstitialAd.

listener: AdropListener?

A listener called when load or show is called in the AdropInterstitialAd.


Methods

load: () -> void

Requests an ad from Adrop using the ad unit ID of the AdropInterstitialAd.

show: () -> void

Shows an ad from Adrop using the ad unit ID of the AdropInterstitialAd. Must be fully loaded before show is called.

destroy: () -> void

Destroy the ad to free resources.

Last updated