Skip to content

InterstitialAd.onClose ​

Listen for the interstitial ad close event.

Fired after the ad closes. Each interstitial ad instance is shown only once; after it closes, remove the registered listeners and destroy the instance, then create a new one when the next ad is needed.

Parameters ​

function listener ​

The listener for the interstitial ad close event.

Example ​

javascript
interstitialAd.onClose(() => {
    console.log('Interstitial ad closed');
});