Google Business Performance API 的
NEW API 方法可擷取單一 API 要求中的多個「DailyMetrics」。
請詳閱
淘汰時間表和從 v4 reportInsights API 方法遷移至 Google Business Profile Performance API 的操作說明。
OAuth 總覽
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
應用程式傳送至商家檔案 API 的每項要求都必須包含授權權杖。授權權杖可向 Google 識別使用者或應用程式,讓使用者或應用程式存取商家檔案 API。您的應用程式必須使用 OAuth 2.0 通訊協定對要求進行授權。
OAuth 設定指南說明瞭您可以在平台上實作 OAuth 2.0 的各種方法。Google Identity Platform 提供 Google 登入和 OAuth 功能,這兩項功能會在本指南中使用。
實作 OAuth 2.0 可帶來下列優點:
- 保護業務擁有者的資料存取權。
- 商家擁有者登入 Google 帳戶時,建立其身分。
- 確認合作夥伴平台或應用程式可在獲得商家業主明確同意的情況下,存取及修改地點資料。擁有者之後可以撤銷這項存取權。
- 建立合作夥伴平台的 ID。
- 讓合作夥伴平台可代表商家擁有者執行線上或離線動作。包括回覆評論、建立貼文和更新選單項目。
- 允許以透明的方式進行多步驟工作流程,例如管理邀請。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-05-08 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-05-08 (世界標準時間)。"],[[["Business Profile API requests require an authorization token obtained through OAuth 2.0 for user or application identification."],["OAuth 2.0 implementation safeguards business data, verifies owner identity, and grants controlled access to partner platforms."],["Partner platforms can utilize OAuth 2.0 to perform actions on behalf of the business owner, including managing reviews, posts, and menus, with the owner's explicit and revocable consent."]]],[]]