Interstitial
Integration
Section titled “Integration”Below we show a simple example to understand how interstitial ads work:
import 'package:wortise/interstitial_ad.dart';
InterstitialAd _interstitialAd;
// Create an interstitial_interstitialAd = InterstitialAd('Wortise Ad Unit ID', listener: (event, args) { // This listener will be invoked when an event happens});
// Request an adawait _interstitialAd.loadAd();
/* ... */
// Show the ad if availableif (await _interstitialAd.isAvailable) { await _interstitialAd.showAd();}The InterstitialAd class constructor admits a third parameter, called reloadOnDismissed, that when it is set to true (the default value is false) allows the interstitial to automatically load a new ad when the current one is dismissed.
Listener events
Section titled “Listener events”The assigned listener to an InterstitialAd can receive the following events:
// The ad has been clickedInterstitialAdEvent.CLICKED// The ad has been dismissedInterstitialAdEvent.DISMISSED// The ad could not be loadedInterstitialAdEvent.FAILED_TO_LOAD// The ad could not be shownInterstitialAdEvent.FAILED_TO_SHOW// The ad has generated an impressionInterstitialAdEvent.IMPRESSION// The ad has been loadedInterstitialAdEvent.LOADED// The ad has generated revenueInterstitialAdEvent.REVENUE_PAID// The ad has been shownInterstitialAdEvent.SHOWN© 2026 Wortise. All rights reserved.