react-native-google-mobile-ads icon indicating copy to clipboard operation
react-native-google-mobile-ads copied to clipboard

[📚] Mediation Adapter Need Support

Open vishalsohani27 opened this issue 1 year ago • 4 comments

Documentation Feedback

Hello guys. i am trying to implement Google AdMob as Mediation Partner for META and Inmob i have added following dependency in App level gradle.build implementation 'com.google.android.gms:play-services-ads:23.3.0' // Google Mobile Ads SDK implementation 'com.google.ads.mediation:facebook:6.17.0.0' // Facebook Mediation Adapter implementation 'com.google.ads.mediation:inmobi:10.7.5.0' // Inmobi Mediation Adapter

when i use

mobileAds() .initialize() .then(adapterStatuses => { console.log(adapterStatuses) });

it only console [{"description": "", "name": "com.google.android.gms.ads.MobileAds", "state": 1}] and Ad inspector also show No Adaptor Found. can you please tell me where i am wrong. or what else needed. (Google Admob ads are showing properly - No Issue with that) Thanks in advance.

vishalsohani27 avatar Sep 02 '24 15:09 vishalsohani27

Hi, every mediation adapter is different and comes with its own native dependencies. Therefore, all mediation adapters you want to use need to be manually integrated. There are detailed guides on the AdMob website for this: https://developers.google.com/admob/android/mediation/inmobi

That being said, I'm working on a proposal enabling us to provide integrations as separate optional packages. Given that this proposal is not done nor implemented yet, it'll be much faster to follow the steps on the AdMob website.

DoctorJohn avatar Sep 06 '24 17:09 DoctorJohn

I implement Google Admob as mediation platform then integrate (Meta, Inmobi) platform with it. How do i do this Download rn google-ad-mob package and then Integration method to add adopter result: Only Google ad mob ads work. no adopter is detected even at debug adopter.

i implement unity level play(ironsource) as mediation platform then integrate (Meta, Inmobi) platform with it. How i do this Installed IronSource package then Integration method to add adopter Result: All adopter works properly.

So i think there is something missing with google admob package. which prohibidate to adopter work. i cant figur it out.

vishalsohani27 avatar Sep 11 '24 12:09 vishalsohani27

@DoctorJohn Hello, in most mediation platforms Google says that we have to add gradle.build implementations. Is this enough? For some reason, I have added those, when I debug, I see that ads are filled by mediation platforms, but in production, in admob dashboard I see request coming with 0% match rate, but in mediation dashboards no incoming requests. (Admob ads are working)

I am using React native with Expo.

It looks like you successfully followed the Admob docs. Everything else involves fiddling with the dashboards. In my case, the third-party ad network took a few days to figure out what ads to serve to my users. I also had to adjust the manually set eCPM for waterfall ads to ensure that just the right amount of requests were sent to the third-party ad network.

Oh, in case you have EU users, make sure you forward consent to the third-party ad networks.

DoctorJohn avatar Sep 17 '24 15:09 DoctorJohn

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

github-actions[bot] avatar Oct 15 '24 15:10 github-actions[bot]

hi solved issue. but forgot to mentioned on github. You need to add both adopter and sdk. google only shows link to add adopter that is implementation("com.google.ads.mediation:facebook:6.18.0.0")

you have to add meta sdk also implementation 'androidx.annotation:annotation:1.9.0' implementation 'com.facebook.android:audience-network-sdk:6.18.0'

just add above two link above meta adopter. it will work. Best Wishes

On Mon, 28 Oct 2024 at 01:56, gaiaml @.***> wrote:

Hello,

I'm exactly facing the same issue.. I followed the official documentation of AdMob to install Meta Adapter:

implementation("com.google.android.gms:play-services-ads:23.4.0") implementation("com.google.ads.mediation:facebook:6.18.0.0") - inside build.gradle.

After compiling, Ad inspector shows No Adaptor Found..

Any ideas?

