Admob mediation with Facebook audience network

2,789 views
Skip to first unread message

Km Enterprises

unread,
Jul 30, 2016, 5:09:57 AM7/30/16
to Google Mobile Ads SDK Developers
Hi.
Recently i created my FAN placement id and added that to my Admob mediation and instantly i started receiving stats in my Ad Mediation Report section.
what i want to ask is that is this thing normal because i haven't added Facebook SDK and adapter into my App and havn't published any update having all this setup but only Admob. One more thing to say, all those Ad request were from my App users.
can you please answer that isn't there any need to add Facebook SDK and Adapter into my App to show Ads from FAN?

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Aug 1, 2016, 10:11:25 AM8/1/16
to Google Mobile Ads SDK Developers
Hi there,

I'm not sure of the type of reports your AdMob dashboard is reporting and I would suggest you to contact the AdMob Product Help Center team with regards to this. As to the FAN's integration into your project, you would certainly need to import its SDK and the adaptor, both of which can be found here. Let us know if you need anything else.

Thanks,
Veer Busani
Mobile Ads SDK Team

Km Enterprises

unread,
Aug 1, 2016, 10:23:54 AM8/1/16
to Google Mobile Ads SDK Developers
Hi,
i figured that out. i was mistaken.
i have another question. is there any way that i be able to know that the Banner Ad that is served is from Mediation network or from Admob. is there any way to distinguish between Admob Ad and Mediation Ad?
Thanks 

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Aug 1, 2016, 11:03:07 AM8/1/16
to Google Mobile Ads SDK Developers
Hi there,

You can use getMediationAdaptorClassName() to determine the ad network through which you have been served ads.

Thanks,
Veer Busani
Mobile Ads SDK Team

Km Enterprises

unread,
Aug 1, 2016, 12:38:45 PM8/1/16
to Google Mobile Ads SDK Developers
Hi there,

D/DynamitePackage: Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl
I/Ads: Starting ad request.
I/Ads: Use AdRequest.Builder.addTestDevice("EAD2984C97B97A1924F2FAA895EC680B") to get test ads on this device.
I/Ads: Instantiating mediation adapter: com.google.ads.mediation.facebook.FacebookAdapter
W/Ads: Server parameters: {"gwhirl_share_location":"1","pubid":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}
I/Ads: Trying mediation network: 
I/Ads: Instantiating mediation adapter: com.google.ads.mediation.admob.AdMobAdapter
W/Ads: Server parameters: {"gwhirl_share_location":"1","pubid":"ca-app-pub-xxxxxxxxxxxxxxxxxxxxxxx\/cak=no_cache&cadc=wq&caqid=FXmfV5eII8fRWMSSq-gE"}
D/DynamitePackage: Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl
I/Ads: Starting ad request.
I/Ads: Use AdRequest.Builder.addTestDevice("EAD2984C97B97A1924F2FAA895EC680B") to get test ads on this device.
I/Ads: Ad finished loading.
I/Ads: Ad finished loading.
D/ads: onAdLoaded Banner by: com.google.ads.mediation.admob.AdMobAdapter

this is my logcat. i am haveing this problem. i always see "Ad finished loading" TWICE and i always get "com.google.ads.mediation.admob.AdMobAdapter" after calling getMediationAdapterClassName() in Log even though i found that there is always an increment of imressions in Admob Mediation Dashboard. 

what could be the problem here that it always shows Ad finished loading two times? is that mean that the Ad has been served from both Admob and FAN?

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Aug 1, 2016, 5:03:48 PM8/1/16
to Google Mobile Ads SDK Developers
Hi there,

Can you send us your Ad Unit ID for us to look into? Were you unable to receive any ads from FAN? It might be due to low eCPM value in your mediation stack. Increase the eCPM value for your FAN network to see more ads being served from that network.

Thanks,
Veer Busani
Mobile Ads SDK Team

Message has been deleted

Prateek

unread,
Aug 10, 2016, 5:31:30 PM8/10/16
to Google Mobile Ads SDK Developers
Hi Veer,
Am facing an integration issue between AdMob Mediation and FAN. Am getting zero impression and 0% fill rate for 3444 Ad requests sent to Facebook Audience Network (FAN) mediating through AdMob (see attached screenshot) while other 3rd party networks like MoPub, etc are working fine through mediation. Have added FAN Placement id to AdMob mediation waterfall with highest eCPM in stack and added FAN SDK v4.13.0 and mediation adapter for AdMob v1.2.0 to my Android app lib directory.

I do see real FB Ads when I use FAN SDK v4.13.0 directly in my app through build.gradle (compile 'com.facebook.android:facebook-android-sdk:4.14.0' and compile 'com.facebook.android:audience-network-sdk:4.13.0') without AdMob Mediation but my app gets no FB ads when I switch to AdMob Mediation. When I contacted Facebook Customer Service, they said on FAN side it only shows less 10 requests received that I sent directly through their SDK without AdMob Mediation and asked me to check with AdMob for this issue.

