An event fired when a rewarded ad has loaded.
This type differs from AdEventType.LOADED as when a rewarded ad is loaded,
an additional data payload is provided to the event handler containing the ad reward
(assuming the user earns the reward).
The reward contains a type and amount.
import { RewardedAdEventType } from 'react-native-google-mobile-ads';
rewardedAd.addAdEventListener(RewardedAdEventType.LOADED, (reward) => {
console.log(`Rewarded Ad loaded with ${reward.amount} ${reward.type} as reward`);
// E.g. "Rewarded Ad loaded with 50 coins as reward"
rewardedAd.show().catch(console.warn);
});
An event fired when the user earned the reward for the video. If the user does not earn a reward, the
AdEventType.CLOSEDevent will be fired with no rewarded event.The reward contains a
typeandamount.Example