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
494 stars 210 forks source link

Unity ads mediation support? #178

Open cyclonmaster-zz opened 6 years ago

cyclonmaster-zz commented 6 years ago

I add unity ads as mediation in admob. Then I install

cordova-plugin-admobpro and work together with cordova-plugin-admob-unityads

to serve admob and unity ads mediation.

Now, I wonder is it really necessary to install cordova-plugin-admob-unityads if I want to server unity ads mediation through admob?

Now I want to migrate from cordova-plugin-admobpro to cordova-plugin-admob-free.

Does cordova-plugin-admob-unityads can work together with cordova-plugin-admob-free? Is there any alternative?

Or is it no need to install anything, cordova-plugin-admob-free is enough to serve the unity ads mediation.

I did found one here: https://github.com/lycwed/lycwed-cordova-plugin-admob-unityads But it is nothing, no unity ads code inside.

Please advice.

Thank you.

ivanov84 commented 6 years ago

I found this library but I don't know how to plug it to admob-free plugin: https://github.com/divampo/cordova-unityads-sdk

and official: https://developers.google.com/admob/android/mediation/unity https://github.com/googleads/googleads-mobile-android-mediation/tree/master/ThirdPartyAdapters

ivanov84 commented 6 years ago

@cyclonmaster I found solution:

  1. install admob-free
  2. download https://github.com/divampo/cordova-unityads-sdk
  3. download files and replace them in this plugin https://bintray.com/google/mobile-ads-adapters-android/com.google.ads.mediation.unity#files/com/google/ads/mediation/unity https://bintray.com/unityads/UnityAds/unityads#files/com/unity3d/ads/unity-ads
  4. execute cordova plugin add ../myplugins/my-downloaded-cordova-unityads-sdk-plugin
  5. enjoy unity advertising
ivanov84 commented 6 years ago

I thought and decided to share a plugin with people without the PRO code. Well the latest version in it. [ios + android] 😄😄😄 UNITY@2.2.0.ZIP

cyclonmaster-zz commented 6 years ago

@ivanov84

I see UnityAdsAdapter.jar inside cordova-unityads-sdk for Android

Then inside unityads version 2.2.0 there is unity-ads-2.2.0-javadoc.jar unity-ads-2.2.0-sources.jar

and some others. I'm not sure which one to replace.

UNITY@2.2.0.ZIP that you share, is it ready to use plugin for unity ads mediation? you already mod it? Thanks