Should I use different AdMob Ad Units ID in different Activities?

AndroidAndroid ActivityAdmob

Android Problem Overview


Should I use the same Ad Unit ID for all the ads in my app or should I get one ID per Activity?

Android Solutions


Solution 1 - Android

You can use one Ad Unit ID for all banner ads within your app and a different Ad Unit ID for all interstitial ads within the same app.

Thus, if your app contains only banner ads, it can have only one Ad Unit ID. If your app contains banner and interstitial ads, it can have two Ad Unit IDs.

However, according to the official admob guide, YES! you can use one ID per activity:

>An Ad Unit ID is a unique identifier given to the places in your app where ads are displayed. If you have an app with two activities, for example, each displaying a banner, you need two ad units, each with its own ID.

For reporting sake, use different ad unit for each application. This helps you know how each application is performing in regards to eCPMs, requests and clicks. It will help you understand the market, adjust or improve your apps as needed.

It's not against the policy if that's what you want. (Check this thread)

Solution 2 - Android

Actually, according to the Admob for Android Guide , yes you should!

> An Ad Unit ID is a unique identifier given to the places in your app where ads are displayed. If you have an app with two activities, for example, each displaying a banner, you need two ad units, each with its own ID. 

Solution 3 - Android

I had the same concern and looked into the link Nana gave. This is one of the messages that caught my eye:

> Hi Sonic, > > You're still allowed to do this, but we recommend against it, and if > you link an app then house ads might not work. We recommend creating a > different Ad Unit ID for every placement you have (which means you'll > probably have multiple per app). > > Hope this helps! > > Amy Quispe

IMHO, you should have a different ad unit for each BannerView you display.

Solution 4 - Android

I think there are many theories about this issue But my suggestion to use multi ads unit Because admob Disterbute ads for every unit by equal And if you have multi ads your probabilty to have ads will be bigger

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionuser1903View Question on Stackoverflow
Solution 1 - AndroidNana GharteyView Answer on Stackoverflow
Solution 2 - AndroidTouré HolderView Answer on Stackoverflow
Solution 3 - AndroidMihaiView Answer on Stackoverflow
Solution 4 - AndroidFeisal AswadView Answer on Stackoverflow