Google Business Performance API, tek bir API isteğinde birden fazla "GünlükMetrik" getirmeye olanak tanıyan
YENİ bir API yöntemine sahiptir.
Kullanımdan kaldırma planını ve v4 reportInsights API yönteminden Google Business Profile Performance API'ye geçiş talimatlarını inceleyin.
NotificationSetting
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Bir konum güncellendiğinde veya yeni bir yorum yapıldığında bildirimlerin yayınlanabildiği bir Google Pub/Sub konusu. Hesap başına yalnızca bir bildirim ayarı kaynağı olur.
JSON gösterimi |
{
"name": string,
"pubsubTopic": string,
"notificationTypes": [
enum (NotificationType )
]
} |
Alanlar |
name |
string
Zorunlu. Bu ayarın ait olduğu kaynak adı. Bu, accounts/{account_id}/notificationSetting biçimindedir.
|
pubsubTopic |
string
İsteğe bağlı. Bu hesap tarafından yönetilen konumlar güncellendiğinde bildirim alacak Google Pub/Sub konusu. Politika ayarlanmazsa hiçbir bildirim yayınlanmaz. mybusiness-api-pubsub@system.gserviceaccount.com hesabı, Pub/Sub konusunda en azından Yayınlama izinlerine sahip olmalıdır.
|
notificationTypes[] |
enum (NotificationType )
Pub/Sub konusuna gönderilecek bildirim türleri. Bildirim almayı tamamen durdurmak için NotificationSettings.Update NotificationSetting, boş bir notificationTypes ile kullanın veya pubsubTopic'i boş bir dizeye ayarlayın.
|
NotificationType
Pub/Sub konusuna gönderilen bildirimin türü.
Sıralamalar |
NOTIFICATION_TYPE_UNSPECIFIED |
Bildirim türü yok. Hiçbir bildirimle eşleşmeyecek. |
GOOGLE_UPDATE |
Konum, incelenmek üzere Google güncellemelerine sahip. Bildirimdeki location_name alanı, Google güncellemeleri yapılan konumun kaynak adını sağlar. |
NEW_REVIEW |
Konuma yeni bir yorum eklendi. Bildirimdeki review_name alanı, eklenen yorumun kaynak adını; location_name ise konumun kaynak adını içerir. |
UPDATED_REVIEW |
Konumla ilgili bir yorum güncellendi. Bildirimdeki review_name alanı, eklenen yorumun kaynak adını; location_name ise konumun kaynak adını içerir. |
NEW_CUSTOMER_MEDIA |
Bir Google Haritalar kullanıcısı tarafından konuma yeni bir medya öğesi eklendi. Bildirimde, yeni medya öğesinin kaynak adı yer alır. |
NEW_QUESTION |
Konuma yeni bir soru eklenir. Bildirimde, sorunun kaynak adı belirtilir. |
UPDATED_QUESTION |
Konumla ilgili bir soru güncellendi. Bildirimde, sorunun kaynak adı belirtilir. |
NEW_ANSWER |
Konuma yeni bir yanıt eklenir. Bildirimde, soru ve yanıtın kaynak adı belirtilir. |
UPDATED_ANSWER |
Konumla ilgili bir yanıt güncellendi. Bildirimde, soru ve yanıtın kaynak adı belirtilir. |
DUPLICATE_LOCATION |
Konum meta verilerinin yinelenen konum alanında bir değişiklik olup olmadığını belirtir. |
LOSS_OF_VOICE_OF_MERCHANT |
Desteği sonlandırıldı: Bu değerin mevcut kullanımlarını daha genişletilmiş "VOICE_OF_MERCHANT_UPDATED" değerine taşıyın. |
VOICE_OF_MERCHANT_UPDATED |
Satıcının Sesi (VOM) durumunda konumun güncellenip güncellenmediğini belirtir. Konumun iyi durumda olup olmadığını ve satıcının Google'daki işletme üzerinde kontrol sahibi olup olmadığını VOM belirler. Konumda yapılan tüm düzenlemeler, inceleme aşaması tamamlandıktan sonra Haritalar'a uygulanır. Daha ayrıntılı bilgi için GetVoiceOfMerchantState rpc'yi arayın. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[[["\u003cp\u003eGoogle Pub/Sub notifications can be configured for location updates and new reviews.\u003c/p\u003e\n"],["\u003cp\u003eA single notification setting exists per account, directing notifications to a specified Pub/Sub topic.\u003c/p\u003e\n"],["\u003cp\u003eNotification types include Google updates, new/updated reviews, new customer media, new/updated Q&A, duplicate location and Voice of Merchant updates.\u003c/p\u003e\n"],["\u003cp\u003eAccount must grant \u003ccode\u003emybusiness-api-pubsub@system.gserviceaccount.com\u003c/code\u003e publish permissions on the designated Pub/Sub topic.\u003c/p\u003e\n"],["\u003cp\u003eTo disable notifications, clear the \u003ccode\u003enotificationTypes\u003c/code\u003e list or set \u003ccode\u003epubsubTopic\u003c/code\u003e to an empty string in the notification settings.\u003c/p\u003e\n"]]],[],null,["# NotificationSetting\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [NotificationType](#NotificationType)\n\nA Google Pub/Sub topic where notifications can be published when a location is updated or has a new review. There will be only one notification setting resource per-account.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"pubsubTopic\": string, \"notificationTypes\": [ enum (/my-business/reference/notifications/rest/v1/NotificationSetting#NotificationType) ] } ``` |\n\n| Fields ||\n|-----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The resource name this setting is for. This is of the form `accounts/{account_id}/notificationSetting`. |\n| `pubsubTopic` | `string` Optional. The Google Pub/Sub topic that will receive notifications when locations managed by this account are updated. If unset, no notifications will be posted. The account [mybusiness-api-pubsub@system.gserviceaccount.com](mailto:mybusiness-api-pubsub@system.gserviceaccount.com) must have at least Publish permissions on the Pub/Sub topic. |\n| `notificationTypes[]` | `enum (`[NotificationType](/my-business/reference/notifications/rest/v1/NotificationSetting#NotificationType)`)` The types of notifications that will be sent to the Pub/Sub topic. To stop receiving notifications entirely, use NotificationSettings.UpdateNotificationSetting with an empty notificationTypes or set the pubsubTopic to an empty string. |\n\nNotificationType\n----------------\n\nType of notification sent to the Pub/Sub topic.\n\n| Enums ||\n|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `NOTIFICATION_TYPE_UNSPECIFIED` | No notification type. Will not match any notifications. |\n| `GOOGLE_UPDATE` | The location has Google updates for review. The location_name field on the notification will provide the resource name of the location with Google updates. |\n| `NEW_REVIEW` | A new review has been added to the location. The review_name field on the notification will provide the resource name of the review that was added, and location_name will have the location's resource name. |\n| `UPDATED_REVIEW` | A review on the location has been updated. The review_name field on the notification will provide the resource name of the review that was added, and location_name will have the location's resource name. |\n| `NEW_CUSTOMER_MEDIA` | A new media item has been added to the location by a Google Maps user. The notification will provide the resource name of the new media item. |\n| `NEW_QUESTION` | A new question is added to the location. The notification will provide the resource name of question. |\n| `UPDATED_QUESTION` | A question of the location is updated. The notification will provide the resource name of question. |\n| `NEW_ANSWER` | A new answer is added to the location. The notification will provide the resource name of question and answer. |\n| `UPDATED_ANSWER` | An answer of the location is updated. The notification will provide the resource name of question and answer. |\n| `DUPLICATE_LOCATION` | Indicates whether there is a change in location metadata's duplicate location field. |\n| `LOSS_OF_VOICE_OF_MERCHANT` | Deprecated: Migrate the existing usages of this value to the more expanded \"VOICE_OF_MERCHANT_UPDATED\". | This item is deprecated! |\n| `VOICE_OF_MERCHANT_UPDATED` | Indicates whether the location has an update in Voice of Merchant (VOM) status. VOM dictates whether the location is in good standing and the merchant has control over the business on Google. Any edits made to the location will propagate to Maps after passing the review phase. Call GetVoiceOfMerchantState rpc for more details. |"]]