# InterstitialAd wx.createInterstitialAd(Object object)
Start from base library version 2.6.0. Please remaining backward compatible.
Creates an interstitial ad component. Before using this API, use the object's SDKVersion returned by wx.getSystemInfoSync() to determine the base library version number. A new instance is returned each time an interstitial ad is created by calling this method (interstitial ad instances in Mini Programs cannot be used across pages).
# Parameters
# Object object
Attribute | Type | Default | Required | Description |
---|---|---|---|---|
adUnitId | string | Yes | Ad unit ID |
# Return Values
# InterstitialAd
Interstitial ad component