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).

tappx.showBannerAd(show, success, fail); 
  • show[boolean]: Indicates whether to show or hide banner ads.
  • success: success callback.
  • failure: failure callback.