Skip to main content

Enable Real-time developer notifications (RTDN) in Google Play Console

Setting up real-time developer notifications (RTDN) is crucial for ensuring data accuracy as it enables you to receive updates instantly from the Play Store, including information on refunds and other events.

  1. Open the App settings from the Adapty top menu.

  1. Copy the contents of the Enable Pub/Sub API field next to the Google Play RTDN topic name title.

note

If the contents of the Enable Pub/Sub API field have a wrong format (the correct format starts with projects/...), refer to the Fixing incorrect format in Enable Pub/Sub API field section for help.

  1. Open the Google Play Console, choose your app, and scroll down the left menu to find Monetize -> Monetization setup.
  2. In the Google Play Billing section, select the Enable real-time notifications check-box.
  1. Paste the contents of the Enable Pub/Sub API field you've copied in the Adapty App Settings into the Topic name field.
  2. Click the Save changes button in the Google Play Console.

Fixing incorrect format in Enable Pub/Sub API field

If the contents of the Enable Pub/Sub API field are in the wrong format (the correct format starts with projects/...), follow these steps to troubleshoot and resolve the issue:

1. Verify API Enablement and Permissions

Carefully ensure that all required APIs are enabled, and permissions are correctly granted to the service account. Even if you've already completed these steps, it’s important to go through them again to make sure no sub-step was missed. Repeat the steps in the following sections:

  1. Enable Developer APIs in Google Play Console
  2. Create service account in the Google Cloud Console
  3. Grant permissions to service account in the Google Play Console
  4. Generate service account key file in the Google Play Console
  5. Configure Google Play Store integration

2. Adjust Domain Policies

Change the Domain restricted contacts and Domain restricted sharing policies:

  1. Open the Google Cloud Console and select the project where you created the service account to manage your app.

  2. In the Quick Access section, choose IAM & Admin.

  3. In the left pane, choose Organization Policies.

  4. Find the Domain restricted contacts policy.

  5. Click the ellipsis button in the Actions column and choose Edit policy.

  6. In the policy editing window:

    1. Under Policy source, select the Override parent's policy radio-button.

    2. Under Policy enforcement, select the Replace radio button.

    3. Under Rules, click the ADD A RULE button.

    4. Under New rule -> Policy values, choose Allow All.

    5. Click SET POLICY.

  7. Repeat steps 4-6 for the Domain restricted sharing policy.

Finally, recreate the contents of the Enable Pub/Sub API field next to the Google Play RTDN topic name title. The field will now have the correct format.

Make sure to switch the Policy source back to Inherit parent's policy for the updated policies once you've successfully enabled Real-time Developer Notifications (RTDN).

Raw events forwarding

Sometimes, you might still want to receive raw S2S events from Google. To continue receiving them while using Adapty, just add your endpoint to the URL for forwarding raw Google events field, and we'll send raw events as-is from Google.


What's next

Set up the Adapty SDK for: