Google Business Performance API 的
NEW API 方法可擷取單一 API 要求中的多個「DailyMetrics」。
請詳閱
淘汰時間表和從 v4 reportInsights API 方法遷移至 Google Business Profile Performance API 的操作說明。
Account Management API
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
變更記錄檔
v1.1
轉移位置
您現在可以使用 Account Management API 轉移位置。要求主體必須包含 destinationAccount
(先前稱為 toAccount
)。詳情
v1
API 存取
您必須透過 GCP 主控台啟用 Account Management API。OAuth 範圍保持不變。
端點網址
您可以透過 https://mybusinessaccountmanagement.googleapis.com/v1/accounts/{accountId}
存取 Account Management API,而非 https://mybusiness.googleapis.com/v4/accounts/{accountId}
邀請清單篩選
先前,您可以使用 target_type
網址參數篩選邀請。在 Account Management API 中,這個參數已由 filter
取代。用戶端可使用 ?filter=target_type=ACCOUNT_ONLY
等值進行篩選。
主要擁有者
「PrimaryOwner」已移至 accounts.create 方法中的 POST 主體。這項參數先前是查詢參數。
GenerateAccountNumber
功能已淘汰。
ListRecommendGoogleLocations
功能已淘汰。
所有更新現在都需要欄位遮罩
網址中若未包含 updateMask 參數,就無法再發出更新/修補呼叫。
更新帳戶角色和管理員角色名稱
帳戶/管理員角色名稱已變更如下:
舊名稱 |
已更新的名稱 |
擁有者 |
PRIMARY_OWNER |
CO_OWNER |
擁有者 |
COMMUNITY_MANAGER |
SITE_MANAGER |
OrganizationInfo.postal_address 已重新命名為 OrganizationInfo.address
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-29 (世界標準時間)。
[null,null,["上次更新時間:2025-08-29 (世界標準時間)。"],[],["The Account Management API now allows location transfers via the `destinationAccount` field. API access is enabled through the GCP Console, with a new endpoint URL. Invitation filtering now uses a `filter` parameter. `PrimaryOwner` moved to the POST body of `accounts.create`. `GenerateAccountNumber` and `ListRecommendGoogleLocations` are deprecated. All updates require a field mask. Account role names have been revised (e.g., OWNER to PRIMARY_OWNER), and `OrganizationInfo.postal_address` is now `OrganizationInfo.address`.\n"],null,[]]