Search Ads 360 Reporting API เวอร์ชันใหม่พร้อมให้ใช้งานแล้ว เข้าร่วมกลุ่ม Google
searchads-api-announcements เพื่อติดตามการปรับปรุงและรุ่นที่กำลังจะเปิดตัว
การกำหนดเวอร์ชันใน Search Ads 360 Reporting API
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Search Ads 360 Reporting API ใช้การกําหนดเวอร์ชันแบบเชิงความหมาย
มีเวอร์ชันหลักและเวอร์ชันย่อยซึ่งมีรูปแบบเป็น vMAJOR_MINOR
เช่น v0_0
เป็นเวอร์ชันหลักแรกและ v0_1
เวอร์ชันย่อยแรก ส่วนต่อท้ายของหมายเลขเวอร์ชันจะระบุประเภทเวอร์ชัน โดยเวอร์ชันหลักจะมีค่าเป็น 0 เสมอ และเวอร์ชันย่อยจะมีค่ามากกว่า 0 เสมอ
เวอร์ชันหลัก
เวอร์ชันหลักจะมีการเปลี่ยนแปลงที่ส่งผลกับส่วนอื่นในระบบ ซึ่งก็คือการเปลี่ยนแปลงที่ไม่เข้ากันได้กับเวอร์ชันเก่า
เวอร์ชันหลักแต่ละเวอร์ชันจะมีปลายทางแยกกัน เช่น
https://searchads360.googleapis.com/v0
https://searchads360.googleapis.com/v1
เมื่ออัปเกรดจากเวอร์ชันหลักเวอร์ชันหนึ่งเป็นเวอร์ชันหลักอีกเวอร์ชันหนึ่ง คุณอาจต้องเปลี่ยนรหัสก่อนเปลี่ยนไปใช้ปลายทางเวอร์ชันหลักใหม่
หากใช้ไลบรารีของไคลเอ็นต์ คุณต้องอัปเกรดเป็นเวอร์ชันล่าสุด เวอร์ชันหลักใหม่จะมีคู่มือการย้ายข้อมูลเพื่อช่วยคุณแก้ไขการเปลี่ยนแปลงที่ส่งผลกับส่วนอื่นในระบบในโค้ด
ตัวอย่างของการเปลี่ยนแปลงที่ส่งผลกับส่วนอื่นในระบบ ได้แก่
- การลบหรือเปลี่ยนชื่อบริการ อินเทอร์เฟซ ช่อง เมธอด หรือค่า enum
- การเปลี่ยนประเภทของฟิลด์
- การเปลี่ยนรูปแบบชื่อทรัพยากร
- การเปลี่ยนรูปแบบ URL ในคําจํากัดความ HTTP
- การเปลี่ยนรูปแบบเอาต์พุต เช่น การเปลี่ยน
0
เป็น --
เป็นค่าเริ่มต้น
- การเปลี่ยนเหตุผลของข้อผิดพลาดที่แสดงจาก A เป็น B
เวอร์ชันย่อย
เวอร์ชันย่อยจะมีเฉพาะการเปลี่ยนแปลงที่เข้ากันได้แบบย้อนหลัง
เมื่อมีการเผยแพร่เวอร์ชันย่อย ระบบจะอัปเดตปลายทางที่ใช้อยู่แล้วโดยอัตโนมัติ ซึ่งจะไม่ทำให้โค้ดใช้งานไม่ได้ คุณใช้คลังไคลเอ็นต์ที่มีอยู่ต่อไปได้
เวอร์ชันย่อยจะมีฟีเจอร์ใหม่หรือการอัปเดตที่ไม่ส่งผลต่อโค้ดที่มีอยู่ หากต้องการใช้ฟีเจอร์ใหม่ คุณต้องอัปเกรดไลบรารีของไคลเอ็นต์เป็นเวอร์ชันล่าสุด
พระอาทิตย์ตก
เมื่อถึงกำหนดเวลาหยุดให้บริการ Search Ads 360 Reporting API เวอร์ชันเก่า เราจะโพสต์ประกาศใน Google Group searchads-api-announcements
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-29 UTC
[null,null,["อัปเดตล่าสุด 2025-08-29 UTC"],[[["\u003cp\u003eThe Search Ads 360 Reporting API uses semantic versioning with major and minor versions, where major versions introduce breaking changes and minor versions are backwards-compatible.\u003c/p\u003e\n"],["\u003cp\u003eMajor version releases require code changes and utilize separate endpoints, while minor version releases automatically update the existing endpoint without breaking existing code.\u003c/p\u003e\n"],["\u003cp\u003eBreaking changes in major versions might involve removing or renaming elements, changing types or formats, or modifying outputs and error reasons.\u003c/p\u003e\n"],["\u003cp\u003eMinor versions bring new features or updates but do not affect existing code; to utilize new features, upgrade your client library.\u003c/p\u003e\n"],["\u003cp\u003eSunset notices for older API versions are posted on the searchads-api-announcements Google group.\u003c/p\u003e\n"]]],["The Search Ads 360 Reporting API uses semantic versioning with major (e.g., v0) and minor (e.g., v0_1) versions. Major versions have breaking changes, require code modifications, a new endpoint, and client library upgrades. Minor versions are backward-compatible, automatically update the existing endpoint, and only require client library upgrades for new features. Breaking changes may involve removing or renaming elements, changing field types or output formats. Sunsets are posted on the Google group.\n"],null,["# Versioning in the Search Ads 360 Reporting API\n\nThe Search Ads 360 Reporting API uses [semantic versioning](https://semver.org/).\n\nThere are major and minor versions, formatted as\n`v`\u003cvar translate=\"no\"\u003eMAJOR\u003c/var\u003e`_`\u003cvar translate=\"no\"\u003eMINOR\u003c/var\u003e. For example, `v0_0` is the\nfirst major version, and `v0_1` the first minor version. The suffix of the\nversion number indicates the version type: for major versions it is always zero,\nand for minor versions it is always greater than zero.\n\nMajor versions\n--------------\n\nMajor releases introduce breaking changes, that is, changes that are not\nbackwards compatible.\n\nEach major version has a separate endpoint, for example: \n\n```text\nhttps://searchads360.googleapis.com/v0\n\nhttps://searchads360.googleapis.com/v1\n```\n\nWhen upgrading from one major version to another, you may need to change your\ncode before switching to the new major version endpoint.\n\nIf you use a [client library](/search-ads/reporting/client-libraries/client-libraries),\nyou need to upgrade to the newest version. New major versions provide a\nmigration guide to help you fix any breaking changes in your code.\n\nExamples of breaking changes include:\n\n- Removing or renaming a service, interface, field, method or enum value.\n- Changing the type of a field.\n- Changing a resource name format.\n- Changing the URL format in the HTTP definition.\n- Changing output formats, such as, changing `0` to `--` as the default value.\n- Changing the error reason returned from A to B.\n\nMinor versions\n--------------\n\nMinor versions introduce only backwards-compatible changes.\n\nWhen a minor version is released, the endpoint that is already in use is\nautomatically updated. This does not cause your code to break. You can continue\nto use your existing client library.\n\nMinor versions include new features or updates that do not affect your existing\ncode. If you want to use the new features, you need to upgrade your\n[client library](/search-ads/reporting/client-libraries/client-libraries) to the latest\nversion.\n\nSunsets\n-------\n\nWhen an older Search Ads 360 Reporting API version is scheduled to sunset, we\npost a notice on the [searchads-api-announcements](https://groups.google.com/g/searchads-api-announcements) Google group."]]