Google 會運用 AI 技術將內容翻譯成你偏好的語言,但可能會出錯。
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 以上版本。
如果對這項異動有任何疑問,請在用戶端程式庫存放區中提交問題。
- Ben Karl,Google Ads API 團隊代表
標籤:
client-libraries、
google-ads、
google-ads-api、
python
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
[[["容易理解","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"]],[],[],[]]