ratson / cordova-plugin-admob-free

New development has been moved to "admob-plus-cordova", https://github.com/admob-plus/admob-plus/tree/master/packages/cordova
https://github.com/admob-plus/admob-plus
MIT License
495 stars 210 forks source link

multiple admob accounts #113

Open jnccneto opened 7 years ago

jnccneto commented 7 years ago

Hi

I am trying to setup some revenue sharing suing multiple admob accounts. I would use it for reward videos what would be the correct way to set it: clone/copy the admob object multiple times? would I still get the event alerts ( loaded/viewed ...) for each cloned object?

OR do a new setup for every new ad?

OR other way to achieve this revenue sharing?

thanks

ratson commented 7 years ago

I would say this is not supported use case, but nothing to prevent you trying this setup and check if it works.

I will leave this open, so others could input.

jnccneto commented 7 years ago

I am using on trial, so far ok I do a new setup every time I want to switch account

ratson commented 7 years ago

Cool, would be great if you could share code about it is done, so others could benefit from it.

jnccneto commented 7 years ago

Right now the code is embeded in the app code. If I make it independent of app, i can post it.

for reference I do a new adbmob setup every time I want to switch account, and then wait for ad to load. there are counters for checking if the sharing is fair ( 50-50 ) and selecting witch accout to use

calebeaires commented 5 years ago

@jnccneto I did on the past, but rigth now we must put admob app ID on setup (ADMOB_APP_ID). Do you use more then one admob account with this new way to do things?