3

When a review reply is updated, I'm able to receive push notification. But where as for new question, update question and answer to a question is not notified via push notification. I subscribed to all changes.

URL: https://mybusiness.googleapis.com/v4/accounts/{accountno}/notifications

Output: enter image description here

I have given required permissions as well in pubsub settings

enter image description here

Daniel Collins
  • 752
  • 3
  • 14
Sudheer m
  • 86
  • 5
  • You can check the [Cloud Monitoring metric](https://cloud.google.com/monitoring/api/metrics_gcp) `subscription/push_request_count` broken down by `response_class` or `response_code` to see if the messages are getting pushed to your endpoint and rejected, vs not pushed to your endpoint at all. You can also check the metric `topic/publish_message_count` to make sure the messages are being published in the first place. – Allison Fisher Mar 03 '21 at 17:16
  • 1
    Did you solve this? Have similar problem. – lov3catch Mar 10 '21 at 12:28
  • were you able to figure out the cause this problem? – Mahmoud Farahat Mar 22 '21 at 14:07
  • I recommend you to follow this [troubleshooting guide](https://cloud.google.com/pubsub/docs/troubleshooting#messages), as where mentioned earlier is recommended to look in [Cloud Monitoring](https://cloud.google.com/pubsub/docs/monitoring) for errors related to the subscription in question. – Enrique Zetina Mar 29 '21 at 21:44
  • According to GMB API docs =>https://developers.google.com/my-business/reference/rest/v4/accounts/updateNotifications `accounts.updateNotifications` can set pubsub notification settings only for: new reviews, updated review, new google update – Mahmoud Farahat Apr 05 '21 at 10:16

1 Answers1

2

This is a bug.

I have reported this to the GMB API support multiple times - the new Notifications API has the same bug. The four Q&A NotificationTypes (NEW_QUESTION, UPDATED_QUESTION, NEW_ANSWER, UPDATED_ANSWER) can be set, however GMB never sends Pub/Sub messages for them.

You can let them know here: https://support.google.com/business/contact/api_default?hl=en

And hope that they create an issue here at some point: https://issuetracker.google.com/issues?q=componentid:585921%20status:open

vpgcloud
  • 1,294
  • 2
  • 10
  • 19