From my Google Play console I linked a project. Then I created a service account. Still, when refreshing the console, it still says "There are no service accounts associated with your project." Waited over 24 hours already. The purpose of all that is receipts validation.
-
How did you solve the problem? – Daryn Nov 14 '18 at 08:53
5 Answers
I had the same problem, I fixed it this way:
When you create a service account in step 2, you need to select a role to grant this service account some permissions, although it shows the step is optional, but for some cases, it's not. If you skip this step, the newly created service account will not show up at the Google Play Console API access page, and you will get this error message, The current user has insufficient permissions to perform the requested operation when you run your code.
- 1,898
- 2
- 9
- 29
-
3Ok now it worked -> I used the role "owner" plus I granted my user full access to the service account. I'm not sure if both optional steps are require though... – Lenny Mar 06 '19 at 10:56
-
-
4@awendt At first the role should fit your needs, then it's better there are no redundant permissions. Personally the viewer role is a good start. – Run Mar 16 '19 at 22:32
-
7If you're concerned about not giving the account too many privileges (the viewer role enables it to view anything on your Google Cloud project!), the role "Service Account User" should be sufficient – Thomas P. Feb 05 '20 at 08:50
-
2If you didn't specify `role` when creating `Service Account` You can still add the role later- at IAM -> "Add" – Roko Sep 16 '20 at 08:29
-
5
-
2If you set the "Service Account User" role when creating the service account, then it's set at the project level and anyone with access to the service account can impersonate any other service account in your project. So instead set it within the service account itself (click the service account in the "Service Accounts" screen and add it in the Permissions tab). Then it only has permission to impersonate itself, which means it has no permissions. – Lawrence Kesteloot Jan 06 '21 at 04:39
-
Exactly, I confirm this solution. In my case I gave just read_only but this time in step 2. – elgsylvain85 Jul 30 '21 at 21:37
-
-
@LawrenceKesteloot Unfortunately, adding the "Service Account User" role at the service account level doesn't work. – ashu Oct 27 '21 at 07:08
You much enable "Google Play Android Developer API" (one of Google Api & services) for your application via a credential! Google supplies many API for developers can call them from their app. A credential same as a permit (3 types of credentials : API key (such as youtube), OAuth, Service Account) If you never enable one API, it never shown on API Access page!
- 87
- 4
In my case: Even if you have created a service account, When you have already deleted the service account with the same name, It appears to have been deleted from the IAM tab of Google Cloud Platform. So it is assumed that it is not visible in the play console.
TODO: Create a service account with a different name (I gave the owner permission in step2 when creating, Like Q Locker's answer.). After creation, it was immediately exposed in the play console.
- 108
- 4
Make sure the project name on screen 1 and screen 2 are the same. In my case project name were different.
Screen 1: Main API Access page on Google Console
Screen 2: Google Cloud Platform page
- 519
- 7
- 9
I faced the same issue because I selected a wrong project instead of the project for which the service account to be created. Please double check the project name in the drop-down at top of the page (after going to the link of Google Cloud Platform). By default the right project to be selected automatically. But if no project is selected beforehand and you are asked to select a project, then select the right project carefully. Otherwise the service account won't show up after completing the whole process.
Another thing to mention, although the project is supposed to be selected automatically, initially it didn't happen and I was given the available projects to select from. The project may appear in the recent projects, otherwise click the SELECT PROJECT link and find yourself.
Moreover when I additionally logged out and removed all the other Google accounts from the browser except the account which is used in Google Play Console. That time I was redirected to service account creation page with the correct project selected beforehand.
- 1,730
- 3
- 17
- 38