Deprecations
Fields in the BidRequest
or BidResponse
can occasionally be deprecated.
Deprecated fields eventually sunset, meaning they'll be removed from the
protocol and will no longer work.
The notification period is the amount of time between deprecation and sunset.
During the notification period, update your code to remove any dependencies
on deprecated fields to ensure uninterrupted service.
Deprecated fields have a [deprecated = true]
option, and the following
statement in the first line of their descriptions:
Deprecated. This will be removed in {MONTH} {YEAR}
You might also encounter deprecated field names with a DEPRECATED_
prefix,
which is the legacy way of marking deprecated fields.
Deprecations and sunsets are announced in the release
notes and
blog.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-16 UTC.
[null,null,["Last updated 2025-01-16 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"]]