Also tried the sample app you shared here https://groups.google.com/forum/#!searchin/google-admob-ads-sdk/facebook|sort:date/google-admob-ads-sdk/wC87sp163cI/bSo-DTjCDwAJ but it does not show FB ads either for my AdMob Ad Unit.

It has been about a week since I am struggling with this. Would really appreciate your help.

Thanks!

Regards,
Prateek
3_FB zero fill rate AdMob mediation20160808.PNG

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Aug 11, 2016, 9:39:44 AM8/11/16
to Google Mobile Ads SDK Developers
Hi Prateek,

Would you be able to share you Ad Unit ID? You can do this by replying to me privately. It might be an issue with your Mediation setup and I would suggest you to have an active Ad Placement, enable test ads for the chosen platform and use this PlacementID in the AdMob dashboard. 


Thanks,
Veer Busani
Mobile Ads SDK Team

Prateek

unread,
Aug 11, 2016, 1:37:08 PM8/11/16
to Google Mobile Ads SDK Developers
Hi Veer,
Thanks for replying. Surely I can share my AdMob Ad unit ID with you but Google Groups is not showing me any option to reply to you privately. Should I create a new thread on Google Groups? Or should I send it to you on Hangout or by email? Let me know what suits you.

Meanwhile, I tried to debug further. I have added an approved FAN Placement ID to AdMob Mediation page in one of my Ad units and FAN has highest eCPM in waterfall (FAN --> MoPub --> AdMob --> Flurry). I am also printing out getMediationAdapterClassName.

In my test, I added breakpoints on requestBannerAd function in both FacebookAdapter v1.20 and MoPubAdapter and then ran my app. Interestingly AdMob Mediation is instantiating FacebookAdapter first as expected because it is first in waterfall but it does not call and break on its requestBannerAd function. Instead it is bypassing FacebookAdapter's requestBannerAd function to then instantiate MoPubAdapter (next in waterfall) and then calls and breaks on MoPubAdapter's requestBannerAd function and shows a MoPub ad. Here is the log:

I/Ads: Instantiating mediation adapter: com.google.ads.mediation.facebook.FacebookAdapter


I/Ads: Instantiating mediation adapter: com.mopub.mobileads.dfp.adapters.MoPubAdapter


D/MoPub: Loading custom event adapter.

D/MoPub: Attempting to invoke custom event: com.mopub.mraid.MraidBanner

D/MoPub: adLoaded

D/MoPub: Tracking impression for native adapter.

I/Ads: Scheduling ad refresh 60000 milliseconds from now.

I/Ads: Ad finished loading.

D/App: Mediation adapter used = com.mopub.mobileads.dfp.adapters.MoPubAdapter

D/MoPub: Successfully hit tracking endpoint: http://ads.mopub.com/m/imp?

W/Ads: Could not pause mediation adapter.

D/MoPub: Refresh disabled for ad unit
I have tried tests with com.google.android.gms.ads.AdView's adSize set as SMART_BANNER and BANNER but it bypasses requestBannerAd function all together in both cases.

Now why would AdMob Mediation instantiate FacebookAdapter but not call its requestBannerAd function?

Look forward to your thoughts. Thanks.

Regards,
Prateek

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Aug 11, 2016, 5:00:44 PM8/11/16
to Google Mobile Ads SDK Developers
Hi Prateek,

Have you loaded all of the required Mediation SDKs and Adaptors? You also seem to be using Custom Events. Have you properly integrated that into your project as well? It might be an implementation issue here. You can send us a sample app for us to look into this. Also, do look for an email from us. You can reply to that to send your Ad Unit ID.

Thanks,
Veer Busani
Mobile Ads SDK Team

Message has been deleted
Message has been deleted

Ibrahim Younas

unread,
Mar 30, 2019, 7:41:13 AM3/30/19
to Google Mobile Ads SDK Developers
Hi Google Mobile SDK Team,
I have created the mediation setup of facebook and admob, I have done everything to ensure the mediation. When we test from debuger, we recieve hits on face book dashboard, but we dont get the hit to facebook in mediation. Latest Mediation SDK added, I also set the ecpm of fb high in my admob dashboard, but have no luck, Its been more than 2 weeks i am facing the issue. Could anyone please fix our issue?


We followed this link for mediation setup.

image1.PNG


mobileadssdk...@google.com

unread,
Apr 1, 2019, 3:14:40 AM4/1/19
to Ibrahim Younas, Google Mobile Ads SDK Developers
Hi Ibrahim,

I seems that you already created a new thread with your concern. Please refer to my response on that thread instead.

Regards,
Teejay Pimentel
Mobile Ads SDK Team

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/0b79df43-cf40-4040-b0c5-799d04624d98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages