appfeel / admob-google-cordova

AdMob ads Cordova/Phonegap/Intel XDK plugin for Android iPhone with latest SDK's
MIT License
133 stars 127 forks source link

admob => ok ads are launching but admob mediation with other providers => don't works #118

Open espace3d opened 4 years ago

espace3d commented 4 years ago

Hi,

I'm using cordova

Using this simple js snippet :

`function onDeviceReady() {

    admob.requestRewardedAd({
        publisherId: 'ca-app-pub-6479106299339251/712340xxxx'
    })
}
document.addEventListener('deviceready', onDeviceReady, false)`
i have put xxxx on my id, it's voluntary.

Init my app like this

cordova create myApp
cd myApp
cordova platform add android
cordova plugin add cordova-admob
cordova build 

Result

Admob ads are displaying not problem with that. The plugin works. Screenshot-20200515-133257-zzzz-test-app.jpg

Problem

Admob mediation don't works, it's always the google admod ads who are displaying. I have try with these providers without errors in admob :

And following guide by providers : https://developers.google.com/admob/android/mediate and copy sdk and adapter by provider in myApp/platforms/android/app/src/main/libs

Question

When we add and admob campaign, whe got two informations :

ca-app-pub-6479106299339251~891161xxxx

ca-app-pub-6479106299339251/712340xxxx

With this plugin there is no information on how to inquire the the application id... nothing in config.xml ? It's maybe the reason that mediation don't works ???

Have you succed to try this plugin with google admob mediation and providers ?

Thanks a lot for your help...this is the last step before i publish my game :)