Skip to content

InterstitialAd.load ​

Load the interstitial ad.

Return Value ​

Promise<void>

A resolved Promise only means the load call was accepted; it must not be treated as "loaded successfully". Load success is reported through onLoad, and load failure 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
interstitialAd.load()
    .then(() => {
        console.log('Interstitial ad load call issued; waiting for onLoad');
    })
    .catch((err) => {
        console.error('Interstitial ad load call failed', err);
    });