การเลิกใช้งาน
ช่องใน BidRequest
หรือ BidResponse
อาจเลิกใช้งานเป็นครั้งคราว
ฟิลด์ที่เลิกใช้งานจะหยุดให้บริการในที่สุด ซึ่งหมายความว่าช่องเหล่านั้นจะถูกนำออกจาก
และจะใช้งานไม่ได้อีกต่อไป
ระยะเวลาการแจ้งเตือนคือระยะเวลาตั้งแต่การเลิกใช้งานจนกระทั่งหยุดให้บริการ
อัปเดตโค้ดเพื่อนำทรัพยากร Dependency ออกระหว่างระยะเวลาการแจ้งเตือน
ในช่องที่เลิกใช้งานแล้ว เพื่อให้บริการไม่ขาดตอน
ช่องที่เลิกใช้งานแล้วมีตัวเลือก [deprecated = true]
และรายการต่อไปนี้
ในบรรทัดแรกของคำอธิบาย เช่น
Deprecated. This will be removed in {MONTH} {YEAR}
และคุณอาจพบชื่อช่องที่เลิกใช้งานแล้วที่มีคำนำหน้า DEPRECATED_
ซึ่งเป็นวิธีเดิมในการทำเครื่องหมายช่องที่เลิกใช้งานแล้ว
โดยจะมีการประกาศการเลิกใช้งานและหยุดให้บริการในรุ่น
หมายเหตุ และ
บล็อก
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-09-10 UTC
[null,null,["อัปเดตล่าสุด 2024-09-10 UTC"],[[["Fields in BidRequest and BidResponse can be deprecated and eventually removed (sunsetted)."],["You'll be notified before a field is removed, giving you time to update your code."],["Deprecated fields are marked with `[deprecated = true]` or a `DEPRECATED_` prefix in their description."],["Refer to release notes and the Ads Developer Blog for deprecation and sunset announcements."]]],["Deprecated fields in `BidRequest` or `BidResponse` will eventually be removed. During the notification period before removal, update code to remove dependencies on these fields. Deprecated fields are marked with `[deprecated = true]` and a removal date in their description, or a `DEPRECATED_` prefix. Deprecations and sunsets are announced in release notes and the blog. Ensure continuous service by updating your code.\n"]]