Google Play Real-time Developer Notifications aren't arriving
When Google Play's Real-time Developer Notifications (RTDN) never arrive, the chain usually breaks at one of three links. Either the topic doesn't grant google-play-developer-notifications@system.gserviceaccount.com the Pub/Sub Publisher role, Play Console has the wrong topic name, or the push subscription doesn't deliver to your endpoint. Check each link with Send test notification in Play Console.
Symptom
- Purchases, renewals and cancellations happen, but your endpoint never receives a notification.
- Send test notification in Play Console fails, or succeeds while your server sees nothing.
- Adding the Google Play service account to the topic fails with a policy error.
Why it happens
Play publishes notifications to a Pub/Sub topic you own. A subscription then pushes them to your server, or you pull them. Each link can fail:
| Cause | How to tell |
|---|---|
Publisher role not granted to google-play-developer-notifications@system.gserviceaccount.com |
Topic Permissions doesn't list it, and the Play Console test fails |
| Organisation policy blocks outside members (Domain restricted sharing) | Granting the role fails with a policy error |
| Wrong topic name in Play Console | Monetization setup shows a different projects/…/topics/… |
| No subscription, or a pull subscription nobody pulls | The topic has no push subscription to your URL |
| Push endpoint wrong, or authentication not set up as your server expects | Subscription metrics show delivery attempts failing with 4xx |
| Your endpoint returns errors or is slow | Messages are retried and pile up in the backlog |
Confirm it
- In Google Cloud, open Pub/Sub → Topics → your topic → Permissions, and check that
google-play-developer-notifications@system.gserviceaccount.comhas Pub/Sub Publisher. - In Play Console, open Monetization setup → Real-time developer notifications. Check the topic name matches exactly, then click Send test notification.
- Open the topic's subscription and check Delivery type: Push, the endpoint URL, and Enable authentication if your server checks it. In Metrics, look for failed push attempts and their response codes.
- To see whether messages reach the topic at all, add a temporary pull subscription and pull one message.
Fix
- Grant the role: on the topic, add
google-play-developer-notifications@system.gserviceaccount.comwith Pub/Sub Publisher. - Policy error: ask an organisation admin to allow the member under the Domain restricted sharing policy (
iam.allowedPolicyMemberDomains) for this project, then grant the role. - Topic name: paste the full
projects/<project>/topics/<topic>into Play Console and save. - Subscription: create a Push subscription to your endpoint, with authentication set up the way your server verifies it.
- Endpoint: return 2xx quickly once you've stored the message, and verify the push identity token if you enabled authentication.
- Send another test notification and check it arrives.
Stop it coming back
- Alert when no RTDN has arrived for longer than your normal traffic allows.
- Recheck the topic's permissions after organisation policy changes.
- Watch the subscription's oldest unacked message age. A growing backlog means your endpoint is failing.
If you use BillDog
BillDog gives each project its own push endpoint, ending in ?r= plus a route key. You'll find it in Project Settings → Store on the Google Play card, under RTDN push endpoint and audience, once your Play credentials are verified. The bare https://api.billdog.io/v1/webhooks-google refuses every notification.
The push subscription must have Enable authentication ticked, with the Audience left blank. Then enter that subscription's service account under Set push service account. Until it's set, BillDog refuses every Play notification. Last notification on the card updates when Play Console's test arrives. This is from BillDog's Google Play setup guide.
Related
Sources
Did this fix it?
Frequently asked questions
Why can't I add google-play-developer-notifications to my topic?
Your Google Cloud organisation probably restricts IAM members to its own domain (the Domain restricted sharing policy). An organisation admin has to allow this Google service account for the project before you can grant it Publisher.
Does Play Console's test notification prove my server works?
It proves Play can publish to your topic. Whether it reaches your server depends on the subscription. Check the subscription's delivery metrics, or pull a message, to see how far it got.
Do I need one topic per app?
No. One topic can serve several apps. Each notification carries the package name, so your server can route it.