load
expect fun load(adUnitId: String = AdUnitId.REWARDED_INTERSTITIAL_DEFAULT, onLoad: () -> Unit, onFailure: (Exception) -> Unit)
Loads an RewardedInterstitial Ad. Note: Make all calls to the Mobile Ads SDK on the main thread.
To load an RewardedInterstitial ad, call RewardedInterstitialAdHandler.load method and pass in an AdUnitId as a String to receive the loaded ad, the onLoad callback, and any possible Exception from the onFailure callback.
Parameters
ad Unit Id
Your RewardedInterstitial Ad AdUnitId String from AdMob
on Load
Callback after the ad loads
on Failure
Callback sharing the Exception when the ad fail to load