Get Credential

Step-by-step guide for creating your Play service credentials

In order for Admost’s servers to communicate with Google on your behalf you need to provide a set of service credentials. The process for configuring these credentials is a bit complex, but the added level of control improves security by only providing Admost with the access we need.

Your Play Developer account needs to be linked to a Google Developer Project.

1a. Open the Settings > Developer account menus and select API access

Play API Access

Get API Access

1c. Agree to the terms and conditions

Agree Terms

2. Create Service Account

Next we need to create a service account. This is done from the Google API Console

2a. Select Create Service Account

Play Create Service Account

Play Navigate API Console

2c. Create Service account key credentials

Play Account Key

2d. Name it and assign it Project Owner Role

When you hit create, a JSON file will be downloaded. These are the credentials that Admost will need to communicate with Google

Play Account Create

Add two Roles:

Grant this service

You can skip the optional third step, “Grant users access to this service account” by clicking Done.

Grant this user

2e. Create Public Key

In the Google Cloud Console, click on Actions > Manage keys.

Service Account Manage Keys.png

Click ADD KEY > Create new key.

Manage Credentials Create New Key

Make sure JSON is selected and click Create to create and download the JSON key.

Create Credential JSON

Save Private Key

The downloaded JSON key is what you will need to enter in Admost in step 4.

3. Grant Financial Access to Admost

3a. Back in the Play Console, select Grant Access on the newly created Admost service account

Play Grant Access

3b. Grant the following permissions

  • View app information and download bulk reports (read-only)
  • View financial data, orders, and cancellation survey responses
  • Manage orders and subscriptions

Play Finance Permission

3c.Click Invite User at the bottom and send the invite

Play Send Invite

You will be redirected to Users and Permissions where you should see your newly created service account as Active.

3d. Apply permissions to your apps

In the Users and Permissions section, click on the service account and add your apps to the account. Click Apply on the sheet that appears.

Play App Permission

App Permission

Hit save and you’re done.

4. Enter the credential Json in Admost

Add the credential JSON that were downloaded in to Android Store Credentials and we’ll be ready to handle Google Play purchases!

Add Google Store Credential

Warning

It can take up to 36 hours for your Play Service Credentials to work properly with the Android Developer API.