Deprecated API classes
Identify deprecated Unity Ads SDK classes across Unity, Android, and iOS, along with their replacements and removal versions.
Read time 6 minutesLast updated 10 months ago
Unity (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 |
|---|---|---|---|---|
| NA | Use the updated | 4.0.0 | No longer required with |
| NA | Use the updated | 4.0.0 | No longer required with |
| NA | Use the | 4.0.0 | Improved callbacks for |
| NA | Use the | 4.0.0 | Improved callbacks for |
| NA | No direct replacement. | 4.0.0 | Improved callbacks for |
| NA | No direct replacement. | 4.0.0 | No longer required with |
| NA | Use the | 4.0.0 | Improved callbacks for |
| NA | Use the (/grow/ads/unity-sdk/unity-api#show)Show(string placementId) method signature to specify an Ad Unity ID. | 4.0.0 | Updated |
| 3.1.0 | Use the | 4.0.0 | Updated |
Android (Java)
The following API classes are deprecated or obsolete for the Android SDK:
API to be removed | Deprecated in version | What to use instead | Removed in version | Depreciation reason |
|---|---|---|---|---|
| 3.4.0 | Use the consolidated | 4.0.0 | Replaced by consolidated |
| 3.4.0 | Use the consolidated | 4.0.0 | Replaced by consolidated |
| 3.4.0 | Use the consolidated | 4.0.0 | Replaced by consolidated |
| 3.4.0 | Use the consolidated | 4.0.0 | Replaced by consolidated |
| 3.4.0 | Use the consolidated | 4.0.0 | Replaced by consolidated |
| 3.4.0 | Use the consolidated | 4.0.0 | Replaced by consolidated |
| 3.4.0 | Use the consolidated | 4.0.0 | Replaced by consolidated |
| 3.4.0 | Use the consolidated | 4.0.0 | Replaced by consolidated |
| 3.4.0 | Use the consolidated | 4.0.0 | Replaced by consolidated |
| NA | Use the consolidated | 4.0.0 | Replaced by consolidated |
| NA | Use the consolidated | 4.0.0 | Replaced by consolidated |
| 3.4.0 | Use the | 4.0.0 | Improved callbacks for |
| 3.4.0 | Use the | 4.0.0 | Improved callbacks for |
| NA | Use the | 4.0.0 | Improved callbacks for |
| NA | Use the | 4.0.0 | Improved callbacks for |
| 3.7.1 | Use the updated | 4.0.0 | Introduced a |
| 3.7.1 | Use the updated | 4.0.0 | Introduced a |
| NA | No direct replacement. | 4.0.0 | No longer required with |
| 3.7.0 | Use the updated | 4.0.0 | Introduced a |
| NA | Use the | 4.0.0 | Improved callbacks for |
| NA | Use the | 4.0.0 | Improved callbacks for |
| NA | Use the | 4.0.0 | Legacy |
| NA | No direct replacement. | 4.0.0 | Legacy |
iOS (Objective-C)
The following API classes are deprecated or obsolete for the iOS SDK:
API to be removed | Deprecated in version | What to use instead | Removed in version | Depreciation reason |
|---|---|---|---|---|
| NA | Use the | 4.0.0 | Replaced by consolidated |
| NA | Use the | 4.0.0 | Replaced by consolidated |
| NA | No direct replacement; however you can use the generic | 4.0.0 | Replaced by consolidated |
| NA | Use the | 4.0.0 | Replaced by consolidated |
| 3.4.0 | Use the consolidated | 4.0.0 | Replaced by consolidated |
| 3.4.0 | Use the consolidated | 4.0.0 | Replaced by consolidated Initialize API. |
| 3.4.0 | Use the consolidated | 4.0.0 | Replaced by consolidated Initialize API. |
| 3.4.0 | Use the consolidated | 4.0.0 | Replaced by consolidated |
| 3.4.0 | Use the consolidated | 4.0.0 | Replaced by consolidated |
| 3.7.0 | Use the updated | 4.0.0 | Introduced a |
| 3.7.0 | Use the updated | 4.0.0 | Introduced a |
| 3.7.0 | Use the updated | 4.0.0 | Introduced a |
| 3.4.0 | Use the | 4.0.0 | No longer required with |
| 3.4.0 | Use the | 4.0.0 | No longer required with |
| 3.7.0 | Use the | 4.0.0 | No longer required with |
| NA | Use the | 4.0.0 | No longer required with Load and Show functionality. |
| 3.7.1 | Use the updated | 4.0.0 | Introduced a |
| 3.7.1 | Use the updated | 4.0.0 | Introduced a |
| NA | No direct replacement. | 4.0.0 | No longer required with |
| NA | No direct replacement. | 4.0.0 | No longer required with |
All of the | 3.4.0 | Use the | 4.0.0 | Legacy |
All of the | 3.4.0 | No direct replacement. | 4.0.0 | Legacy |