Appflow.ai
Visit our websitePricingSign up for freeLog in
  • GET STARTED
    • What is Appflow.ai?
    • Quickstart - How to start working with Appflow.ai?
    • FAQ
    • Ownership and other roles
  • SDK Set-up Instructions
    • Android SDK
      • Google Play Store Credentials
        • Google Service Account Key
        • Google real-time developer notifications(RTDN)
        • FCM server key(optional)(to be updated)
      • Events (Custom events)
      • Purchases
      • Visual constructor
      • User info
      • Push notifications
    • iOS SDK
      • Specify Apple Store Keys
      • Purchases and User Info
      • Event tracking (Custom events)
      • Push Notifications Configuration
      • Visual constructor
  • IN-APP PURCHASE
    • SKU adding
  • METRICS & EVENTS
    • Calculations of Analytics
    • Terms and Descriptions
    • Purchase Events
    • In-app Events
    • Events Structure
    • End-users Attributes
    • Users' statuses
  • SUBSCRIPTION ANALYTICS
    • Dashboard
    • Configurator
    • Reports
    • A/B Testing
    • Integrations
    • Create Push-notifications
    • In-app Messages
    • Return of Advertisement
    • Funnels
    • Funnel 2.0 BETA
    • Entitlements
    • Visual Constructor
  • INTEGRATIONS
    • Adjust
    • Appsflyer
    • Mixpanel
    • Webhooks
    • Apple Search Ads Attributions
    • Branch
    • Amplitude
  • OTHERS
    • Pricing plans and important information about your payments
    • Storing your data
    • Privacy Policy
    • Terms of Use
    • Unsubscribe from Appflow.ai
Powered by GitBook
On this page
  • 1. Create a new Appflow.ai project in the Google Cloud Console
  • 2. Create a Service Account in the Google Cloud Console
  • 3. Enable APIs in the Google Cloud Console
  • 4. Adding the Service Account as a user in the Google Play Console
  • 5. Upload Google service account keys to Appflow.ai Dashboard

Was this helpful?

  1. SDK Set-up Instructions
  2. Android SDK
  3. Google Play Store Credentials

Google Service Account Key

Discover how to get the Google Service Account Key and upload it to Appflow.ai for server-side purchase validations.

PreviousGoogle Play Store CredentialsNextGoogle real-time developer notifications(RTDN)

Last updated 1 year ago

Was this helpful?

To enable server-side purchase verification, the is essential. Without it, Appflow.ai cannot validate and process transactions. To obtain and upload the service account key to Appflow.ai, follow the guide below.

Procedures:

1. Create a new Appflow.ai project in the Google Cloud Console

1.1 and log in.

1.2 First, click on "Setup" located on the left-hand side and then select "API Access". Once you have clicked on "API Access", you will be directed to the following page. From there, simply click on "Learn more about Publishing API setup" to navigate to a new page.

1.3 On the new page(Google Play Developer API Guides), simply click on "Google Cloud Console" to initiate the creation of a new Google Cloud project. (Please note that if you already have a Google Cloud Project that you wish to use, you can skip this step.)

1.4 On the New Project screen, enter the Project Name. For example, you may use "my-app-name-appflowai-access". Let the location remain as it is and proceed to click "Create". Then a new project is created.

2. Create a Service Account in the Google Cloud Console

2.1 After the new project has been successfully created, you will be redirected to the page below. Please select "Create Service Account".

2.2 In the popup window, fill out the following information:

  • Service Account Name

  • Service Account ID

  • Service Account Description

Make sure to copy the email address located below the Service Account ID for later use. Once you have filled out the necessary information, click on "CREATE AND CONTINUE" to proceed.

You will be directed to the "Grant this service account access to project" section:

Click on "Select a role" and choose "Project>Owner".

After selecting the appropriate role, click on "Continue".

Next, you will reach the "Grant users access to this service account" section. Leave this section blank (no need to enter any information) and click on the "DONE" button below to finalize the process.

2.3 Upon completion, you will be presented with the page below, displaying the newly created service account. Click on the account (hyperlinked) to proceed.

2.4 Go to the "KEYS" panel and click on "Add Key". Then, select the option "Create New Key".

3. Enable APIs in the Google Cloud Console

When the Google Play Android Developer API is successfully enabled, it will appear as follows:

