Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
espace3d opened this issue May 16, 2020 · 0 comments

Comments

@espace3d
Copy link

espace3d commented May 16, 2020

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 :

  • chartboost
  • inmobi
  • unity ads

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 :

  • the application id like this :

ca-app-pub-6479106299339251~891161xxxx

  • the id ads like this :

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant