Skip to content

BannerAd.hide ​

Hide the banner ad. This method returns nothing; load or display failures are reported through BannerAd.onError().

Hiding the banner ad while it is still loading saves the hidden state, and the ad stays hidden after it loads successfully.

Example Code ​

javascript
bannerAd.hide();