If you haven't already, start a trial here: https://app.baremetrics.com/signup
Step 1:
Please follow the steps below to retrieve the required API credentials:
Login to https://play.google.com/apps/publish/ as an account owner.
If you have multiple Google Play apps, you’ll need to add each app (package name) as a separate source in Baremetrics.
Once logged in go to the Google Cloud Console: https://console.cloud.google.com
Click on API & Services as shown above & retrieve your app package name:
You’ll need your app’s package name when connecting Google Play as a source in Baremetrics😊
Step 2:
Set up API access & make sure the following APIs are enabled.
Use the drop-down to select a project.
Navigate to APIs and Services > Enabled APIs and services to make sure that the required APIs and services are enabled:
Google Play Android Developer API
Cloud Storage
Cloud Storage API
Google Cloud Storage JSON API
Google Play Developer Reporting API
Step 3:
Create a service account by navigating to IAM and Admin > Service Accounts.
Enter a name for the service account and an optional description, once added click on Create and continue.
Once saved Google will ask to grant this service account access to the project, select Owner as the role. Click CONTINUE.
Next, select the service account associated:
This step will require you to manage the new API keys:
Google generates a JSON file that your browser should download automatically. You’ll use this file when adding Google Play as a source in Baremetrics.
Step 4:
Within the App permissions tab, click the app that you want to give access and select View financial data and Manage orders and subscriptions. Permissions will need to be enabled accordingly or the integration will fail:
Step 5:
Now you'll need to retrieve your Google Play Store storage bucket ID & Service Account JSON Key:
Go to your Google Play console and select Download Reports > Financial.
Head to the developer console: https://play.google.com/apps/publish
Select "Download Reports" in the menu on the left.
Select your app.
At the bottom of the page, you'll find "Direct report URIs:" with a URL that looks something like: pubsite_prod_rev_123456 (this is what you'll use to connect Google with Baremetrics)
Head on over to https://app.baremetrics.com/settings/connections and add the credentials!
Please note: Sometimes Google needs a bit of time between you changing or creating API keys and these changes propagating. We've found that giving it some time - an hour or so often fixes it… Obviously, if the issue persists, please let us know and we'll look further into it!