Skip to main content
Version: Next

Rewarded Interstitial Ad

Usage

import { AdMobPlus, RewardedInterstitialAd } from '@admob-plus/capacitor'

(async () => {
const rewarded = new RewardedInterstitialAd({
adUnitId: 'ca-app-pub-3940256099942544/6978759866',
})
await rewarded.load()
await rewarded.show()
})()

Events

rewardedi.load

rewardedi.loadfail

rewardedi.show

rewardedi.showfail

rewardedi.reward

User has earned reward.

{
reward: {
amount: 1,
type: "Reward"
}
}

rewardedi.dismiss

rewardedi.impression