Blog ·
Google Play Developer API setup and permissions
The Google Play Developer API lets software publish app releases, update store listings, and manage in-app purchases and subscriptions. To get access for an upload tool, enable the API in a Google Cloud project, create a service account, and grant that account access to the target app in Play Console. See Google’s REST reference for endpoints.
What can you do with the Google Play Developer API?
Google splits the API into two main components. Choose the one that matches the job you want to automate.
- Publishing API. Upload new versions, assign releases to testing or production tracks, and update localized store text, graphics and screenshots. For a listing update, an edit groups changes so they can be committed together.
- Subscriptions and In-App Purchases API. Check whether a purchase went through, manage your product catalog, or modify and cancel recurring purchases. A backend can use this part of the API to check a subscription's status before granting access.
Play Console grants access by task. Manage store presence covers listing edits, while rolling out a build to production uses Release to production, exclude devices, and use Play App Signing. For billing, Google's API setup guide calls for financial-data and order-management permissions.
How to set up Google Play Developer API access
A service account is an identity that software can use to authenticate. Google Cloud creates the identity and enables the API. Play Console controls what that identity can do to your apps.
- Enable the API in Google Cloud. Select an existing project or create one. Open the Google Play Developer API page for that project and click Enable. Google's setup guide links directly to the API page.
- Create a service account. In Google Cloud Console, open Service Accounts and click Create service account. Give the account a name that identifies its purpose, then copy the email address from the service account list.
- Invite the service account in Play Console. As the developer account owner or an admin with access, open Users and permissions and start a new invitation. Enter the service account's email. Under App permissions, select the target app, grant Manage store presence, and click Invite user. Google lists this as the permission for editing listing text and graphics. App-level access keeps the grant scoped to the app you selected.
- Download a JSON key if your client needs one. In Google Cloud Console, open the service account using its email and choose Keys → Add key → Create new key. Select JSON and click Create to download the file. Keep it in secure storage and out of source control. It contains the private key your client uses to authenticate. Google Cloud's key instructions cover the download and the role required to create keys.
In Wow Keywords, open Settings → Google Play and select the service-account JSON key file you downloaded. Then select the app from your Play Console account. If the separate Google Play Developer Reporting API is disabled and the account app list is unavailable, paste the app's public Google Play link to add it. Use the link for the same app you granted the service account permission to edit.
How to upload a Google Play listing
Upload the first APK in Play Console before using the API to edit the listing. Google's Edits documentation explains this requirement.
In Wow Keywords, open the Android app you added and review the localized title, short description and full description for each language you plan to update. Review the phone screenshots and feature graphic alongside the text so you can catch mismatched languages or artwork before uploading.
Choose the languages and fields you want to send and click Upload. Then open the app's Main store listing in Play Console, select the languages you updated, and check that the text and graphics match what you chose. Use the Google Play optimization guide to research local search phrases and revise the listing before your next upload.
FAQ
Do I have to link my Google Cloud project to Play Console?
Google removed the separate project-linking requirement. You still need a Cloud project with the API enabled and an identity with the right Play Console permissions. Google's setup guide explains both settings.
When should I use OAuth instead of a service account?
Use an OAuth client if your tool needs to act on behalf of each person who signs in with their Google account. Set up the OAuth consent screen before creating the client ID. Each signed-in user can act within their own Play Console permissions.
What should I check if the API denies access?
If you use a JSON key, compare its client_email with the identity listed in Users and permissions. Check that the grant hasn't expired and covers the app and operation you're attempting. Ask the account owner to update the app permissions if the grant is missing.