Business Profile Performance API
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\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. |"]]