RewardedVideoAd.load
Load the rewarded video ad.
Return Value
Promise<void>
The Promise reports only the result of the load() call; a resolved Promise does not mean the ad loaded successfully. Successful loading is reported through onLoad(), and load or display failures through onError().
load() is rate-limited (currently triggered by repeated requests within 10 seconds). When the limit is hit, onError() returns the error code (errCode) and message (errMsg).
Example
javascript
rewardedVideoAd.load()
.then(() => {
console.log('Rewarded video ad load call issued; waiting for onLoad');
})
.catch((err) => {
console.error('Rewarded video ad load call failed', err);
})
.finally(() => {
console.log('Rewarded video ad load call finished');
});