Google Play Console API Setup

Complete guide to configure Google Play Console API access

Service Account Access
Time Required:20-25 minutes

Prerequisites

  • Active Google Play Developer Account with Owner or Admin role
  • Google Cloud Platform account (free tier is sufficient)
  • Your app must be published or in testing on Google Play

Process Overview

Setting up Google Play API requires two main components:

Google Cloud Setup

Create a service account and generate credentials

Play Console Link

Grant API access to your service account

Part 1: Google Cloud Platform Setup

1

Create or Select a Google Cloud Project

Access Google Cloud Console and create a new project or select an existing one.

Open Google Cloud Console
Google Cloud Console project selector
2

Enable Google Play Android Developer API

  1. 1Navigate to "APIs & Services" → "Library" in the sidebar
  2. 2Search for "Google Play Android Developer API"
  3. 3Click on the API and then click "Enable"

Important: Make sure you enable the correct API - "Google Play Android Developer API" not just "Google Play API"

3

Create a Service Account

  1. Go to "IAM & Admin" → "Service Accounts"
  2. Click "Create Service Account"
  3. Fill in the service account details:

⚠️ Important: Permissions Selection

When you reach Step 2 "Permissions (optional)" in the service account creation:

  1. 1.Click on "Select a role" dropdown
  2. 2.In the Roles section, select "Owner" or "Service Account Key Admin"
  3. 3.Click "Done" - you can skip Step 3 (Grant users access)

Note: The actual permissions for Google Play Console will be configured later in Step 7.

Service Account creation form with fields filled in
4

Generate Service Account Key

  1. 1Click on the created service account to open its details
  2. 2Go to the "Keys" tab
  3. 3Click "Add Key" → "Create New Key"
  4. 4Select "JSON" format and click "Create"

JSON Key Downloaded

A JSON file will be automatically downloaded. Keep this file secure - you'll need it for AppDrift.

Part 2: Google Play Console Configuration

5

Access Google Play Console

Sign in to Google Play Console with your developer account.

Open Google Play Console
Google Play Console dashboard
6

Link Service Account

  1. 1Go to "Users and permissions" in the left sidebar
  2. 2Click "Invite new users"
  3. 3Enter your service account email (found in the JSON file)
appdrift-play-console@your-project.iam.gserviceaccount.com

You can find this email in your downloaded JSON file under "client_email"

7

Grant Permissions

Account Permissions

Grant the following permissions to the service account:

App Access

Select the apps you want to use on AppDrift:

8

Add Credentials to AppDrift

  1. 1

    Go to your AppDrift dashboard

  2. 2

    Navigate to your Android app settings

  3. 3

    Click on "Configure Google Play Console"

  4. 4

    Upload the JSON file you downloaded from Google Cloud

  5. 5

    Enter your app's package name

  6. 6

    Click "Verify & Save" to test the connection

Google Play Console dashboard

Security Best Practices

  • Never share or expose your service account JSON file
  • Grant only the minimum required permissions
  • Regularly audit service account access and permissions
  • Enable audit logging in Google Cloud Console
  • Rotate service account keys periodically

Common Issues

"Permission denied" error
  • • Verify the service account has been added to Google Play Console
  • • Check that all required permissions are granted
  • • Wait 24-48 hours for permissions to fully propagate
  • • Ensure the API is enabled in Google Cloud Console
Cannot find service account email

The service account email is in your JSON file. Look for:

"client_email": "your-service-account@project.iam.gserviceaccount.com"
API not found or not enabled
  1. 1. Go to Google Cloud Console
  2. 2. Navigate to "APIs & Services" → "Library"
  3. 3. Search for "Google Play Android Developer API"
  4. 4. Make sure it shows as "Enabled"
  5. 5. If not, click "Enable" and wait a few minutes

You're All Set!

Excellent! You've successfully configured Google Play Console API access. Here's what you can do next: