Rewarded Interstitial Ad
Rewarded interstitial is a type of incentivized ad format that allows you offer rewards for ads that appear automatically during natural app transitions. Unlike rewarded ads, users aren't required to opt-in to view a rewarded interstitial.
Usage
let rewarded
document.addEventListener('deviceready', async () => {
rewarded = new admob.RewardedInterstitialAd({
adUnitId: 'ca-app-pub-xxx/yyy',
})
rewarded.on('load', (evt) => {
// evt.ad
})
await rewarded.load()
await rewarded.show()
}, false)
Events
load
loadfail
show
showfail
reward
User has earned reward.
{
reward: {
amount: 1,
type: "Reward"
}
}