Introduction
The At Ready Education we leverage tools like the Google Play Developer API is required to publish Campus App and perform app-management tasks for the Android version of the Campus App. This is done through creating a Service Account. This article’s purpose is to provide an overview of the Google Play Service Account Setup, and list instructions for your Google Play Developer Administrator to follow. You’ll see hyperlinks embedded in this article that point to Google Documentation for additional information. Please review Create a Google Play Account as it is a pre-requisite for this.
Overview:
To start using the Google Play Developer API for the Service Account, the first step is to set up and manage create a Google Cloud Project. Then, you’ll enable the Google Play Developer API directly from the Google Play Console, for your Google Cloud Project. This is followed by creating the Service Account and granting Admin access . Then granting ‘Service Token Creator’ permissions to Ready Education Teamfor that Service Account. And finally, granting the Service Account access in the Google Play Console. The Developer API configuration can only be managed by the owner users of your Google Cloud Project with sufficient permissions, and Google Play Console access can only be managed by users of your Google Play Developer account . Please review Create a Google Play Account as it is a pre-requisite for this. with sufficient permissions
The following instructions explain how to set up the Service Account:
...
Table of Contents | ||
---|---|---|
|
1. Create a Google Cloud Project
In order to access the Google Play Developer API, it is required to link your Google Play Console to an API project. It is recommended to create a new API project for this. Following are the steps:
Go to the API Access page on the Google Play Console. (It is usually located in Settings>>Developer Account>> API Access)
Accept the Terms of Service.
Click Create new project.
An API project is automatically generated and linked to your Google Play Console.
Detailed instructions for API on Google Developers website.
//play.vidyard.com/1zD63Tg5ZENKGUDS8DnnwJ.html
2. Creating a new Service Account to access API
Create a service account to access the API from a build server without providing your personal user credentials. Following are the steps:
...
Go to the API Access page on the Google Play Console.
...
Under Service Accounts, click Create Service Account.
...
use a Google Cloud Project.
Create a Google Cloud Project by going to https://console.cloud.google.com/
Click IAM & Admin
In the top Search Bar enter: ‘New Project’
Click Create a Project from the Search Results
For ‘Project Name’ enter “Ready Education Project”
For ‘Billing Account’, be sure to select an account you manage
For ‘Organization’ be sure to select the organization for the Developer Account, i.e. your institution
Click Create
...
2. Enable the Google Play Android Developer API
Once you have set up the Google Cloud Project, you need to enable the API for this project.
Go to the APIs & Services page in Google Cloud Console.
Use the url: https://console.cloud.google.com/projectselector2/apis/api/androidpublisher.googleapis.com/overview?supportedpurview=projectFor ‘Select a Recent Project’ - Click Ready Education Project
Click Enable
...
3. Creating a new Service Account
Create a Service Account to access the API by following these steps.
Go back to the top left of the page and click on the Navigation Menu
Go down & Click IAM & Admin
Click Service Accounts on the drop down menu
Click Create Service Account and follow the instructions on the page to create your service account. (This will open Google Cloud Platform in a new tab)
On the Google Cloud Platform Tab, Click on 'Create Service Account.'
Under “Service account name,” enter “ReadyEducationPublisher.”
Under “Service account description,”
1. Service Account Details
For ‘Service account name’, enter “ReadyEducationPublisher”
For ‘Service account description’, enter “Service account to grant Ready Education access to publish app updates.”
...
Click Create and Continue
2. Grant this service account access to project (optional)
For ‘Service account name’, enter “ReadyEducationPublisher”
For ‘Select a Role’, enter & select "Service Account User"
...
You could leave the optional step to "grant user access to this service account."
Once you’ve created the service account on the Google Cloud Platform, visit the Google Play Console and click Done. Please
Click Continue
Skip 3. and Click Done
Please note that clicking on 'X' instead of 'Done'
...
may result in the unsuccessful creation of a Service Account.
...
Detailed instructions for Service Account on Google Developer's Website
...
For Google Cloud’s documentation, please see Create Service Accounts
...
3. Grant Access to Ready Education's Service Account
Now that the Service Account "ReadyEducationPublisher" is created, proceed with the step to grant access to Ready Education's Service Account.
Note: If you have already finished the Google App Transfer Process and followed the steps to create a Key in the Google Cloud Platform, it is necessary to delete the same to adopt the keyless setup. Please read this Article
...
Go to the API Access page on the Google Play Console. (It is usually located in Settings>>Developer Account>> API Access)
Find Click Service Accounts on the left hand menu
Double Click on the direct link for the newly created Service Account named "ReadyEducationPublisher" and Click on "View in Google Cloud Platform."
On the Google Cloud page, ensure to select "Service Accounts" on the left column. Click on the "ReadyEducationPublisher" service account and go to the "Permissions" tab. Under the Permissions tab, click on "Grant Access" and input the following information:
Under “Add Principals” enterNavigate to the top of the page and Click the "PERMISSIONS" Tab
Navigate to the bottom of the page and Click “+👤GRANT ACCESS”
For Add Principles, copy and paste the value: “re-gplay-sa-token-creator@pc-api-6190680001848518307-76.iam.gserviceaccount.com”, then click Enter
For
the same, pleaseAssign Roles, enter & select "Service Account Token Creator" as the “Role”
and click on "Save."
...
4. Grant "Admin" Access to ReadyEducationPublisher Service Account
Now that the Service Account "ReadyEducationPublisher" is created proceed with the step to Grant Access to the service account.
Go to the API Access page on the Google Play Console. (It is usually located in Settings>>Developer Account>> API Access)
Find the newly created Service Account "ReadyEducationPublisher" and Click on "Grant Access."
On the page with permissions, ensure to select "Admin" at the Account Level so that Ready Education Team will have full permissions to publish and manage the Campus App. If it is required to have fewer permissions, please reach, please submit a request at Ready Education Help Center.
Lastly, Click on Invite User and Send Invite to complete the process.
Click Save
...
4. Share the Service Account Email with Ready Education
Please share us the newly created service account email address produced with Ready Education.
This can be sent directly to the Implementation Consultant you are working with, and/or Integrations@readyeducation.com
For further help with this process please submit a request at Ready Education Help Center.
...