en-us-ads-android-4-dot-19-dot-0-sdk-integration-api-api-deprecation-policy.md
Review Unity's guidelines on API deprecation. Check timelines, notifications, and exceptions for SDK changes.
Read time 1 minute
Last updated 3 days ago
Important
These guidelines are effective beginning with the release of Unity Ads SDK 4.0.0.
While you're encouraged to use the best API set that meets your needs at the time of development, the recommended best practice is for all developers to update to the latest SDK version as frequently as possible.To ensure that Unity Ads delivers an optimized and consistent development experience, it must continue to evolve and extend the SDK and its API classes. As we adapt to platform and market changes, API classes become obsolete and need to be replaced by more effective versions.In the event that Unity Ads intends to remove an API class, or alter it in a manner that breaks the previously supported functionality, Unity will endeavor to:
Exceptions to the aforementioned deprecation guidelines are cases where:
If an API becomes obsolete, Unity Ads will use reasonable efforts to provide a Deprecation Notice by using one or more of the following:
Wherever possible, API classes and their supported functionality are maintained in a manner that is compatible with earlier versions. If it is necessary to change something in a way that is not backwards compatible, Unity Ads creates a new resource, media type, or version, and the old resource or media type is maintained in accordance with the API deprecation policy.Unity Ads will provide the following information for all announced API deprecations:
These guidelines are subject to change without notice, and Unity reserves the right to modify its API deprecation process in its sole discretion and at any time.
Deprecated API classes can still be used but are no longer supported moving forward and will be removed in a future release.
Provides advanced notification that an API class will be replaced in an upcoming SDK release. This is a good time for developers to upgrade their code.
The Unity Ads SDK follows semantic versioning standards. API classes will only be removed in major version releases.
Unity tries to provide backward compatibility of all public APIs documented in the API reference. Developers must use the supported APIs listed in the API reference to ensure compatibility.