Add a Google Play Store Account

Updated 

Google Play Store is the official app store for Android devices, where users can browse, download, and review applications. Sprinklr provides support for Google Play Store as a channel within the platform, allowing you to monitor, assess, and take action on reviews that your apps receive.

In this article, you will learn about how to add a Google Play Store account, and how to add a Google Play Store account in Sprinklr.

To add a Google Play Store account

  1. Log in to Google Play Console.

    Note: The app you are trying to add should be available as in the screenshot below.

  2. Under Choose Setup, in the API access window, either Link an existing Google Cloud project if already created or Create a new Google Cloud project.

  3. Click View Project that will redirect you to your created Google Cloud project that you will be using to add the app into Sprinklr.

  4. In the Enable APIs and services tab, click + ENABLE APIS AND SERVICES.

  5. In the API Library tab, search Google Play Android Developer API and enable.

    The same should be seen as enabled on Google Play Console.

    There are two ways in which you can add the account into Sprinklr

    1. OAuth client ID

    2. Service account

  6. ​Note: Prerequisite for the integration to work correctly, the app should be in Production Status, which can be checked in Google Cloud Project -> APIs and Credentials -> OAuth Consent Screen.

To add a Google Play Store account on Sprinklr using OAuth client ID

  1. Choose API & Services.

  2. Create Credentials.

  3. Enter OAuth ClientID

  4. Choose Web Application.

  5. Add the required Redirect URL for the environment (Reach out to the Success Manager for help).

    On creation you should be able to see the below screen for ClientID and client secret which you will need while adding the account in Sprinklr.

  6. Go back to Google Play Console -> Setup -> API access.

    Once created you should be able to see the same in your Google Play Console under OAuth Clients.

To add a Google Play Store account on Sprinklr using Service account

The process of adding a Google Play Store account on Sprinklr using Service account involves 3 steps.

  1. Create a Google Cloud Project (if not already) Requires Access to Google Cloud Console

  2. Create a Service Account

  3. Give permission to the Service Account for accessing the Application Reviews & Ability to respond to the same

To create a Google Cloud Project

Having a Google Project is one of the requirements of using the service account integration in Sprinklr. This can be achieved in two ways:

  • Use existing projects

  • Create a new project

We recommend creating a new google project because this project would be explicitly used by the Sprinklr integration, and we will enable only the Google Play APIs on this project. The existing project might contain other permissions as well so we would not like to have those permissions linked to the Sprinklr integration.

To create a google project, follow the steps below.

  1. Go to Manage Resources and click Create Project (Ref: https://console.cloud.google.com/cloud-resource-manager)

  2. Enter Project Name and add Location if required.

  3. Click Create.

    Your project would now be visible in the list of projects(https://console.cloud.google.com/cloud-resource-manager).

  4. Go to API & Services>Library.

  5. In the filter search for mobile category, select Google Play Android Developer API.

  6. Select your Project in the dropdown at top.

  7. Click Enable to enable API.

  8. Now the Google Project is ready for API usage.

Create a Service Account

Follow the steps below to create a service account.

  1. Go to IAM & Admin, and then navigate to Service Accounts.

  2. Click Create Service Account.

  3. Enter the service account name and click create and continue.

  4. In Grant this service account access to the project, select the Viewer role under basic. This is the minimal permission that is visible on the Google UI.

  5. Click Done.

    Note: Your Service Account is now created. Keep the Service Account Email handy for future usage.

Give permission to the Service Account

Follow the steps below to give permissions to the service account for the required apps

  1. Go to https://play.google.com/console/users-and-permissions.

  2. Enter email address of the service account. (Can be found in service account details.)

    You would now see your service account on the same page under service accounts.

  3. Click Add App and select the required App.

  4. Select the below 2 permissions in account permission.

  5. Click Invite user, and then select Send Invite.

    The apps are now ready to be used by the service accounts.

Generate keys and add apps in Sprinklr

  1. Go to your service account (https://console.cloud.google.com/iam-admin/serviceaccounts/)

  2. Generate an API Json key for your service account.

    1. Click Add Key.

    2. Click Create New Key.

    3. Select Json.

Now you can add this service account in Sprinklr using the steps below.

  1. Click the New Tab icon Space Add New Tab Icon. Under Sprinklr Social, click Owned Social Accounts within Listen.

  2. In the Accounts (Settings) window, click Add Account in the top right corner. 

  3. In the Add Account window, search and select Google Play Store from the list of channels. 

  4. In the Google Play Store pop-up window, select Service Account as Credential type to authenticate your Google Play Store account in Sprinklr.

  5. Enter the package name(Steps to find this are shared below), and click Verify Package Name, and upload the Json api key that was downloaded in previous steps while creating the key.

  6. Click Save.

    You can check your package name as shown below.

Choose Account Permissions

2 permissions will be needed for Smooth operations in Sprinklr.

  • Select App Access - > View app information and download bulk reports (read-only)

  • User FeedBack -> Reply to reviews.

Choose App Permissions

  1. Add the app

  2. Provide the same 2 Account permissions.

Choose Google Play Store in Account addition In Sprinklr

Choose Oauth Client Id / Service Account based on requirement and use the saved clientId/secret or credentials json from the previous steps and add the account in Sprinklr and you should be good to go.

To Add Google Play Store Account in Sprinklr

  1. Click the New Tab icon Space Add New Tab Icon. Under Sprinklr Social, click Owned Social Accounts within Listen.

  2. In the Accounts (Settings) window, click Add Account in the top right corner. 

  3. In the Add Account window, search and select Google Play Store from the list of channels. 

  4. In the Google Play Store pop-up window, you can choose the following Credential type to authenticate your Google Play Store account in Sprinklr.

    1. ​​OAuth Credentials

    2. Service Account Credentials

  5. Next, you'll be able to edit your account details and permission the account. 

    • Edit basic details of your account under Account Details, including changing the name of the account as it appears in Sprinklr, changing the Sprinklr User who is the owner of the account, creating a custom character count (which will apply to replies sent in Sprinklr), a default URL shortener, and an auto-populated signature to appear in replies sent from Sprinklr.​​

    • Under Groups to include Account in, select if you'd like to add the Google Play Store account to any Account Groups.​

    • Under Permissions, permission channel actions to Users and User Groups who should have access to the account.

    • Under Share this Account Across Spaces, choose the Workspaces that you would like the account to be visible in or share across all Workspaces to make the account visible globally within your Customer environment.​

    • Under Subscribers, select Users or User Groups to subscribe them to receive account notifications.​

    • Under Timezone, select a country and time zone to associate with the account if desired.​

    • Under Properties, set any account properties as needed.

  6. Click Save in the bottom right corner.

  1. Enter the Package Name and click Verify Package Name.

  2. Enter the Client ID and Client Secret.

  1. Enter the Package Name and click Verify Package Name.

  2. Enter the Account Screen Name.

  3. Next, in Drag and Drop JSON File Here section, you are required to select a JSON file from your device (alternatively you can drag and drop it from your device). For more information about how to generate a JSON file, see Creating and managing service account keys.

Note:

  • With Service Account authetication, your Google Play Store account will not deactivate from Sprinklr even if you change your Google Password natively.

  • It is recommended to add a unique service account for each Google Play Store App.