This release is a MAJOR version update with several breaking changes. See Migrate from v12 to v13 for more details.
Breaking changes:
- Increased the deployment target to iOS 13.0.
- Google Mobile Ads SDK raises an exception if an object that is not a String type is detected in the neighboringContentURLStrings array.
- Many previously deprecated APIs have been removed.
Anchored adaptive banner ads:
- The following APIs have been deprecated for their replacement:
- The
GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidthmethod is deprecated. Instead, use theGADLargeAnchoredAdaptiveBannerAdSizeWithWidthmethod. - The
GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidthmethod is deprecated. Instead, use the GADLargeAnchoredAdaptiveBannerAdSizeWithWidth method. - The
GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidthmethod is deprecated. Instead, use theGADLargeAnchoredAdaptiveBannerAdSizeWithWidthmethod.
- The
Swift 6 concurrency:
- Continued incremental migration to support Swift 6's concurrency model.
Updated all SDK os_log calls to use the {public} visibility specifier to prevent the logs from being redacted in the console.
Fixed an issue where GADErrorInvalidRequest was reported instead of GADErrorTimeout for certain request timeouts.
Fixed a crash on iOS 26 iPads that occurred when displaying banner ads behind UIPrintController.