La API de
Google Business Performance tiene un método de API
NUEVO que permite recuperar varias métricas "DailyMetrics" en una sola solicitud a la API.
Revise el
programa de baja y las instrucciones para migrar del método de la API de reportInsights versión 4 a la API de rendimiento del Perfil de Negocio de Google.
API de Notifications
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Registro de cambios
v1.2: 07/02/2022
LOSS_OF_VOICE_OF_MERCHANT
Se agregó VOICE_OF_MERCHANT_UPDATED
para indicar un cambio en la voz del estado del comercio. Este estado abarcará la ganancia o pérdida del estado de voz del comercio.
Baja del tipo de notificación LOSS_OF_VOICE_OF_MERCHANT
.
v1.1: 13/12/2021
LOSS_OF_VOICE_OF_MERCHANT
Se agregó el tipo de notificación LOSS_OF_VOICE_OF_MERCHANT
, que indica si la ubicación tiene una pérdida en el estado de voz del comercio.
v1
Acceso a la API
La API de notificaciones se deberá habilitar desde GCP Console. El alcance de OAuth sigue siendo el mismo.
URLs de extremo
Se puede acceder a la API de notificaciones en https://mybusinessnotifications.googleapis.com/v1/accounts/{accountId}/notificationSetting
en lugar de https://mybusiness.googleapis.com/v4/accounts/{accountId}/notifications
.
El nombre de topicName
cambió por pubSubTopic
. Más información
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-08-29 (UTC)
[null,null,["Última actualización: 2025-08-29 (UTC)"],[[["\u003cp\u003eThe Notifications API endpoint URL and a field name have been updated, and it needs to be enabled from the GCP Console.\u003c/p\u003e\n"],["\u003cp\u003eA new notification type \u003ccode\u003eVOICE_OF_MERCHANT_UPDATED\u003c/code\u003e has been added to indicate change in voice of merchant status, encompassing both gain and loss, and \u003ccode\u003eLOSS_OF_VOICE_OF_MERCHANT\u003c/code\u003e is deprecated.\u003c/p\u003e\n"],["\u003cp\u003ePreviously, the \u003ccode\u003eLOSS_OF_VOICE_OF_MERCHANT\u003c/code\u003e notification type was added to indicate a loss in the voice of merchant status for a location.\u003c/p\u003e\n"]]],["The document outlines updates to a Notifications API. Version 1.1 introduced `LOSS_OF_VOICE_OF_MERCHANT` to indicate a loss of voice of merchant status. Version 1.2 deprecated this in favor of `VOICE_OF_MERCHANT_UPDATED`, which signifies any change in voice of merchant status (gain or loss). The API is now enabled via the GCP Console and its endpoint URL has changed. The parameter `topicName` has also been renamed to `pubSubTopic`.\n"],null,["# Notifications API\n\n\u003cbr /\u003e\n\nChange log\n----------\n\n### v1.2: 2022-02-07\n\n#### LOSS_OF_VOICE_OF_MERCHANT\n\nAddition of `VOICE_OF_MERCHANT_UPDATED` to indicate a change in voice of merchant status. This status will encompass gain or loss of voice of merchant status.\n\nDeprecation of the `LOSS_OF_VOICE_OF_MERCHANT` notification type.\n\n### v1.1: 2021-12-13\n\n#### LOSS_OF_VOICE_OF_MERCHANT\n\nAddition of the `LOSS_OF_VOICE_OF_MERCHANT` notification type which indicates whether the location has a loss in voice of merchant status.\n\n### v1\n\n#### API Access\n\nThe Notifications API will need to be enabled from the [GCP Console.](https://console.developers.google.com/apis/library/mybusinessnotifications.googleapis.com) The OAuth scope remains the same.\n\n#### Endpoint URLs\n\nThe Notifications API is accessible at `https://mybusinessnotifications.googleapis.com/v1/accounts/{accountId}/notificationSetting` instead of `https://mybusiness.googleapis.com/v4/accounts/{accountId}/notifications`\n\n#### `topicName` has been renamed to `pubSubTopic`. [More info](/my-business/preview/reference/notifications/rest/v1/NotificationSetting)"]]