Facebook audience network mediation with Admob

212 views
Skip to first unread message

Cat Weather

unread,
Jul 17, 2019, 1:39:49 PM7/17/19
to Google Mobile Ads SDK Developers
Hi,

I have integrated Facebook audience network using mediating in Admob. I wanted to know is there a way to distinguish if the received ad is from Admob or facebook? 
As per facebook audience network documentation, it is mandatory to populate advertiser name in native ad. So, I want to use the title of my ad as advertiser name that I get from facebook. 
Any help will be appreciated.

Regards

Mobile Ads SDK Forum Advisor Prod

unread,
Jul 17, 2019, 4:22:34 PM7/17/19
to catwea...@gmail.com, google-adm...@googlegroups.com
Hello there,

Thanks for reaching out to us. You can check the Network ClassName using this method .

Let us know if you need anything else.

Regards,
Deepika Uragayala
Mobile Ads SDK Team
 

ref:_00D1U1174p._5001U8M1Lo:ref

Cat Weather

unread,
Jul 18, 2019, 12:10:25 AM7/18/19
to google-adm...@googlegroups.com
Hi Deepika, 

Thanks for replying back.
I was reading through the API documentation and found following:

// The ad network class name that fetched the current ad. For both standard and mediated GoogleAdMob ads, this method returns @"GADMAdapterGoogleAdMobAds".


Just wanted to confirm that above it is mentioned 'GADMAdapterGoogleAdMobAds' is returned for both standard and mediated Google Admob ads. Doesn't it mean that the Facebook ad that is received is also a mediated Admob ad? 

If not, then can you provide me the exact network name that will be received for facebook ad? (Like GADMAdapterGoogleAdMobAds will be received for Google Ad.)


Also, I know there is a lot of discussion about testing Mediated ads, but I couldn't find any official way to test mediated ads. Although, I could test Admob ads using test ID. I could also test my implementation using the Mediation Test Suite. But, I could only see that my Ad were successfully getting loaded for both Admob and Facebook. But, since I have native Ads, I could not test it in my App UI, I could only test the Ad responses in the Mediation Test Suite. Is there any other way I could use to test?


Thanks

Mobile Ads SDK Forum Advisor Prod

unread,
Jul 18, 2019, 3:58:24 PM7/18/19
to catwea...@gmail.com, google-adm...@googlegroups.com
Hello there,

Let me answer you questions inline : 


Just wanted to confirm that above it is mentioned 'GADMAdapterGoogleAdMobAds' is returned for both standard and mediated Google Admob ads. Doesn't it mean that the Facebook ad that is received is also a mediated Admob ad? 

This is not true. If it's a mediated ad, then the Mediation Adapter Name will be returned. Do check again and make sure that an ad from FAN is returned and look up the returned name. Also, if you believe that this is still not returning the mediation adapter name, then send us the complete device logs and Charles logs for us to debug this further.

If not, then can you provide me the exact network name that will be received for facebook ad? 

It should be GADMAdapterFacebook. You can look at the FAN mediation documentation for this.

You can always test using both Mediation Test Suite and directly via the SDK. The Mediation Suite is intended for checking whether the integration of the SDK is properly done or not. Once your setup is completed, then it would be ideal to directly make those test ad requests then relying on Mediation Suite.
Reply all
Reply to author
Forward
0 new messages