This page provides troubleshooting help and answers to frequently asked
questions about using AdMob with Firebase. If you can't find what you're
looking for or need additional help, contact [Firebase
support](https://support.google.com/firebase/contact/support).

#### Can I link my Windows apps to Firebase?

No, Windows apps aren't supported.

#### Why can't I link my app to AdMob from the
Firebase console?


You can link an AdMob app to a Firebase app using the AdMob console.
[Learn how.](https://support.google.com/admob/answer/6383165)

#### What permissions or access do I need to link
a Firebase app to an AdMob app?

To do this linking, you need the following access:

- **AdMob** : You need to be an AdMob Admin.
- **Firebase** : You must have the `firebase.links.create` permission, which is included in the [Owner role](https://firebase.google.com/docs/projects/iam/roles-basic.md.txt) and the [Firebase Admin role](https://firebase.google.com/docs/projects/iam/roles-predefined-all-products.md.txt).
- **Google Analytics** : You must have the Edit role or Manage Users role for the property associated with the Firebase project. [Learn more.](https://support.google.com/analytics/answer/2884495)

#### Can multiple users in the same AdMob account
link AdMob apps and Firebase apps?


For
[multi-user AdMob accounts](https://support.google.com/admob/answer/6376659), the user who created
the first Firebase link and accepted the
[Firebase Terms of Service](https://firebase.google.com/terms.md.txt) is the only user who can
create new links between AdMob apps and Firebase apps.

#### To use AdMob, which SDKs should I use?


To use AdMob, always use the Google Mobile Ads SDK as described in
this FAQ. If you want to collect user metrics
for AdMob, include the Firebase SDK for Google Analytics
in your app.

- **For [iOS projects](https://firebase.google.com/docs/admob/ios/quick-start.md.txt)** :  
  Import the Google Mobile Ads SDK by following the instructions in the [AdMob iOS documentation](https://developers.google.com/admob/ios/quick-start#import_the_mobile_ads_sdk).
- **For [Android projects](https://firebase.google.com/docs/admob/android/quick-start.md.txt)** :  
  Add the dependency for the Google Mobile Ads SDK to your `build.gradle` file:  
  `implementation 'com.google.android.gms:play-services-ads:25.5.0'`  
- **For
  [C++ projects](https://firebase.google.com/docs/admob/cpp/quick-start.md.txt) and
  [Unity projects](https://developers.google.com/admob/unity/start)**: Follow the instructions in the respective documentation.

<br />

> [!CAUTION]
>
> **To use AdMob, always use the Google Mobile Ads SDK as
> described earlier in this FAQ.**
>
>
> We're making the following changes in September 2024 to give you more
> control over the dependencies that you add to your apps.
>
> - **For Android** : Firebase SDKs aren't going to be published for AdMob (`firebase-ads` or `firebase-ads-lite`); instead, use the Google Mobile Ads SDK as described earlier in this FAQ.
>
>   These artifacts didn't supply their own binary and were only a
>   wrapper around their dependencies, specifically the
>   Google Mobile Ads SDK and the Firebase SDK for Google Analytics.
>   So, if your app calls any Google Analytics APIs and you switch to
>   using the Google Mobile Ads SDK, make sure that you explicitly add the
>   dependency for the Firebase SDK for Google Analytics
>   (`com.google.firebase:firebase-analytics`) to your app's
>   `build.gradle` file.
>
>   Even after these artifacts stop being published,
>   ***any existing versions will continue to work***.
>   However, to get bug fixes and new features, you'll need to migrate to
>   use the SDKs as described earlier in this FAQ.
> - **For iOS** : You can no longer add `Google-Mobile-Ads-SDK` from the Firebase zip distribution or `FirebaseAdMob` from Carthage; instead, import the Google Mobile Ads SDK as described earlier in this FAQ. Note that the `FirebaseAdMob` binary is functionally equivalent to `Google-Mobile-Ads-SDK`.
>
>
>   Even after Firebase ceases these binary distributions,
>   ***any existing versions of the Firebase zip distributions
>   will continue to be available***. However, to get bug fixes
>   and new features, you'll need to migrate to use the pod as described
>   earlier in this FAQ.