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.
Business Profile Performance API
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
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-07-25 (UTC)
[null,null,["Última actualización: 2025-07-25 (UTC)"],[[["\u003cp\u003eThe Business Profile Performance API lets merchants access performance data for their Google Business Profile.\u003c/p\u003e\n"],["\u003cp\u003eUse the API to retrieve daily and monthly metrics, such as search keyword impressions.\u003c/p\u003e\n"],["\u003cp\u003eYou can access the API through Google-provided client libraries or by using the service endpoint and discovery document.\u003c/p\u003e\n"],["\u003cp\u003eMerchants with a quota of 0 after enabling the API need to request access to the GBP API.\u003c/p\u003e\n"]]],[],null,["# Business Profile Performance API\n\nThe Business Profile Performance API allows merchants to fetch performance reports about their business profile on Google. \n\nNote - If you have a quota of 0 after enabling the API, please [request](https://developers.google.com/my-business/content/prereqs#request-access) for GBP API access.\n\n- [REST Resource: v1.locations](#v1.locations)\n- [REST Resource: v1.locations.searchkeywords.impressions.monthly](#v1.locations.searchkeywords.impressions.monthly)\n\nService: businessprofileperformance.googleapis.com\n--------------------------------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://businessprofileperformance.googleapis.com/$discovery/rest?version=v1\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://businessprofileperformance.googleapis.com`\n\nREST Resource: [v1.locations](/my-business/reference/performance/rest/v1/locations)\n-----------------------------------------------------------------------------------\n\n| Methods ||\n|---------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [fetchMultiDailyMetricsTimeSeries](/my-business/reference/performance/rest/v1/locations/fetchMultiDailyMetricsTimeSeries) | `GET /v1/{location=locations/*}:fetchMultiDailyMetricsTimeSeries` Returns the values for each date from a given time range and optionally the sub entity type, where applicable, that are associated with the specific daily metrics. |\n| [getDailyMetricsTimeSeries](/my-business/reference/performance/rest/v1/locations/getDailyMetricsTimeSeries) | `GET /v1/{name=locations/*}:getDailyMetricsTimeSeries` Returns the values for each date from a given time range that are associated with the specific daily metric. |\n\nREST Resource: [v1.locations.searchkeywords.impressions.monthly](/my-business/reference/performance/rest/v1/locations.searchkeywords.impressions.monthly)\n---------------------------------------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|\n| [list](/my-business/reference/performance/rest/v1/locations.searchkeywords.impressions.monthly/list) | `GET /v1/{parent=locations/*}/searchkeywords/impressions/monthly` Returns the search keywords used to find a business in search or maps. |"]]