# Promise InterstitialAd.show()

Displays an interstitial ad.

# Return Values

# Promise

The interstitial ad display operation result.

# Error Codes

If an interstitial ad fails to display. the InterstitialAd.show() method returns a rejected Promise, which allows the developer to obtain the error code and the error message.

Code Exception Cause
2001 Rate limit triggered Interstitial ads cannot be displayed for a certain time after the Mini Program starts.
2002 Rate limit triggered Interstitial ads cannot be displayed until a specified interval elapses after the display of a previous interstitial ad or rewarded video ad.
2003 Rate limit triggered Interstitial ads cannot be displayed when a rewarded video ad or another interstitial ad is being displayed.
2004 Failed to render ad This error is not caused by the developer's abnormal operation. It may be a result of switching between Mini Program pages.
2005 Unusual ad call Cross-page calls are not allowed for interstitial ad instances.
点击咨询小助手