Before you start
- You need the Owner or an Admin of the Play Console developer account, to open Download reports and to invite a service account.
- It takes about ten minutes. Google can take up to two days to apply a permission given to a new service account, so the connection may be refused until then.
- You must be the owner of the AsoBeast workspace, and the Store connections section of Integrations must show a Connect Google Play button. If it says that store connections are off, the instance needs
STORE_CONNECT_ENCRYPTION_KEYfirst, see the overview. - Google writes a day into the files three to seven days after it ends, so the newest days of the card fill in over the following week.
Choose how to connect
Copy the bucket id
Open Download reports
Copy the Cloud Storage URI
gs://pubsite_prod_rev_ followed by digits, or gs://pubsite_prod_ followed by digits on older accounts.Keep the bucket id
gs://, for example pubsite_prod_rev_01234567890987654321. AsoBeast also accepts the whole URI and removes the gs:// itself.Sign in with Google
Open the dialog
Paste the bucket id
Choose the account
Allow the access AsoBeast asks for
Return to AsoBeast
Use a service account key
Open the Google Cloud console
Create the service account
iam.gserviceaccount.com.Create a JSON key
Enable the API for replies
Invite the service account in Play Console
Grant the report permission on the account
Connect it in AsoBeast
After connecting
The card lists the service account or the Google account, the bucket, the key ID and fingerprint for a key, and the day it was connected, then Review replies, the status line and Apps this connection reports. The status line reads Waiting for the first store performance file, which Google writes to the bucket once a day. until the first file is read.Troubleshooting
Set up Google sign in for the instance
An operator turns sign in with Google on once for a self hosted instance. The hosted service already has it.Create the OAuth client
WEB_PUBLIC_URL followed by /integrations/google-play, for example https://aso.example.com/integrations/google-play.Publish the consent screen
https://www.googleapis.com/auth/devstorage.read_only and https://www.googleapis.com/auth/androidpublisher to the consent screen, enable the Google Play Android Developer API in the same project, and publish the app to production. Google expires every sign in of an app left in testing after seven days. Until Google verifies the app, the consent screen warns that it is unverified, which is enough for a team that knows the instance.Set the variables
GOOGLE_PLAY_OAUTH_CLIENT_ID, GOOGLE_PLAY_OAUTH_CLIENT_SECRET and WEB_PUBLIC_URL, described in the configuration reference, and restart the API. The dialog then offers Sign in with Google.