Google Ads API Python 程式庫版本支援異動

2025 年 7 月 24 日,星期四

Python 3.9 將於 2025 年 10 月終止服務,Python Software Foundation 將不再提供支援。Python 3.9 正式終止支援後,Google Ads Python 用戶端程式庫也將不再支援該版本。也就是說,除了重大安全性更新外,我們不會更新程式庫,也不會解決與 Python 3.9 相容性相關的問題。

我們將在 2025 年第 4 季推出新的程式庫主要版本,該版本與 Python 3.9 不相容。這個新版本將支援 Python 3.14。如果使用已淘汰或即將淘汰的 Python 版本,可能無法存取 Google Ads API。請注意下列時程:

  • 目前:Python 3.7 使用者目前無法存取 Google Ads API
  • 2026 年第 1 季:Google Ads API 第 19 版將於 2026 年第 1 季停用,屆時 Python 3.8 使用者將無法再存取 API。
  • 2026 年底:Google Ads API 第 22 版將於 2026 年底淘汰,屆時 Python 3.9 使用者將無法再存取 API

請參閱淘汰和終止時間表,瞭解 Google Ads API 版本發布和終止的具體時間。

目前使用 Python 3.8 或 3.9 的程式庫使用者,應盡快將系統升級至 Python 3.10 以上版本。

如果對這項異動有任何疑問,請在用戶端程式庫存放區中提交問題。

標籤: client-libraries、 google-ads、 google-ads-api、 python