Tutorial: Optimize hybrid monetization using AdMob, Google Analytics, and Firebase

Step 1: Use AdMob to create new ad units for display


Introduction: Optimize hybrid monetization using AdMob, Google Analytics, and Firebase

Step 1: Use AdMob to create new ad units for display

Step 2: Set up Google Analytics
Step 3: Set up Firebase Remote Config to show specific ads experiences


To get started, you first need to create a new ad unit and then implement the ad in your app's code.

This tutorial uses the interstitial ad format as the new format being tested for adoption. When reading this tutorial, though, keep in mind that you could follow similar steps to implement and test any other ad format.

Create an ad unit in your AdMob account

In your AdMob account, follow the on-screen prompts to create an Interstitial ad unit that you will display in your app.

The other ad unit settings aren't important for this particular tutorial, so select settings that are appropriate for your app.

Implement the ad unit in your app's codebase

After you create an ad unit, AdMob provides you with a unique ad unit ID for the ad unit. Remember where to find this ad unit ID in your AdMob account as you'll need it to implement the ad into your app. If you created more than one ad unit, then you'll need the ad unit ID for each ad unit.

Follow the on-screen instructions (or go to the links below) to integrate the Google Mobile Ads (AdMob) SDK (if you haven't already) and to implement the new ad unit into your app.

In the next steps of this tutorial, you'll configure Firebase Remote Config to display this ad unit based on whether a user is part of the Google Analytics audience of "Purchasers".




Introduction Step 2: Set up Google Analytics