Link AdMob to Firebase

You can link your AdMob app(s) to Firebase so that you can use your linked Google Analytics account data in AdMob. To use your Google Analytics or Google Analytics for Firebase data in AdMob, your Firebase project must be linked to your Google Analytics or Google Analytics for Firebase account.

Learn more about the benefits of using Firebase and Google Analytics.

By linking AdMob to Firebase, your Google Analytics for Firebase data will be available to AdMob independent of your Google Analytics for Firebase Data Sharing Settings. This allows your Analytics data to flow to AdMob to enhance product features and improve app monetization.

In this article:

Before you begin

  • If you don't already have a Firebase project and a Firebase app, follow the Firebase getting started guide for your platform: iOS or Android.

  • Make sure that Google Analytics is enabled in your Firebase project:

    • If you're creating a new Firebase project, enable Google Analytics during the project creation workflow.

    • If you have an existing Firebase project that doesn't have Google Analytics enabled, you can enable Google Analytics from the Integrations tab of your settings > Project settings.

      Firebase projects created before July 31, 2019 can upgrade to the full Google Analytics experience from the Integrations tab, as well. This upgrade is optional but recommended.

Get started with AdMob

Follow the getting started guide for your platform: iOS or Android.  This guide describes how to do the following:

  • Setting up your AdMob account (including enabling User metrics and linking your AdMob app to Firebase)
  • Adding the Google Mobile Ads SDK to your app
  • Adding the Firebase SDK for Google Analytics to your app (optional, but recommended)
  • Implementing your first ad in your app

Review which Firebase apps are linked to AdMob

  1. Sign in to Firebase, then select your Firebase project.
  2. Click the Settings icon, then select Project settings.
  3. Click the Integrations tab.
  4. On the AdMob card, click Manage.
Unlinking a Firebase app from AdMob disables user metrics and AdMob will lose access to all previously collected user metrics data.
  1. Sign in to Firebase, then select your Firebase project.
  2. Click the Settings icon, then select Project settings.
  3. Click the Integrations tab.
  4. On the AdMob card, click Manage.
  5. Click Manage in AdMob next to the app you want to unlink.
  6. Continue the unlinking process in AdMob. Linking and unlinking can only be completed in AdMob.

You will still be able to view the Google Analytics data in your Firebase project. However, this data will no longer show up on the AdMob app overview dashboard or be used to improve AdMob monetization.

Was this helpful?
How can we improve it?