> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oration.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Play

> Connect an Android app with a Google Cloud service account so customer reviews arrive in Oration and your team can reply to them.

Connect one Android app so its Google Play reviews arrive in Oration as conversations. Your team replies from the chat inbox, and the reply is posted publicly on Google Play.

Google does not push new reviews to other systems. Oration checks the Play Developer API for new and edited reviews every 15 minutes.

You need:

* An app that is published to production on Google Play. Feedback on internal, closed, and open testing versions is not returned.
* A Google Cloud project where you can create a service account
* Permission to invite users in Play Console
* A workspace role that can create channels

> [!NOTE]
>
> Google only returns reviews that have text and that were written or edited in the last 7 days. Star-only ratings never appear, and older reviews are not imported.

## Get a service account key from Google

Oration signs in to Google as a service account that you create and invite to your Play Console.

**1. Enable the API**

In the [Google Cloud console](https://console.cloud.google.com), pick or create a project and enable the **Google Play Android Developer API**.

**2. Create a service account and key**

Go to **IAM & Admin → Service Accounts** and create a service account. Open it, go to **Keys → Add key → Create new key**, choose **JSON**, and download the file. Note the service account's email address.

**3. Invite it in Play Console**

In [Play Console](https://play.google.com/console), go to **Users and permissions** and invite the service account's email. For your app, grant **View app information** and **Reply to reviews**.

> [!WARNING]
>
> New Play Console permissions can take a few hours to apply. If the connection check fails with a permission error right after the invite, wait and try again.

> [!NOTE]
>
> If your organization blocks service account keys, the key download is not offered. A Google Cloud organization admin has to allow key creation for the project, by relaxing the `iam.disableServiceAccountKeyCreation` policy.

You also need the **package name** of the app, for example `com.acme.app`. It is shown on the app's dashboard in Play Console.

## Create the connection

1. Go to **Settings → Agents Platform → Channels**.
2. On **Google Play**, click **Connect** (or **···** → **Add connection**). The drawer lists your existing connections and the steps above.
3. Click **New connection** and enter:
   * **Name** — a label your team will recognize, for example `Acme for Android`.
   * **Package name** — for example `com.acme.app`.
   * **Service account key (JSON)** — open the downloaded file in a text editor and paste all of it.
4. Click **Create Connection**.

Oration checks the access with Google before it saves anything. If the check fails, nothing is created and the error says what Google rejected. The key is stored encrypted and is never shown again.

Each connection is one app. To connect another app, create another connection.

## What happens next

Right after you create the connection, Oration imports the reviews Google returns from the last 7 days. The connection page opens on the **Sync** tab, where you can watch the first import finish. After that, new and edited reviews are pulled in every 15 minutes.

* Each review becomes one conversation in **Contact Center → Chat**, with the star rating, title, app version, device, and language on the review.
* If the customer edits their review, the edit is added to the same conversation.

## Reply to a review

Open the conversation in **Contact Center → Chat**, type your reply, and send it.

* **Replies are public.** Everyone who views the review on Google Play can read it.
* **A review has one reply.** If you already replied, sending again replaces the earlier reply.
* **Replies are limited to 350 characters.** A counter under the box shows how much room is left.
* Enter does not send a reply to a store review. Click **Send**, so a public reply never goes out by accident.

## Check on the sync

Open the connection and go to the **Sync** tab.

* **Last checked**, **Last successful sync**, and **Reviews imported last time** show the state at a glance.
* **Recent runs** lists each run with what started it (**First import**, **Scheduled**, or **Sync now**), its status, how many reviews it imported, and any error.
* **Sync now** checks Google immediately instead of waiting for the next scheduled run.

## Fix a connection in error

If Google rejects the service account, the status changes to **Error**, the message explains why, and scheduled syncing pauses.

1. Fix the cause on Google's side. For example, re-invite the service account in Play Console or restore its permissions.
2. Open the connection and click **Sync now**, or click **Revalidate** in the connections drawer.

When Google accepts the service account again, the status returns to **Active** and syncing resumes.

You cannot edit the key on an existing connection. To switch to a new key, create a new connection with it, then disconnect the old one from the connections drawer.

## Push reviews from another system

The connection page also has a **Webhook** tab. It shows a URL and a signing secret that let another system send reviews to this connection in the same format the sync uses. Most teams never need it. Viewing the secret is recorded in the audit log, and anyone who has it can add reviews to the connection, so share it carefully.

## FAQ

### Do I need a live app to try this?

Yes. Google only returns reviews for versions released to production. Feedback on testing versions is visible in Play Console only.

### Why is a review missing?

Google omits star-only ratings and anything older than 7 days. Otherwise, check the **Sync** tab for an error, then click **Sync now**.

### Why does the check fail with a 403?

The service account has not been invited to the app, is missing **View app information** or **Reply to reviews**, or Google has not applied the permissions yet. Check the invite in Play Console and try again in a few hours.

### Why can I not create a service account key?

Your Google Cloud organization has a policy that blocks it. Ask an organization admin to allow key creation for the project.

### Can I connect more than one app?

Yes. Create a connection for each app. You can reuse the same service account, as long as it is invited to each app.

> [!NOTE]
>
> Need help? Email [support@oration.ai](mailto:support@oration.ai).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.