androidcordovaadmobphonegap-buildphonegap-admob

PhoneGap Build: Admob Ads (Remove Test Ad with Legit Ads)


I know how to get ads up and running thanks to this Github repo - https://github.com/appfeel/admob-phonegap-build-demo

I'm already aware of the AdMob policy - https://firebase.google.com/docs/admob/android/quick-start?hl=en_US

It is against AdMob policy to click on your own live ads. During development and testing, use test ads. If you do need to render live ads before launch, avoid clicking on them. If you click on live ads, your AdMob account may be suspended.

However I replaced the ad unit ID's from the id's in the repo with mine from Google Admob and I'm still getting the test ads.

Before I release my app I want to make sure that official ads are up and working fine without test ads. (Users would pay for a pro version that doesn't contain any ads).

How can I get official ads displayed and not test ads?


Solution

  • Plugin author here. Normally if your admob account is approved, the real ads should start to show (or no ads will be shown if Admob can't serve ads to your app). You could also create your own campaign and use it in the admob mediation to check that the ads are being served.

    Maybe an obvious question: Have you replaced isTesting: true by isTesting: false? No test ads should be shown in any case when isTesting: false.

    https://github.com/appfeel/admob-phonegap-build-demo/blob/master/www/js/index.js#L74