Firebase 按“项目”对类似应用进行分组。例如,在 Firebase 中最好将某个应用的 Android 版本和 iOS 版本划入同一组(即“项目”)。
同一项目内的应用可以相互访问彼此的用户数据及用户行为数据,方便您全面了解用户如何使用您的应用。
原有应用和项目
如果您之前使用过 Firebase 或已关联部分 AdMob 应用,那么您的 Firebase 帐户中可能已经存在一些项目和应用。关联应用时,AdMob 会尝试将您要关联的应用与您 Firebase 帐户中的原有应用或项目进行匹配。如果发现匹配项,您可以选择将 AdMob 应用与原有应用或项目相关联,也可以新建应用或项目。
项目数量限制
每个 Firebase 帐户可创建的项目数量有限。如果数量达到上限,那么在尝试将 AdMob 应用与新项目相关联时将会收到错误消息。
在项目数量达到上限后,您仍可以通过选择原有项目来将 AdMob 应用与 Firebase 相关联。
命名限制
项目名称必须遵循以下规则:
- 长度在 4 到 30 个字符之间
- 只包含字母、数字、空格和下列字符:“-”、“'”、“"”、“!”
- 只包含英文字符
不支持双字节字符与符号、本地字符与符号和非英文字符与符号。