Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Linking Admob to Firebase

Tags:

firebase

admob

I have created a project in firebase. I have also added an app in Admob with two banner ads. When I try to link this app to Firebase project, it always gives me this error :

Unable to link app to Firebase. Please refresh the page and try again.

I tried refreshing the page and link the firebase project but no luck. It suggests me the firebase projects to choose in the dropdown, but when I try to link to a specific project, it doesn't allow me to link.

like image 963
droidx Avatar asked May 31 '16 10:05

droidx


People also ask

Is Firebase necessary for AdMob?

(Optional, but strongly recommended) In your AdMob account, enable user metrics to view curated metrics. Also, link your AdMob app to Firebase to explore and work with your analytics data via the Firebase console. Add the Google Mobile Ads SDK using CocoaPods on iOS or Gradle on Android.

Can I earn money from Firebase?

You must first turn on user metrics in your AdMob account before you can link your AdMob apps to Firebase. Firebase is a development platform for mobile and web apps. With Firebase, you can quickly build high-quality apps, grow an engaged user base, and earn more money.


1 Answers

The error you're seeing,

Unable to link app to Firebase. Please refresh the page and try again.

is the base case message, unfortunately. It means that an unusual error has occurred, one so uncommon that it doesn't have a message of its own.

One reason we have seen it come up for people is that they've linked their AdMob app to a Firebase project, then deleted that project without unlinking it. This leaves the AdMob app tied to the dead project and unable to be linked to a new one. If that might be the case for your app, try this workaround:

  1. Log into the Google Cloud Console (http://console.developers.google.com/)

  2. Restore your project from deletion by using the steps listed here: https://support.google.com/cloud/answer/6251787

  3. Unlink that project from your AdMob app using these steps: https://support.google.com/firebase/answer/6387949
  4. Link your AdMob app to a new project as normal.
like image 136
RedBrogdon Avatar answered Sep 28 '22 05:09

RedBrogdon