Version 23.0.0 of the Android Google Mobile Ads SDK is now available. We recommend upgrading as soon as possible to get our latest features and performance improvements.
The minimum Android API level is 21
Starting in version 23.0.0, the Google Mobile Ads SDK requires all apps to be on a minimum Android API level 21 to run. To adjust the API level, change the value of minSdk
in your app-level build.gradle
file to 21 or higher.
Ad Manager builder methods can now be chained
In version 23.0.0, AdManagerAdRequest.Builder methods inherited from its parent can be chained together to build an AdManagerAdRequest using a single call:
var newRequest = AdManagerAdRequest.Builder() .addCustomTargeting("age", "25") // AdManagerAdRequest.Builder method. .setContentUrl("https://www.example.com") // Method inherited from parent. .build() // Builds an AdManagerAdRequest.
A side effect of this change is AdManagerAdRequest.Builder
no longer inherits from AdRequest.Builder.
SDK deprecation and sunset timelines activated
With this Android major version 23 launch and the iOS major version 11 launch last month, we are announcing new deprecation and sunset dates for older major releases. Specifically:
- Android Google Mobile Ads SDK versions 21.x.x are officially deprecated, and will sunset in Q2 2025.
- Android versions 20.x.x and iOS versions 8.x.x will sunset on June 30, 2024.
- While there are currently no plans to disable ad serving on Android versions 20.x.x and iOS versions 8.x.x, we strongly recommend updating to a supported SDK version to avoid being impacted in the future.
For the full list of changes in v23.0.0, check the release notes. Check our migration guide to ensure your mobile apps are ready to upgrade. As always, if you have any questions or need additional help, contact us via the developer forum.