showBannerAd

Miquel Martín edited this page Jan 12, 2015 · 1 revision

Show banner ads. You must call createBannerView first, otherwise it will result in failure callback and no ads will be shown.

Note: It is not necessary to call this method if autoShowBanner was set to true when calling setOptions or createBannerView (if you didn't specified autoShowBanner, it is true by default).

admob.showBannerAd(show, success, fail); 
  • show[boolean]: Indicates whether to show or hide banner ads.
  • success: success callback.
  • failure: failure callback.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.