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.
- Create a Google Cloud Project.
- Enable the Google Play Developer API for your Google Cloud Project.
- 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.
- Log in to the Google Cloud console with the same Google account with which you have created your Play console account.
- Create a project in the Google Cloud Console.
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
- 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-
-
- Click on Role and scroll down to Service Accounts and select Service Account User role from the drop-down.
- Click on + Add Another Role Button & scroll down to Service Usage and select Service Usage Consumer Role from the drop-down.
- Click on Role and scroll down to Service Accounts and select Service Account User 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 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.
- Step 19: Go back to the App builder on your Graphy Dashboard and upload the .json file saved on your computer which you created in Step 7.
Next step -> Enable Play Integrity API to protect your Android apps from abuse and unauthorized access from rooted devices/emulators.
Comments
3 comments
Hi Team,
Stuck in step 7, unable to generate json file. Attaching the error, can you please check and assist.
https://help.graphy.com/hc/en-us/articles/6953161090205/comments/21102920345245
I have created Google Cloud account for some workforce identity pool or something which is a recommended method but it requires below things
Set up a new connection to your identity provider (IdP) or use Google?
Thank you Graphy - Shashank Raturi for calling me and helping me out on this issue.
Article is closed for comments.