Google My Business API 是否已棄用?各部分的替代方案
Google My Business API 只是部分棄用:Google 自 2021 年起把帳戶、地點和驗證遷移至較新的 Business Profile APIs,2023 年以 Performance API 取代 reportInsights,並於 2025 年 11 月 3 日關閉 Q&A API。評論、貼文、媒體和菜單仍在 v4.9 運作。easyCoexistence 讓 ChatGPT 或 Claude 處理您商家檔案上的評論、貼文和成效數據,未經您批准,絕不發布任何內容。
v4.9 的 reportInsights 何時停用,Google 列出 Performance API 的 locations.fetchMultiDailyMetricsTimeSeries 作為替代。
Google 何時停用 My Business Q&A API,此後無法透過該 API 讀取或發布問題和答案。
根據 Google 的 API 常見問題,仍承載菜單、媒體、評論和本地貼文的 Google My Business API 版本。
停用的版本在 Google 關閉前回傳的結果;「已停止支援」表示仍可運作,但可能不會再獲得新功能或錯誤修正。
My Business Business Calls API 停用,沒有替代方案;Google 通知用戶停用檔案中的通話記錄。
BUSINESS_CONVERSATIONS 在 Business Messages 關閉後被棄用,移除日期為 2026-01-31,且沒有替代方案。
Google My Business API 仍在使用嗎?
部分仍在使用。2021 年間,Google 推出一組新的 Business Profile APIs,並把舊 API 的大部分功能遷移過去;但 4.9 版仍承載評論、本地貼文、媒體和菜單,Google 更於 2026 年為其新增評論與貼文欄位。Google 的棄用時程表用兩個詞描述被淘汰的部分:
- 「已停止支援」:方法仍按預期運作,但可能不再獲得新功能或錯誤修正。
- 「已停用」:方法一律回傳錯誤,並將很快被關閉。
v4 API 的各部分去了哪裡?
去了較新的 API,每個 API 都有自己的端點。Google 為每個 API 列出的更改日誌會說明遷移了什麼,而且每個較新的 API 都必須在 Google Cloud 控制台中啟用,並沿用相同的 OAuth 範圍。以下是各部分從舊位置到新位置的遷移:
| Was in v4 | Now in | |
|---|---|---|
| Accounts, admins, invitations | v4 accounts, now marked deprecated | Account Management API v1 |
| Location transfers | v4 accounts.locations.transfer | Account Management API, locations.transfer |
| Locations, attributes, categories, chains | v4 accounts/{accountId}/locations/{locationId} | Business Information API v1, at locations/{locationId} |
| Verification | v4 verify, fetchVerificationOptions, verifications | Verifications API v1 |
| Notification settings | v4 accounts/{accountId}/notifications | Notifications API v1, notificationSetting |
| Lodging data | The v4 location path | Lodging API v1 |
| Insights | v4 reportInsights | Performance API v1, fetchMultiDailyMetricsTimeSeries |
| Questions and answers | v4 questions and answers | Q&A API v1 from 2021, discontinued on 2025-11-03 |
| Reviews, posts, media, food menus | v4.9 | Still v4.9 |
reportInsights 及其指標由什麼取代?
由 Business Profile Performance API 取代(位於 businessprofileperformance.googleapis.com/v1),其 locations.fetchMultiDailyMetricsTimeSeries 每次呼叫即可回傳一個地點多項指標的每日數值。reportInsights 於 2022-11-21 停止支援,並於 2023-03-30 停用,批次呼叫(含 locationNames)也隨之移除。搜尋關鍵字現改由另一個方法 locations.searchkeywords.impressions.monthly.list 按月提供。Google 的對照表如下:
Q&A API 發生了什麼事?
Google 將其關閉。問題和答案於 2021 年由 v4 移至獨立的 My Business Q&A API,2025-09-15 Google 宣布會停用該 API,同時更新問答功能和用戶體驗。自 2025 年 11 月 3 日起,該 API 無法再讀取或發布問題和答案,NEW_QUESTION、NEW_ANSWER、UPDATED_QUESTION 和 UPDATED_ANSWER 等通知類型也已棄用。easyCoexistence 同樣沒有問答工具。
Google 還停用了哪些其他部分?
幾個較小的部分。Google 未為以下任何一項指定替代方案:
- My Business Business Calls API:2023-05-30 停用,Google 通知用戶停用商家檔案中的通話記錄。canHaveBusinessCalls 欄位於 2026 年 11 月棄用,因為不再支援通話追蹤。
- Business Information API 中的 locations.associate 及 locations.clearLocationAssociation:2023-05-30 停用。
- v4.9 的 accounts.locations.insuranceNetworks 及 HealthProviderAttributes 方法:2024-06-17 棄用,2024-07-01 停用。
- Performance API 中的
BUSINESS_FOOD_ORDERS:2025-10-22 棄用,預計 2027-04-22 移除。 - Account Management API 中的 GenerateAccountNumber 與 ListRecommendGoogleLocations:已棄用。
Business Messages 結束對 API 用戶有何影響?
Business Messages 於 2024 年 7 月 31 日結束,即聊天和通話記錄從商家檔案移除的同一天,Google 的公告指出 Business Messages API 也受影響。在 Performance API 中,BUSINESS_CONVERSATIONS 於同日棄用,且沒有替代方案。2026-10-14,Google 新增 MESSAGING_CLICKS,用以計算檔案上「訊息」或「聊天」按鈕的點擊次數,例如 WhatsApp 或短訊。
v4.9 上仍在運作的是什麼?
Google 的 API 常見問題列為 v4.9 的四組呼叫,仍以 accounts/{accountId}/locations/{locationId} 為路徑。Google 會持續新增功能:
- 評論:list、get、batchGetReviews、updateReply 和 deleteReply。自 2026 年起,reviews.list 與 batchGetReviews 會回傳每則回覆的審核狀態,若回覆被拒,則會回傳其違反的政策。
- 本地貼文:create、get、list、patch 和 delete,並自 2026-04-07 起透過 RecurrenceInfo 支援定期貼文。
- 媒體:地點的相片和影片,以及透過 media.customers 取得的客戶相片和影片。
- 菜單:getFoodMenus 與 updateFoodMenus,自 2026-10-09 起接受
GLUTEN_FREE和DAIRY_FREE飲食限制。
新 API 中哪些欄位名稱有所變更?
從 v4 遷移的程式碼不但要更改端點,也要重新命名欄位。Business Information API 另要求 locations.list 和 locations.get 必須提供 readMask,而 Account Management API 在沒有 updateMask 時不接受任何更新。Google 的更改日誌列出的更名與移除項目如下:
如何在自己的整合中找出已停用的呼叫?
在程式碼中搜尋 Google 棄用時程表和更改日誌上的名稱,然後把每個呼叫改為其替代方案。請留意以下項目:
- locations 或本地貼文上的 reportInsights,以及
VIEWS_MAPS或ACTIONS_PHONE等舊指標名稱。 - mybusinessqanda.googleapis.com 或 v4 下的問答呼叫,以及四種問答通知類型。
- Business Calls API 呼叫、insuranceNetworks、healthProviderAttributes 和 locations.associate。
- v4 上的帳戶、管理員、邀請或通知設定呼叫,Google 已將其標示為棄用。
- v4 上對地點的讀取和編輯,現由 Business Information API 在 locations/{locationId} 提供。
在現行 API 上,如何透過 ChatGPT 或 Claude 處理商家檔案?
透過 easyCoexistence 的 MCP 伺服器,其工具會替您呼叫現行的 Google API。在控制台中選擇「新增連接」,然後選擇 Google Business,以 Google 帳戶登入並選取地點,再將 https://easycoexistence.com/api/mcp 加入 Claude 或 ChatGPT。每則回覆、貼文或編輯都會先顯示給您看,只有在您批准後才會發出:
- v4.9 上的評論:
list_google_reviews、用於回覆(最多 4,096 位元組)的reply_to_google_review,以及delete_google_review_reply。 - Business Information API 上的檔案:
get_google_business_profile,以及可用validate_only先檢查編輯的update_google_business_profile。 - v4.9 上的貼文與相片:
publish_google_business_post、list_google_business_posts、delete_google_business_post、list_google_business_photos和add_google_business_photo。 - Performance API 上的成效數據:
get_google_business_insights,預設為過去 28 天,Google 的數據較實際晚 2 至 3 天。 - 不涵蓋:Q&A(Google 的 API 已不再提供),以及菜單、特別營業時間和屬性(由 Google 自家的商家檔案編輯器處理)。您自行開發的軟件需要有自己的 Google 專案。
常見錯誤
- 用 reportInsights 取得每日數據。Google 已於 2023-03-30 停用它,按 Google 的定義,即一律回傳錯誤;應改由 fetchMultiDailyMetricsTimeSeries 要求 CALL_CLICKS、WEBSITE_CLICKS 及四項曝光指標。
- 把 v4 欄位名稱傳給 Business Information API。locationName 現為 title,websiteUrl 為 websiteUri,address 為 storefrontAddress,因此請求主體、readMask 或 updateMask 中的舊名稱會指向已不存在的欄位。
- 把 OWNER 讀作主要擁有人。Account Management API 已將 OWNER 改名為 PRIMARY_OWNER,並將 CO_OWNER 改名為 OWNER,因此檢查 OWNER 的程式碼現在會符合共同擁有人。
- 通知設定中仍保留問答類型。Google 在問答 API 關閉時棄用了 NEW_QUESTION、NEW_ANSWER、UPDATED_QUESTION 和 UPDATED_ANSWER;請只保留您仍需要的評論與地點事件。
easyCoexistence 將您的 Google 商家檔案地點連接至 ChatGPT 或 Claude,並使用 Google 現行的 API。助理會讀取評論、貼文、相片和成效數據,並草擬回覆、貼文及檔案編輯,每項都必須經您批准才會發出;自行開發的軟件則需要自己的 Google 專案。每個連接每月 US$ 9 至 US$ 0.75,連接越多越便宜,並提供 3 天免費試用。
常見問題
Google My Business API 是否有第 5 版?
Google 的參考資料沒有列出。評論、本地貼文、媒體和菜單都記載於 Google My Business API 的 v4 之下,更改日誌中為 4.9 版;較新的 Business Profile APIs 則為 v1。
Business Profile Performance API 也已棄用嗎?
不是。Performance API 是替代方案,並非已停用的部分:Google 將其 fetchMultiDailyMetricsTimeSeries 列為 reportInsights 的後繼,並仍在其中新增指標。只有個別指標(例如 BUSINESS_CONVERSATIONS)帶有棄用日期。
已停用的方法會回傳特定錯誤代碼嗎?
Google 的棄用時程表沒有指定任何錯誤代碼。它把停用定義為版本在關閉前一律回傳錯誤,因此請把名單上的任何呼叫視為需要替換的程式碼,而不是應重試的錯誤。
Google My Business 改名為 Google Business Profile 後,API 名稱有沒有改變?
只是部分改變。Google 於 2021 年 11 月 4 日宣布 Google My Business 將改名為 Google Business Profile,但 v4.9 API 仍沿用 Google My Business API 的名稱,而數個較新的 API 名稱仍含 My Business,例如 My Business Account Management API。
繼續閱讀
兩分鐘內連接您的第一個頻道。
無需等待平台審核。連接 WhatsApp、Instagram、TikTok 或其他頻道,然後請您的 AI 發佈貼文、回覆訊息或匯報數據,並看着它運作。
- 免費試用 3 天
- 隨時取消
- 只用官方 API
- 24/7 監察
驗證日期