Friday, March 15, 2024


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

<br />


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](https://developers.google.com/android/reference/com/google/android/gms/ads/admanager/AdManagerAdRequest.Builder) methods inherited from its parent can be chained together to build an [AdManagerAdRequest](https://developers.google.com/android/reference/com/google/android/gms/ads/admanager/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](https://developers.google.com/android/reference/com/google/android/gms/ads/AdRequest.Builder).

### SDK deprecation and sunset timelines activated


With this Android major version 23 launch and the [iOS major version 11 launch](https://developers.google.com/ads/blog/posts/2024/02/announcing-ios-google-mobile-ads-sdk.md.txt) 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](https://developers.google.com/admob/android/deprecation.md.txt#differences) 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](https://developers.google.com/admob/android/rel-notes.md.txt). Check our [migration guide](https://developers.google.com/admob/android/migration.md.txt) 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](https://groups.google.com/group/google-admob-ads-sdk).

![Portrait of the author](https://developers.google.com/static/ads/blog/images/ACg8ocL5K1gwgo5Yng334LFkt_SM4fMqjvEyCXTG-cYDduruqA=s212-p.jpg) - Jill Song, Mobile Ads Developer Relations

**Labels:**

[ad-manager](https://developers.google.com/ads/blog/feeds/labels/ad-manager.md.txt),

[admob](https://developers.google.com/ads/blog/feeds/labels/admob.md.txt),

[android](https://developers.google.com/ads/blog/feeds/labels/android.md.txt),

[deprecation](https://developers.google.com/ads/blog/feeds/labels/deprecation.md.txt),

[ios](https://developers.google.com/ads/blog/feeds/labels/ios.md.txt),

[mobile-ads-sdk](https://developers.google.com/ads/blog/feeds/labels/mobile-ads-sdk.md.txt),

[release](https://developers.google.com/ads/blog/feeds/labels/release.md.txt)