Google Business Performance API 的
NEW API 方法可擷取單一 API 要求中的多個「DailyMetrics」。
請詳閱
淘汰時間表和從 v4 reportInsights API 方法遷移至 Google Business Profile Performance API 的操作說明。
Business Profile Performance API
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間: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. |"]]