# Unity deprecated APIs

> Identify deprecated Unity Ads SDK classes for Unity (C#), as well as the replacement and removal versions.

## Unity deprecated classes (C#)

The following API classes are deprecated or obsolete for the Unity SDK:

| **API to be removed**                        | **Deprecated in version** | **What to use instead**                                                                                   | **Removed in version** | **Depreciation reason**                                  |
| -------------------------------------------- | ------------------------- | --------------------------------------------------------------------------------------------------------- | ---------------------- | -------------------------------------------------------- |
| `IsReady()`                                  | NA                        | Use the updated `Load` method signature to access load callbacks.                                         | 4.0.0                  | No longer required with `Load` and `Show` functionality. |
| `IsReady(string placementId)`                | NA                        | Use the updated `Load` method signature to access load callbacks.                                         | 4.0.0                  | No longer required with `Load` and `Show` functionality. |
| `AddListener(IUnityAdsListener listener)`    | NA                        | Use the `Initialize`, `Load`, and `Show` methods' listeners.                                              | 4.0.0                  | Improved callbacks for `Load` and `Show` APIs.           |
| `RemoveListener(IUnityAdsListener listener)` | NA                        | Use the `Initialize`, `Load`, and `Show` methods' listeners.                                              | 4.0.0                  | Improved callbacks for `Load` and `Show` APIs.           |
| `GetPlacementState()`                        | NA                        | No direct replacement.                                                                                    | 4.0.0                  | Improved callbacks for `Load` and `Show` APIs.           |
| `GetPlacementState(string placementId)`      | NA                        | No direct replacement.                                                                                    | 4.0.0                  | No longer required with `Load` and `Show` functionality. |
| `IUnityAdsListener`                          | NA                        | Use the `IUnityAdsInitializationListener`,`IUnityAdsLoadListener` and `IUnityAdsShowListener` interfaces. | 4.0.0                  | Improved callbacks for `Load` and `Show` APIs.           |
| `Show()`                                     | NA                        | Use the `Show(string placementId)` method signature to specify a placement ID.                            | 4.0.0                  | Updated `Load` and `Show` functionality.                 |
| `ShowOptions.resultCallback`                 | 3.1.0                     | Use the `IUnityAdsShowListener` interface callbacks.                                                      | 4.0.0                  | Updated `Load` and `Show` functionality.                 |
