Android || How to create Service Account json file required to update android app on Google Play Console ?

Created by Ayush Sharma, Modified on Tue, 8 Apr at 1:47 PM by Ayush Sharma

To push app updates directly from App Builder, you need to create a Service account for us to push the app updates directly on Play Store.

The following instructions explain the steps needed to create a Service account JSON.

  1. Create a Google Cloud Project.
  2. Enable the Google Play Developer API for your Google Cloud Project.
  3. Set up a service account with appropriate Google Play Console permissions to access the Google Play Developer API.

Create a Google Cloud Project

You can skip this step if you already have a Google Cloud Project you want to use.

Enable the API

Once you have set up the Google Cloud Project, you need to enable the Google Play Developer API for this project.

To enable Google Play Developer API:

  • Go to the Google Play Developer API page in Google Cloud Console.
  • Click Enable.

Create a service account

 

mceclip7.png

  • Step 1: Go to the IAM & Admin ->service accounts section from the left menu of your Google Cloud console and click on Create Service Account at the top.



  • Step 2: Provide a relevant service account name for the same.

  • Step 3: Click on Create and Continue.

  • Step 4: Assign Roles to this service account- 
  1. Click on Role and scroll down to Service Accounts and select Service Account User role from the drop-down.
  2. Click on + Add Another Role Button & scroll down to Service Usage and select  Service Usage Consumer Role from the drop-down. 

  • Step 5: Click on the three-dot menu of the service account you just created &
    Click on Manage keys in the three-dot menu.

  • Step 6: Click on Add key and then select Create new key.

  • Step 7: Select JSON in the popup that appears on the screen and click on Create.


The key is saved on your computer.

  • Step 8: Search for API & Services on Cloud and select it.

  • Step 9: Click on Enable Api & Services.

  • Step 10: Search for Google Play Integrity API and select it.

  • Step 11: Click on Enable.

  • Step 12: Now search for Google Play Developer API and Enable it in a similar way.

  • Step 13: Go to the IAM & Admin ->service accounts section from the left menu of your Google Cloud console & copy the service account user email.

 

  • Step 14: Go to the Users & Permissions page on the Google Play Console.

  • Step 15: Click Invite new users.

  • Step 16: Put an email address for your service account in the email address field and grant the Admin all rights to this service account user by following the next steps.

  • Step 17: Go to the Users and Permissions > App Permissions Tab and select the App for which you want to provide permission by clicking on the Add app button.

  • Step 18: Go to the Account Permissions Tab &  Grant Admin permissions and then click on Invite user.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article