BannerAd.destroy
Destroy the banner ad. Once the ad component is destroyed, it can no longer be used; to display it again, create a new ad instance.
When the player leaves the corresponding game scene, remove the registered listeners and destroy the instance. Destroy it even if the ad is still loading; after destruction, a late load callback must not trigger a display.
Example Code
javascript
bannerAd.destroy();