Get the most out of your ad units with the AppBrain Ad ID

Mathijs Vogelzang
Published in
3 min readMay 20, 2016


As a publisher using the AppBrain SDK, you probably often ask yourself:

- How are my ad units performing?
- Am I leaving money on the table?
- Which ad units can I improve by adjusting them?

To answer these questions, you should know exactly what is happening in each ad unit that you show. With the AppBrain Ad ID you can track performance data, like impression volume, user clicks, install rate and eCPM per ad unit so you can better optimize your ad units and earn more money.

What is the AppBrain Ad ID? How can it help you?

The AppBrain Ad ID is a tag that is attached to the ad units in your app. For every ad unit with an Ad ID, you can get a separate ad report on the AppBrain dashboard.

If an ad unit is generating little revenue, you can investigate the potential causes by looking at the ad unit’s data: Why are there so few clicks, is it about my ad unit’s visibility? Or how come that so many users have clicked on my ad unit but hardly anyone has installed an app? Did I position the ad unit where users might accidentally click on it?

After you’ve identified the ad units that perform poorly you should try to fix them. For example, if users do not click on the banner that you placed on the top of your app’s home screen, you could move the banner from the top to the bottom for testing. If the clickthrough rate increases after the change, you know that you are on the right track to optimizing your ad unit.

How can you attach an AppBrain Ad ID to your ad unit?

You can use one of our predefined Ad IDs or you can create a custom ID. You can find the various predefined Ad IDs on our documentation page.

See the table for the predefined Ad IDs. After you’ve found the Ad ID that you want to use, you can add it into the following code snippet:
InterstitialBuilder.setAdId(AdId) or AppBrainBanner.setAdId(AdId)

How to create a custom Ad ID on the AppBrain dashboard

1) Select the app in which you want to use the custom Ad ID.

2) Press ‘Add new id’.

3) Choose an ad type; are you attaching the Ad ID to banner or insterstitial ad?

4) Describe in a few words the ad unit you are attaching the Ad ID to.

5) Click on the ‘Save’ button at the bottom of the ‘Ad settings’ page to generate the custom ID and to save the ID to your dashboard.

If none of our predefined Ad IDs fits your ad unit, then you can also use a custom ID. To create a custom ID, go to the AppBrain dashboard and follow the steps described in Image 1. After you’ve created the ID, add the ID string into:

InterstitialBuilder.setAdId(AdId.custom("your-custom-id")) or AppBrainBanner.setAdId(AdId.custom("your-custom-id"))

See the Ad ID javadoc for more details.

Using a custom Ad ID is better than using a predefined one. A custom Ad ID can later be configured to use AppBrain mediation.

Feel free to share your questions and feedback about the AppBrain Ad ID with us.

The AppBrain Team



Mathijs Vogelzang

Building the top Android CPI network, AppTornado, AppBrain, Swiss Codemonkey