在 Google Cloud Console 中创建服务账号

为了让 Adapty 自动化数据访问,需要在 Google Play Console 中创建一个服务账号。

  1. 打开 Google Cloud Console 的 IAM & Admin -> Service accounts 部分。请确保您使用的是正确的项目。
17bbf45-google_cloud_create_service_account.webp
  1. Service accounts 窗口中,点击 Create service account 按钮。
b93eec1-service_account_details.webp
  1. Create service account 窗口的 Service account details 子部分中,输入您想要的 Service Account Name。我们建议在名称中包含”Adapty”,以说明该账号的用途。Service account ID 将自动生成。

  2. 复制服务账号的电子邮件地址并保存,以备将来使用。

  3. 点击 Create and continue 按钮。

e69d713-grant_access_to_project.webp
  1. Grant this service account access to project 子部分的 Select a role 下拉列表中,选择 Pub/Sub -> Pub/Sub Admin。启用实时开发者通知需要此角色。
976299c-service_account_role.webp
  1. 点击 Add another role 按钮。

  2. 在新的 Role 下拉列表中,选择 Monitoring -> Monitoring Viewer。允许监控通知队列需要此角色。

  3. 点击 Continue 按钮。

ffe8d82-grant_user_access.webp
  1. 无需任何更改,直接点击 Done 按钮。Service accounts 窗口将打开。

下一步