Get personalized optimization tips, understand your account health and set up completion on the improved "My AdMob page".

Link your apps to Firebase

Link your apps to Firebase

You must first turn on user metrics in your AdMob account before you can link your AdMob apps to Firebase. However, the user metrics toggle will be discontinued in late 2023. Learn more about this change

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 for Firebase data in AdMob, your Firebase project must be linked to your Google Analytics account. 

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

How to link Firebase to your AdMob account

  1. Complete the steps below to link your apps to Firebase.
  2. Sign in to your AdMob account at https://apps.admob.com.
  3. Click Settings in the sidebar.
  4. Click the Linked services tab. 
  5. Ensure that you’ve turned on user metrics for this app. To turn on, click the toggle in the user metrics column. Learn more about user metrics for your apps
    The user metrics toggle will be discontinued in late 2023. Learn more about this change
    Note: You won’t be able to link to Firebase until user metrics is enabled. If you recently enabled user metrics, it may take up to 48 hours to update before you can link to Firebase.  
  6. Click Expand in the row of the app you want to link to Firebase.
  7. Click the toggle to turn on Firebase linking. 
  8. Select a linking option:

    Link to an existing Firebase app and project

    Use this option if you have an existing Firebase app that you want to link to your AdMob app.
    1. Then, click Link app.

    Create a new app in an existing Firebase project

    Use this option if you already have a Firebase project but don't have a Firebase app that you want to link to your AdMob app. Firebase will automatically create a Firebase app that's modeled after your AdMob app.
    Note: Adding a new app to an existing Firebase project will remove any historical user metrics data for the app. We recommend keeping all versions of an app (iOS and Android) in a single Firebase project. If you want to keep the app's historical data, however, consider creating a new project instead. Learn more about the best practices for using Firebase.
    1. Then, click Create app and link.  

    Create a new Firebase app and project

    Use this option if you need both a Firebase project and a Firebase app. After you create a new Firebase project, Firebase will automatically create a Firebase app that's modeled after your AdMob app.
    1. Click Go to Firebase

Visit the Firebase documentation to learn how to take advantage of more features available through Google Analytics and Firebase, like logging custom events in your app, custom conversions, and growing your app with other Firebase products.

Permission required for linking

In order to link an AdMob app to Firebase, you must have the following permissions for AdMob, Firebase, and Google Analytics:

Troubleshoot

If you’ve received an error while trying to link your AdMob app to Firebase, review the most common causes of linking errors.

Was this helpful?
How can we improve it?

Need more help?

Sign in for additional support options to quickly solve your issue

true
‘My AdMob Help Page’ - your personalized Help Page to help you thrive on AdMob.

Introducing our newly revamped My AdMob Page,  a personalized Help page that houses relevant information for your account.

You can better maintain your account health, ensure necessary setup is completed and have the right optimization tips targeted to your apps. Stay tuned for more!

Learn more

Search
Clear search
Close search
Google apps
Main menu
true
Search Help Center
true
true
true
true
true
73175