In this article, you'll learn how to set up the integration and avoid any potential setup errors.
Before You Start
Only account owners can create Service Accounts in Google Play Console. You will need to ask your Google Play Developer account owner for help (or have access to their account). It's not possible to create a Service Account with an Admin role.
Create a Service Account
Step 1: Log into Google Console and create a new Cloud Project
If you already have a linked Google Cloud project, you can skip to the next step of this guide. We recommend looking through this step anyways – it never hurts to double-check that everything is all set and ready to go!
- In the Google Cloud Console go to Service Accounts page.
- Click on Create service account and follow the steps.
- If you already have a linked project, skip to the next section of this guide.
If you have never created a Google Cloud project before, you'll need to create one here. Select the option to "Create a new Google Cloud Project" to link it to your account.
- Click "Save".
Step 2: Confirm Your Account's Enabled APIs
Once you're in the Google Play Cloud Console, you'll be ready to start checking your account's enabled services:
- Make sure that "Google Play Console Developer" is selected at the top.
- Click on "View all products" at the bottom of the Cloud Console homepage.
- On the next page, click on "APIs & Services"
On this page, you'll see an option to "Enable APIs & Services" at the top of the page. Click on this button to access the API Library where we will be checking the services.
In the API Library, use the search bar to find and confirm that the following services are enabled:
- Google Play Android Developer
- Google Cloud APIs
- Google Cloud Storage
- Google Cloud Storage JSON API
If you see a "Manage" button when you click on a service, this means that it is already enabled. If you see an "Enable" button, that means that it hasn't been enabled yet.
Step 3: Create a Service Account
Now you're ready to create the Service Account! Let's head back to the Cloud Console homepage that we opened at the start of Step 3: Cloud Console homepage.
Important: Make sure the correct account and project are selected: "Google Play Console Developer".
1. To get started, scroll down and click on "View all products":
2. On the next page click on "APIs & Services"
3. Select "Credentials" from the left navigation menu, then click on "Manage service accounts"
4. On the next page click on "Create service account"
On the setup page, fill in the following details:
- Provide a Service Account name (for example, “AppFollow Reply to Reviews”)
- Optionally, add a description for the Service Account.
- Click "Create and continue".
- In the “Role” section, select “Basic”, then choose “Browser”.
- Click "Continue".
- On the final step, there's no need to fill anything out – just click "Done".
Step 4: Generate a JSON File
The Service Account Key is a JSON file that you will upload to AppFollow and that will ensure the connection between AppFollow and the Google Play Console. During this step, we'll create a key that will be downloaded to your computer. Make sure to save it – you'll need it when you're setting up the integrations in AppFollow.
Once you create the Service Account, you're automatically taken to a list of your Service Accounts in the Cloud Console.
- Find the account you just created in the list of Service Accounts and click on the three-dot menu in the far-right column of the row.
- Click "Manage keys".
- On the "Keys" page, click "Add Key".
- Select "Create new key".
- In the pop-up that appears, select "JSON".
- Click "Create". The file will be downloaded to your computer – keep it safe!
Step 5: Grant Permissions to the Service Account
Now your Service Account is almost ready – all we need to do is ensure it has the correct permissions. These permissions will allow you to reply to reviews directly from AppFollow.
To allow any of the service accounts access to the Google Play Console data for your apps, they have to be granted access:
- Go to the Users & Permissions page on the Google Play Console.
- Click Invite new users.
- Put an email address for your service account in the email address field and grant the necessary rights to perform actions. It is best to grant the service account the minimal set of permissions needed to call the desired API actions.
- Enable the "View app information and download bulk reports (read-only)" permission.
- Enable the "Reply to reviews" permission.
- Click on the Invite user button.
- Once you complete these steps, you should be able to access the Google Play Developer Reporting API through the service account, using the appropriate API key.
Set up the Integration in AppFollow
- Make sure you have created a JSON file from the first part of this guide: Create a Service Account
- Log into your AppFollow account and open the Integrations page from the left-hand navigation menu.
- In the app picker at the top of the view, select the Google Play app you need to integrate.
- On the Google Play integration card, click "Add Integration."
- Make sure the "Reviews & Replies" tab is open.
- Click "Upload Service account file" to upload the JSON file you created in the first section of this article.
- Click "Add integration."