[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples/Code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Release Notes
Version
Release Date
Notes
19.7.0
2021‑01‑20
Major changes to:
InterstitialAd
RewardedAd
NativeAd
AppOpenAd
Deprecated CustomRenderedAd.
Classes and packages with the prefix Publisher have been
deprecated and replaced with the prefix AdManager.
Last minor release before version 20.0.0. All APIs marked as deprecated
in this and prior releases will be removed in version 20.0.0. See version 20.0.0
migration guide for more details.
19.6.0
2020‑12‑04
Deprecated the onAdLeftApplication() AdListener
method.
Fixed a bug where users on Android 11 devices are asked to select a
browser when clicking an ad.
19.5.0
2020‑10‑20
Banner Ads: The onAdImpression()
AdListener method is now called for banner ads.
Added the setCustomHttpMillis()
method to customize the timeout for HTTPS calls made by the Google Mobile
Ads SDK.
19.4.0
2020‑09‑10
Added support for Android 11 devices for apps targeting API 30.
App Open Ads: Changed the AppOpenAd format to operate more
like a full screen format than a banner view. Added
getResponseInfo() and show() methods to
AppOpenAd. Deprecated AppOpenAdView
and AppOpenAdPresentationCallback classes.
Mediation: Mediation status reporting is now available. Use
ResponseInfo.getAdapterResponses()
to get response information for each ad network that participated in an ad
request.
Fixed a bug where MobileAds.initialize()
only calls back completion handler once. Every call to
MobileAds.initialize() now invokes the completion callback.
Rewarded Mediation: Added the MEDIATION_SHOW_ERROR
presentation error code. All presentation errors related to mediated ads now
return MEDIATION_SHOW_ERROR for AdError.getCode()
and a NonNull AdError.getCause() representing the underlying
mediation error.
19.2.0
2020‑06‑18
Added the RewardedInterstitialAd format. This feature is
currently in private beta. Reach out to your account manager to request
access.
Native Ads: Added a Native Validator UI on test
requests to help you catch and fix native policy violations.
Added APIs for the InstreamAd ad format. This feature is currently in
private beta. Reach out to your account manager to request access.
Adaptive Banner: Changed adaptive banner creation methods in the
AdSize
class. For example, renamed AdSize.getCurrentOrientationBannerAdSizeWithWidth()
to AdSize.getCurrentOrientationAnchoredAdaptiveBannerAdSize().
Mediation: The Google Mobile Ads SDK now catches exceptions
thrown by mediation adapters.
Rewarded Mediation: Fixed a bug where if multiple mediated
rewarded ads are cached, only one would show.
Added the setTestDeviceIds() method to enable setting
test devices once for all ad requests.
18.2.0
2019‑08‑29
Added APIs for the
AppOpenAd format. This feature is currently in
private beta. Reach out to your account manager to request access.
Mediation: Adapter exceptions whose stack traces include the
Google Mobile Ads SDK are now caught and handled by the
Google Mobile Ads SDK.
18.1.0
2019‑07‑09
Official release for App Measurement support.
App measurement initializes and sends data on app start by default.
Added an option to
delay app measurement
until the Google Mobile Ads SDK is explicitly called.
Native ads: Added UnifiedNativeAd.getMediaContent().
Publishers who only load images via URLs can now get the ad's media
content, supply an image to it, and call
MediaView.setMediaContent() to populate image data
through MediaView for non-video ads.
Added dependencies on play-services-measurement and
play-services-measurement-sdk. Apps no longer
need to add these dependencies explicitly.
18.0.0
2019‑06‑17
Migration from Android Support Libraries to Jetpack (AndroidX)
Libraries. Refer to the
Google Play services release notes for more information.
To avoid a crash that occurs on first launch after app install from
the play store, this release requires publishers to declare additional
dependencies in their build.gradle:
Fix for ANR originating at
android.media.AudioManager.getStreamVolume.
17.2.0
2019‑03‑11
Rewarded Video: Added a new set of rewarded APIs (see the
rewarded
package) that enable you to load multiple rewarded ads concurrently.
Mediation: Added a new set of mediation adapter APIs that support
initialization. Adapters implementing the new API implement the
Adapter class.
Publishers using firebase-analytics along with version
17.2.0 of any of the ads library
(e.g., com.google.android.gms:play-services-ads:17.2.0)
must use com.google.firebase:firebase-analytics:16.3.0.
17.1.3
2019‑01‑31
Publishers using firebase-analytics along with version
17.1.3 of any of the ads library
(e.g., com.google.android.gms:play-services-ads:17.1.3)
must use com.google.firebase:firebase-analytics:16.3.0.
17.1.2
2018‑12‑03
Publishers using firebase-analytics along with version
17.1.2 of any of the ads library
(e.g., com.google.android.gms:play-services-ads:17.1.2)
must use com.google.firebase:firebase-analytics:16.0.6.
17.1.1
2018‑11‑12
Fixed a bug where certain combinations of play-services-ads &
firebase-analytics (e.g., ads:17.1.0 &
analytics:16.0.5) resulted in a duplicate entry
compiler error.
Publishers using firebase-analytics along with version
17.1.1 of any of the ads library
(e.g., com.google.android.gms:play-services-ads:17.1.1)
must use com.google.firebase:firebase-analytics:16.0.5.
Google AdMob publishers are required to specify a
<meta-data> tag with key
com.google.android.gms.ads.APPLICATION_ID
in their AndroidManifest.xml. Refer to the
Get
Started guide for more details.
No ads changes. Refer to Google play services
release
notes for more information.
15.0.0
2018‑04‑12
MRAID v3 beta version.
Native ads: Added the Unified Native Ad API. This combines
NativeAppInstallAds and NativeContentAds into one new
type: UnifiedNativeAd.
Note: When using native ads, there is a benign warning that
shows up in the logs when the native ad is clicked:
"UnconfirmedClickListener must not be null while ClickConfirmingView is
set." This warning can be ignored, and it will be removed in the next
release.
12.0.1
2018‑03‑28
No ads changes. See the Google play services release notes
for more details.
Native mediation: Added the trackViews()
method to NativeAdMapper, giving adapters access to
View objects corresponding to individual native ad assets.
Deprecated trackView() in favor of trackViews().
Deprecated AdLoader.getMediationAdapterClassName (publishers should instead use the methods of the same name in NativeAppInstallAd and NativeContentAd).
Test ads now show a label on top of the ad. See the testing guide for more details.
Added the loadAds() method to the AdLoader class,
which allows apps to load multiple unique ads in a single request.
When you upgrade your app to version 11.2.0 or higher of the Google Mobile
Ads SDK, your app's build.gradle must also be updated to specify a
compileSdkVersion of at least 26 (Android O). This
does not change the way your app runs. You will not be required to update
targetSdkVersion.
Beginning with version 11.2.0, the Google Mobile Ads SDK is available via
Google's Maven repository. For more information, see the Google Play services
release notes.
Removed the getInAppPurchaseListener() and
setInAppPurchaseListener() methods from the AdView,
InterstitialAd, and NativeExpressAdView classes. Also
removed related in-app purchase classes.
Added the ability to enable immersive mode on full-screen ads by adding the
setImmersiveMode() method to the
PublisherInterstitialAd and
RewardedVideoAd classes.
Added keep rules to automatically preserve mediation adapter
class names when using ProGuard.
10.2.0
2017‑2‑15
Google Play services 10.2.x is the first release that no longer
includes full support for Android version 2.3.x (Gingerbread).
Apps developed using SDK release 10.2.x and later require a
minimum Android API level of 14 and cannot be installed on devices
running an API level below 14. To learn more about your options,
including building multiple APKs to extend your app's support for
Android Gingerbread, see the
Android Developers Blog.
Added support for video assets for Native Advanced content
and custom template ads.
Added the getVideoController(),
setVideoOptions(), and getVideoOptions()
methods to the PublisherAdView class.
Added the AdChoicesView class.
Added the getAdChoicesContent() and
setAdChoicesContent() methods to the
NativeAdMapper class.
Added the InitializableMediationRewardedVideoAdAdapter
interface for rewarded video mediation adapters that want to
opt in to early initialization before an ad request is made.
Added support for in-app preview and troubleshooting in Google Ad
Manager.
10.0.1
2016‑11‑21
Bug fixes and general improvements.
9.8.0
2016‑10‑24
MobileAds.Initialize(Context) has been un-deprecated.
Google Ad Manager publishers should call this method when initializing
their apps. AdMob publishers should still use
MobileAds.Initialize(Context, String) and pass their
application code.
9.6.0
2016‑09‑22
Added the MediaView class for Native Ads Advanced video ads.
Added an openDebugMenu() method to the
MobileAds class for creative preview and
troubleshooting of Ad Manager ad units.
For this release only, apps that use ProGuard to post-process their application
need to add the following keep option to their ProGuard configuration file:
-keep public @com.google.android.gms.common.util.DynamiteApi class * { *; }
8.4.0
2015‑12‑18
Added a public method,
MobileAds.setAppVolume(),
to inform the Mobile Ads SDK of an app's current volume level.
Introduced split JAR architecture--Android Studio developers can now
just include the ads portion of Google Play services by depending on
com.google.android.gms:play‑services‑ads:6.+.
Note: Apps that create banner ads in XML must still reference
the entire library com.google.android.gms:play‑services:6.+.
Various bug fixes.
6.1
2014‑10‑08
Added a getLocation() method to
com.google.android.gms.ads.MediationAdRequest.
Added a content description to the interstitial close button for
accessibility.
Removed logging of "Google Play resources not found" when the library
project is linked correctly.
Added getMediationAdapterClassName() to AdView
to get the class name of the ad network mediation adapter currently showing an ad.
5.0
2014‑06‑25
Added new APIs to implement Custom Events.
Added default purchase flow for In-App Purchase, using the Google Play Billing API.
4.4
2014‑05‑07
Added new Mediation Adapter APIs.
Added new 320x100 LARGE_BANNER ad format for both phones
and tablets.
Added new interstitial format for In-App Purchase. Set an
InAppPurchaseListener on InterstitialAd to listen
for in-app purchase events.
Bug fix for SecurityException crash due to reading
gservices without permission.
4.3
2014‑03‑17
InterstitialAd now functions if passed an application context.
Added the setContentUrl() method to PublisherAdRequest.Builder.
Fix for exception when Service not registered.
4.2
2014‑02‑03
Various bug fixes.
4.1
2014‑01‑16
Added support for Ad Manager and Search Ads for Mobile Apps.
AdRequest.Builder now has a setLocation() method.
Fixed a crash that occurred if an interstitial ad was requested but
AdActivity wasn't specified in the manifest.