Skip to main content

Google API Access

Why we need this key

This service key connects the wappier platform to the Google Play API. As a result, we are able to perform the following operations:

  • wappier is able to create/delete in-app products in your Developer Console.
  • wappier is able to capture any price changes and in-app products addition/removal. We have developed alerting/monitoring systems for this type of changes, by fetching all products in the Google Developer Console every day.
  • wappier is able to validate with Google all tracked in-app purchases from the wappier Optimization SDK (only for the Global Pricing SDK integration).

How to export this key

Follow the steps below, to provide wappier with your Google Service Key. To make this happen, you must link your Google Play Developer Console to an API project. You can do this by either creating a new API project or by using an existing one.

Create a new API project

note

If you have an API project, skip this section.

If you don’t have a linked API project, please follow these steps to create a new one:

  • Go to the API Access page on the Google Play Developer Console, found under Settings.
  • Accept the API Terms of Service.
  • Click Create new project.
  • An API project is automatically generated and linked to your Google Play Developer Console.
note

If you have an API linked project, skip this section.

If you are already a user of the Google Play Developer API, the following steps will guide you through how to link it to your existing API project:

tip

If the API project you wish to link is not listed, verify that your Google Play Developer Console account is designated as an Owner, and the Google Play Developer API is enabled.

  1. Go to the API Access page on the Google Play Developer Console, found under Settings.
  2. Accept the API Terms of Service.
  3. Choose the project you’d like to link.
  4. Click Link project.

Create a Service Account

Now that you have linked your Google Play Developer Console to an API project, the next step is to create a service account for wappier to access the Google Play Purchase Status API.

Follow the steps below to create a service account:

a. Go to the API Access page on the Google Play Developer Console, found under Settings.

b. Under Service Accounts, click Create new service account.

c. Follow the instructions on the pop up to create your service account:

  • Go to the Google Cloud Platform.
  • Select Create Service account.
  • Fill in the details for the service account and export the JSON key file with the following steps:

① Create the service

Fill the name and the description of the service account and create the service.

② Select Roles

Under Project > Owner, select Service Accounts > Service Account User, then Service Accounts > Service Account Token Creator and click CONTINUE.

③ User access

tip

This step is optional and you may click on the DONE button.

④ Create the Service key

Under Keys, select ADD KEY > Create new key.

⑤ Export the Service Key

In the pop-up, select JSON as key type and then click on the CREATE button.

This is the Google Service Account JSON key file to be sent to wappier. The content of the JSON key file must include:

type
project_id
private_key_id
private_key
client_email
client_id
auth_uri
token_uri
auth_provider_x509_cert_url
client_x509_cert_url

⑥ Return to the API Access page

Once you’ve created the service account, click Done on the Google Developers Console. Then please return to the API Access page and the new service account will be listed.

⑦ Grant Access

Click Grant Access and in the section Permissions > App permissions, please add your app and select the following permissions:

  • View financial data
  • Manage store presence

note

The API access will be enabled from Google in a couple of hours after the above-described process.