Business Profile Performance API
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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. |"]]