将 Admob 链接到 Firebase [英] Linking Admob to Firebase
问题描述
我在 firebase 中创建了一个项目.我还在 Admob 中添加了一个带有两个横幅广告的应用程序.当我尝试将此应用程序链接到 Firebase 项目时,它总是给我这个错误:
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 :
无法将应用链接到 Firebase.请刷新页面并重试.
Unable to link app to Firebase. Please refresh the page and try again.
我尝试刷新页面并链接 firebase 项目,但没有成功.它建议我在下拉列表中选择 Firebase 项目,但是当我尝试链接到特定项目时,它不允许我链接.
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.
推荐答案
你看到的错误,
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.
我们看到它出现在人们面前的一个原因是他们已经将他们的 AdMob 应用链接到 Firebase 项目,然后删除了该项目而不取消链接.这会使 AdMob 应用与死项目绑定,并且无法链接到新项目.如果您的应用可能属于这种情况,请尝试以下解决方法:
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:
登录 Google Cloud Console (http://console.developers.google.com/)
使用此处列出的步骤从删除中恢复您的项目:https://support.google.com/cloud/answer/6251787
Restore your project from deletion by using the steps listed here: https://support.google.com/cloud/answer/6251787
这篇关于将 Admob 链接到 Firebase的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!