— Reply to this email directly, view it on GitHub https://github.com/invertase/react-native-google-mobile-ads/issues/635#issuecomment-2440163734, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR5EGHOHZVLTD2UE7OU5FWLZ5U47BAVCNFSM6AAAAABNQSD3ISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBQGE3DGNZTGQ . You are receiving this because you authored the thread.Message ID: @.*** com>

vishalsohani27 avatar Oct 28 '24 03:10 vishalsohani27

Hi @vishalsohani27 ! Can you share details and instructions on how to integrate yours? Also if integrating other networks, what should we do 1 - Ironsource 2 - Mintergral 3 - Pangle 4 - Applovin 5 - Liftoff

vuvantuyenpm avatar Oct 28 '24 03:10 vuvantuyenpm

sorry dear i cant explain whole integration process. as most of these already available on youtube and other like how to create mediation, ad units. etc. (i think all this simple stuff) or you can follow official link https://developers.google.com/admob/android/mediation/meta

problem is with the technical aspect. Google suggest to add following two dependencies

dependencies { implementation("com.google.android.gms:play-services-ads:23.4.0") implementation("com.google.ads.mediation:facebook:6.18.0.0")}

but i think it is not enough. it also require meta sdk which is following implementation 'com.facebook.android:audience-network-sdk:6.18.0'

so finally you will have to add three dependencies in app level build.gradle file implementation("com.google.android.gms:play-services-ads:23.4.0") // common for all the mediation implementation( "com.google.ads.mediation:facebook:6.18.0.0") //for Meta adopter implementation 'com.facebook.android:audience-network-sdk:6.18.0' //Meta SDK it will help you to integrate meta as mediation partner. remember that version of both meta adopter and meta sdk should be matched like adopter will have extra 0 in version. if it does not match sdk will throw a build time error. i did not try with rest of the mediation like applovin and others so can tell about them. all the best

On Mon, 28 Oct 2024 at 09:35, vuvantuyenpm @.***> wrote:

Hi @vishalsohani27 https://github.com/vishalsohani27 ! Can you share details and instructions on how to integrate yours? Also if integrating other networks, what should we do 1 - Ironsource 2 - Mintergral 3 - Pangle 4 - Applovin 5 - Liftoff

— Reply to this email directly, view it on GitHub https://github.com/invertase/react-native-google-mobile-ads/issues/635#issuecomment-2440494705, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR5EGHLZ5WDWIEA4VZMZL2LZ5WZXNAVCNFSM6AAAAABNQSD3ISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBQGQ4TINZQGU . You are receiving this because you were mentioned.Message ID: @.*** com>

vishalsohani27 avatar Oct 28 '24 06:10 vishalsohani27

sorry dear i cant explain whole integration process. as most of these already available on youtube and other like how to create mediation, ad units. etc. (i think all this simple stuff) or you can follow official link https://developers.google.com/admob/android/mediation/meta problem is with the technical aspect. Google suggest to add following two dependencies dependencies { implementation("com.google.android.gms:play-services-ads:23.4.0") implementation("com.google.ads.mediation:facebook:6.18.0.0")} but i think it is not enough. it also require meta sdk which is following implementation 'com.facebook.android:audience-network-sdk:6.18.0' so finally you will have to add three dependencies in app level build.gradle file implementation("com.google.android.gms:play-services-ads:23.4.0") // common for all the mediation implementation( "com.google.ads.mediation:facebook:6.18.0.0") //for Meta adopter implementation 'com.facebook.android:audience-network-sdk:6.18.0' //Meta SDK it will help you to integrate meta as mediation partner. remember that version of both meta adopter and meta sdk should be matched like adopter will have extra 0 in version. if it does not match sdk will throw a build time error. i did not try with rest of the mediation like applovin and others so can tell about them. all the best … On Mon, 28 Oct 2024 at 09:35, vuvantuyenpm @.> wrote: Hi @vishalsohani27 https://github.com/vishalsohani27 ! Can you share details and instructions on how to integrate yours? Also if integrating other networks, what should we do 1 - Ironsource 2 - Mintergral 3 - Pangle 4 - Applovin 5 - Liftoff — Reply to this email directly, view it on GitHub <#635 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR5EGHLZ5WDWIEA4VZMZL2LZ5WZXNAVCNFSM6AAAAABNQSD3ISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBQGQ4TINZQGU . You are receiving this because you were mentioned.Message ID: @. com>

