在 Google Play Console 中启用开发者 API

如果您的移动应用已在 Play Store 上架,启用开发者 API 对于将其与 Adapty 集成至关重要。此步骤可确保您的应用与我们平台之间的无缝通信,从而支持自动化流程和实时数据分析,以优化您的订阅模式。以下 API 需要启用:

如果您的应用不通过 Play Store 分发,可以跳过此步骤。但如果您确实通过 Play Store 销售,可以暂时推迟此步骤,不过它对 Adapty 的基本功能至关重要。完成用户引导流程后,您可以在 App settings 部分配置应用商店设置。

以下是在 Google Play Console 中启用开发者 API 的步骤:

  1. 打开 Google Cloud Console

  2. 在 Google Cloud 窗口的左上角,选择您希望使用的项目或创建一个新项目。请确保在将服务账号密钥文件上传到 Adapty 之前,始终使用同一个 Google Cloud 项目。

fd66a11-google_cloud_project.webp
  1. 打开 Google Play Android Developer API 页面。
f754f72-google_play_api.webp
  1. 点击 Enable 按钮,等待状态显示为 Enabled。这表示 Google Android Developer API 已启用。
d47ed14-google_play_api_create_credentials.webp
  1. 打开 Google Play Developer Reporting API 页面。
966cf73-Google_play_developer_reporting_api.webp
  1. 点击 Enable 按钮,等待状态显示为 Enabled
e776d77-Google_play_developer_reporting_api_enabled.webp
  1. 打开 Cloud Pub/Sub API 页面。
b13f609-enable_Cloud_Pub_Sub_API.webp
  1. 点击 Enable 按钮,等待状态显示为 Enabled
3f45602-Cloud_Pub_Sub_API_enabled.webp

开发者 API 已启用。

您可以在 Google Cloud Console 的 APIs & Services 页面上重新确认。向下滚动页面,验证页面底部的表格中包含以下所有 3 个 API:

  • Google Play Android Developer API
  • Google Play Developer Reporting API
  • Cloud Pub/Sub API
b81d174-google_enabled_api.webp

下一步