Admob Pro Blank Box(white box) Ad IOS

旧巷老猫 提交于 2019-12-13 03:32:18

问题


I m using Admob Pro plugin for ios mobile app using ionic. I m getting a white box instead of Ad. There is no errors in the log while showing the Ad.

Here is my code

this.admob.createBanner({
    adId: bannerId,
    adSize:'SMART_BANNER',
    height: 100,
    autoShow: false,
    isTesting: false 
    position: this.admob.AD_POSITION.BOTTOM_CENTER ,
})
return this.admob.showBanner(8);

Plugins used

cordova-plugin-admobpro 2.31.1 "AdMob Plugin Pro"

Please help me out


回答1:


Try to change your banner id to test id:

Banner: ca-app-pub-3940256099942544/6300978111

or:

Interstitial: ca-app-pub-3940256099942544/1033173712



来源:https://stackoverflow.com/questions/48859765/admob-pro-blank-boxwhite-box-ad-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!