Skip to content

InterstitialAd.onLoad ​

Listen for the interstitial ad load event.

Fired after the interstitial ad loads successfully. A resolved load() Promise does not mean the ad loaded; rely on this event instead, and call show() only after receiving it.

Parameters ​

function listener ​

The listener for the interstitial ad load event.

Example ​

javascript
interstitialAd.onLoad(() => {
    console.log('Interstitial ad loaded successfully');
});