Reputation: 1322
I'm trying following this doc https://support.google.com/googleplay/android-developer/answer/6135870?visit_id=638657507285803777-2285004877&p=stats_export&rd=1#export&zippy=%2Cdownload-reports-using-a-command-line-tool
to download play store analytics using a python script.
I noticed that the bucket is not listed in my buckets, because it was created by Google automaticall. When i paste the url of the bucket, I can access it.
I created a service role, attached all bucket roles on it, but got :
"errorMessage": "403 GET https://storage.googleapis.com/storage/v1/b/pubsite_prod_XXXXXXXXXXXXXXXXXX?projection=noAcl&prettyPrint=false: id-gara-lambda-playstore-analy@gara-android-store.iam.gserviceaccount.com does not have storage.buckets.get access to the Google Cloud Storage bucket. Permission 'storage.buckets.get' denied on resource (or it may not exist).", "errorType": "Forbidden",
The gmail user I used to create this service role is full admin on my play store console.
I don't know what to do.
The service role is created under my organisation. But I don't know which organization the buckets created by Google belongs to.
Under permissions, I even can't add the permissions
What could I do to tell Google to give to the service account an access to this bucket for read ?
Thank you.
Upvotes: 0
Views: 144