-
Notifications
You must be signed in to change notification settings - Fork 127
requestRewardedAd
Miquel Martín edited this page Jan 5, 2019
·
7 revisions
Request a rewarded ad.
Note: If options.autoRewarded
is set to true (default), the ad will automatically be displayed. Otherwise you need to call showRewardedAd()
when admob.events.onAdLoaded
event is raised.
If you already called admob.requestRewardedAd()
but the rewarded ad has never been shown, the following calls to admob.requestRewardedAd()
will result in the ad being inmediately available (the one that was obtained in the first call).
admob.requestRewardedAd(options, success, fail);
- options: setup options (see options).
- success: success callback.
- failure: failure callback.