With Ironsource, in addition to Importing the SDK and IronSource Ads adapter, according to the documentation, there are also steps to implement privacy settings on the ironSource Ads SDK and add the necessary code. Is it mandatory to add the above 2 steps as in the documentation, if it is necessary to add, add it by writing a native module or in another way. Thanks!

vuminhtoan2001 avatar Oct 28 '24 11:10 vuminhtoan2001

if you are concern privacy about GDPR and EU consent then it is necessary if your app is distributed in EU, UK US Area. those privacy steps are part of your need of showing consent etc. not off integration process. i can only suggest about integration process adding sdk and adopter completes the integration process rest depend on your need... since i did not work with iron source i can say a lot about it.

On Mon, 28 Oct 2024 at 17:08, Vu Minh Toan @.***> wrote:

sorry dear i cant explain whole integration process. as most of these already available on youtube and other like how to create mediation, ad units. etc. (i think all this simple stuff) or you can follow official link https://developers.google.com/admob/android/mediation/meta problem is with the technical aspect. Google suggest to add following two dependencies dependencies { implementation("com.google.android.gms:play-services-ads:23.4.0") implementation("com.google.ads.mediation:facebook:6.18.0.0")} but i think it is not enough. it also require meta sdk which is following implementation 'com.facebook.android:audience-network-sdk:6.18.0' so finally you will have to add three dependencies in app level build.gradle file implementation("com.google.android.gms:play-services-ads:23.4.0") // common for all the mediation implementation( "com.google.ads.mediation:facebook:6.18.0.0") //for Meta adopter implementation 'com.facebook.android:audience-network-sdk:6.18.0' //Meta SDK it will help you to integrate meta as mediation partner. remember that version of both meta adopter and meta sdk should be matched like adopter will have extra 0 in version. if it does not match sdk will throw a build time error. i did not try with rest of the mediation like applovin and others so can tell about them. all the best … <#m_-6541431808227727804_> On Mon, 28 Oct 2024 at 09:35, vuvantuyenpm @.> wrote: Hi @vishalsohani27 https://github.com/vishalsohani27 https://github.com/vishalsohani27 https://github.com/vishalsohani27 ! Can you share details and instructions on how to integrate yours? Also if integrating other networks, what should we do 1 - Ironsource 2 - Mintergral 3 - Pangle 4 - Applovin 5 - Liftoff — Reply to this email directly, view it on GitHub <#635 (comment) https://github.com/invertase/react-native-google-mobile-ads/issues/635#issuecomment-2440494705>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR5EGHLZ5WDWIEA4VZMZL2LZ5WZXNAVCNFSM6AAAAABNQSD3ISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBQGQ4TINZQGU https://github.com/notifications/unsubscribe-auth/AR5EGHLZ5WDWIEA4VZMZL2LZ5WZXNAVCNFSM6AAAAABNQSD3ISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBQGQ4TINZQGU . You are receiving this because you were mentioned.Message ID: @. com>

With Ironsource, in addition to Importing the SDK and IronSource Ads adapter, according to the documentation, there are also steps to implement privacy settings on the ironSource Ads SDK and add the necessary code. Is it mandatory to add the above 2 steps as in the documentation, if it is necessary to add, add it by writing a native module or in another way. Thanks!

— Reply to this email directly, view it on GitHub https://github.com/invertase/react-native-google-mobile-ads/issues/635#issuecomment-2441342692, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR5EGHIMVCLMILQ6OECPNIDZ5YO2TAVCNFSM6AAAAABNQSD3ISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBRGM2DENRZGI . You are receiving this because you were mentioned.Message ID: @.*** com>

vishalsohani27 avatar Oct 28 '24 12:10 vishalsohani27

For mediation adapter support you need to seek help at the concerning adapter (applovin, ironsource etc.)

dylancom avatar Nov 04 '24 08:11 dylancom