When the Google Play Developer Reporting API is successfully enabled, it will appear as follows:

When the Cloud Pub/Sub API is successfully enabled, it will appear as follows:

4. Adding the Service Account as a user in the Google Play Console

4.3 On the App permissions, add the app you want the user to have access to.

4.4 Then choose "Account permissions", check "Admin (all permissions)" then "Invite user".

3.5 Click "Send invite" on the confirmation pop-up.

Then in the "Users and permissions" section, the service account email address should be there with an active status and "Never expires" underneath.

5. Upload Google service account keys to Appflow.ai Dashboard

5.2 Find the app you want(you need to add an app if you haven’t done it), and click “Edit” to access the application editing page.

5.3 On the application editing page, Find the “Google Play Keys“ section. Click "Upload service account key file", and upload the keys that you downloaded earlier.

2.5 Within the pop-up window, select "JSON" and proceed by clicking on "CREATE". This action will initiate the downloading of the JSON file to your computer. This downloaded file is the one to be .

3.1 Go to the page and click "Enable".

3.2 Go to the page and click “Enable”.

3.3 Go to the and click “Enable”.

4.1 Go to in the Google Play Console and click on “Invite new users”

4.2 On the page that opens, paste the copied email address(the one you just created in of this guide) into the "Email address" Section and leave "Access expiry" unchecked.

5.1 Go to, then on the right panel, find Applications, and click on “Manage” beneath it. You will then be directed to the app listing page.

If you have completed the process correctly, the RTDN topic should be generated automatically below. Copy it, and set up the .

Google Play Android Developer API
Google Play Developer Reporting API
Cloud Pub/Sub API page
Users and permissions
Appflow.ai>Settings
Real-time Developer Notifications
uploaded to Appflow.ai
step 2
Google Service Account Key
Head to the Google Play Console
1. Create a new Appflow.ai project in the Google Cloud Console
2. Create a Service Account in the Google Cloud Console
3. Enable APIs in the Google Cloud Console
4. Adding the Service Account as a user in the Google Play Console
5. Upload Google Service Account Keys to Appflow.ai Dashboard
google-play-console-setup-api-access
google-play-developer-api
google-console-create-new-project
google-cloud-create-service-account
google-cloud-service-account-setting
google-cloud-service-account-select-role
google-cloud-grant-service-account-access
goole-cloud-service-accout-finalize-the setting
newly-created-service-account
google-cloud-create-new-key
google-cloud-create-json
enable-google-pay-android-developer-api
google-pay-android-developer-api-enabled
enable-google-play-developer-reporting-api
google-play-developer-reporting-api-enabled
enable-cloud-pub-sub-api
cloud-pub-sub-api-enabled
google-play-console-users-and-permissions
google-play-console-invite-users
grant-app-permission
grant-account-permission
google-play-console-send-invite
user-account-status-never-expires
appflow.ai-settings-applications
appflow.ai-edit-app
appflow.ai-upload-service-accout-key-file
appflow.ai-rtdn-topic-name
This is the instruction screen that directs users to Google Play Console>Setup>API access
This is the screenshot of the Google Play Developer API interface
Screenshot for creating a new Google Cloud project
Instruction screenshot for creating a new service account
Instruction screenshot for filling out store account information
Instruction for granting the proper access for Google service account
Instruction for grant owner access for Google service account key
Instruction for finalizing the creation of the Google service account key
Screenshot that shows a new service account is created
Instruction on how to reach the Google key downloading page
Instruction on creating a service account Json key
This is the page of Google Android developer API
This is the page of Google Android developer API that shows "Enabled“
This is the page of Google Play Developer Reporting API
This is the page of Google Play Developer Reporting API that shows "Enabled“
This is the page of Google Pub/Sub API
This is the page of Google Pub/Sub API that shows "Enabled“
This is the instruction screenshot on how to reach the User and permissions in the Google Play Console
This is a guide on how to invite google service account as a user in the google search console
This is the guide screenshot on how to grant service accounts access to specific apps
This is a guide on how to grant account permission for service account
The screenshot of sending invites to the service accounts
The status of the invited service account shows “Never expires“
The guide on how to reach applications listing page in Appflow.ai
This is the instruction screenshot on how to edit an app in Appflow.ai
The guide on how to upload Google service account key file to Appflow.ai
The RTDN topic is generated automatically after uploading the Google play key