弃用
有时,可以废弃 BidRequest
或 BidResponse
中的字段。
已弃用的字段最终将弃用,这意味着它们将从
并且将无法再使用。
通知期限是指从弃用到停用之间的时间。
在通知期内,更新代码以移除所有依赖项
已弃用的字段)以确保服务不中断。
已弃用的字段具有 [deprecated = true]
选项,以及以下
声明的第一行:
Deprecated. This will be removed in {MONTH} {YEAR}
您可能还会遇到带有 DEPRECATED_
前缀的已弃用字段名称,
这是标记已弃用字段的传统方式
我们会在版本
注释和
博客。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-09-10。
[null,null,["最后更新时间 (UTC):2024-09-10。"],[[["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"]]