Use AdMob and GAM in the same app for A/B testing

113 views
Skip to first unread message

chri...@norapps.no

unread,
Apr 18, 2024, 3:23:44 AM4/18/24
to Google Mobile Ads SDK Developers
Hi, 

We are A/B testing AdMob vs GAM in our app after we discovered huge changes when moving from AdMob to GAM in terms of revenue on Android. 

It all seems to work (we get AdMob + GAM ads depending on the test) but we wonder about the AndroidManifest: 
com.google.android.gms.ads.APPLICATION_ID

Should the value of this ID be set to GAM or AdMob or doesn't it matter? What is this ID used for internally in the SDK? Now we set it to the ID we see in GAM for all users and then 50% of users are loading ads from AdMob. But previously when we had 100% of users on AdMob we had a different ID (the one we see in AdMob). Can this affect the results of the test? 

Mobile Ads SDK Forum Advisor

unread,
Apr 18, 2024, 9:41:15 AM4/18/24
to chri...@norapps.no, google-adm...@googlegroups.com
Hi,

Please find the answers for your questions below:
  • Should the value of this ID be set to GAM or AdMob or doesn't it matter?
    • Yes the ID should be set accordingly. AdMob serves Google's own ad inventory and selected third-party ad networks, it does provide some flexibility for developers to integrate additional ad networks via mediation. With Google Ad Manager, publishers have the option to negotiate directly-sold deals with advertisers, bypassing ad networks altogether. Kindly refer Differences between products   article for Detailed information.
  • What is this ID used for internally in the SDK?
    • App ID defines a specific app which has been added to GAM or AdMob. This is used so that ad unit ID's are linked to the application ID.
  • We see in GAM for all users and then 50% of users are loading ads from AdMob.But previously when we had 100% of users on AdMob we had a different ID
    • yes this could be happening because one of the network in GAM might be AdMob. But in the other case the ads Might be only coming from AdMob network with out any mediation.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02tPCXA:ref" (ADR-00231654)

Thanks,
 
Google Logo Mobile Ads SDK Team


chri...@norapps.no

unread,
Apr 18, 2024, 9:46:09 AM4/18/24
to Google Mobile Ads SDK Developers
Hi, 

Thanks for the additional information. We've used AdMob for 10+ years and have a lot of mediation partners signed up. We also have used GAM extensively so we are very familiar with it. 

My question was more on the internals of the SDK. 

What is com.google.android.gms.ads.APPLICATION_ID used for in the SDK? The ad unit IDs seem to decide whether the SDK uses AdMob or GAM. I believe APPLICATION_ID is only used when initializing the SDK. So my question is then, is it used for anything besides finding which mediation adapters to initialize? I guess it might also be used for deciding on where to fetch the Google consent dialog? But in regards to actual ad fetching, is the APPLICATION_ID used or is only the ad unit used? From the Charles logs I've checked it doesn't seem to impact the ad requests? 

- Christer

Mobile Ads SDK Forum Advisor

unread,
Apr 18, 2024, 2:16:45 PM4/18/24
to chri...@norapps.no, google-adm...@googlegroups.com

Hi Christer,

I will check with our team regarding your query and one of my team members will reach out to you once we have an update on this. Meanwhile, your patience is highly appreciated.

Mobile Ads SDK Forum Advisor

unread,
Apr 19, 2024, 11:28:13 AM4/19/24
to chri...@norapps.no, google-adm...@googlegroups.com
Hi Christer,

Thank you for your inquiry. APPLICATION_ID is inherently used for every ad request as it can be derived from the ad unit ID. You are also correct in that the APPLICATION_ID also is used to fetch any configured consent messages. 

Thanks,
Justin

ref:!00D1U01174p.!5004Q02tPCXA:ref
Reply all
Reply to author
Forward
0 new messages