39 KiB
Google Mobile Ads Unity Plugin Change Log
Version 9.2.0
- Added
IsCollapsible
API toBannerView
to check if a collapsible banner was loaded. - Fixed [#3369] by using appropriate LayoutParams.
- Fixed [#3455] Banner ad positioning not working on iOS.
- Updated GoogleMobileAds iOS SDK to 11.7.0.
Built and tested with:
- Google Mobile Ads Android SDK 23.2.0
- Google Mobile Ads iOS SDK 11.7.0
- Google User Messaging Platform 2.2.0
- External Dependency Manager for Unity 1.2.181
Version 9.1.1
- Updated GoogleMobileAds Android SDK to 23.2.0.
- Updated GoogleMobileAds iOS SDK to 11.6.0.
- Updated External Dependency Manager for Unity to 1.2.181.
- Added the AndroidJNI dependency to the UPM package.
Built and tested with:
- Google Mobile Ads Android SDK 23.2.0
- Google Mobile Ads iOS SDK 11.6.0
- Google User Messaging Platform 2.2.0
- External Dependency Manager for Unity 1.2.181
Version 9.1.0
- Removed the app measurement feature as Android/iOS SDKs no longer initialize App measurement.
- Fixed [#3290] by calling static putPublisherFirstPartyIdEnabled with boolean return type.
- Fixed [#3042] by explicitly adding gradle.projectsEvaluated for executing validate_dependencies gradle script.
- Fixed [#2801] incorrect value for
AdapterResponseInfo.LatencyMillis
on iOS. - Added
GetAdUnitID
API that allows reading the ad unit id for all ad formats. - Enabled passing AdManagerAdRequest as part of Load API for Rewarded, Rewarded Interstitial and AppOpen formats.
- Updated Google Mobile Ads SDK dependency to use v11.3.0 on iOS.
Built and tested with:
- Google Mobile Ads Android SDK 23.0.0
- Google Mobile Ads iOS SDK 11.3.0
- Google User Messaging Platform 2.2.0
- External Dependency Manager for Unity 1.2.179
Version 9.0.0
- Removed
SameAppKeyEnabled
inRequestConfiguration
. UsePublisherFirstPartyIdEnabled
instead. - Removed
ServerSideVerificationOptions.Builder
. UseServerSideVerificationOptions
directly. - Removed
RequestConfiguration.Builder
. UseRequestConfiguration
directly. - Removed
AdRequest.Builder
. UseAdRequest
directly. - Removed
AdErrorEventArgs
. UseAdError
directly. - Removed
AppOpenAd.Load
API that takes aScreenOrientation
parameter. - Made
AdValueEventArgs
Obsolete. UseAdValue
directly. - Made
AdFailedToLoadEventArgs
Obsolete. UseLoadAdError
directly. - Updated Google Mobile Ads SDK dependency to use v11.2.0 on iOS.
- Updated the Android User Messaging Platform dependency version to 2.2.0.
- Added the
NativeOverlayAd
class to fetch and display native ads using templates. - Using
CFPreferences
APIs forApplicationPreferences
instead ofNSUserDefaults
on iOS.
Built and tested with:
- Google Mobile Ads Android SDK 23.0.0
- Google Mobile Ads iOS SDK 11.2.0
- Google User Messaging Platform 2.2.0
- External Dependency Manager for Unity 1.2.179
Version 8.7.0
- Added PublisherPrivacyPersonalizationState property accessible via RequestConfiguration.
- Added PublisherFirstPartyIdEnabled property in RequestConfiguration.
- Deprecated SameAppKeyEnabled in RequestConfiguration. Use PublisherFirstPartyIdEnabled instead.
- Added ApplicationPreferences GetString and GetInt APIs.
- Fixed [#3048] by applying accurate path for gradle scripts on Windows.
- Updated Google Mobile Ads SDK dependency to use v22.6.0 on Android.
- Updated Google Mobile Ads SDK dependency to use v10.14 on iOS.
Built and tested with:
- Google Mobile Ads Android SDK 22.6.0
- Google Mobile Ads iOS SDK 10.14
- Google User Messaging Platform 2.1.0
- External Dependency Manager for Unity 1.2.177
Version 8.6.0
- Fixed [#3007] by aligning the PrivacyOptionsRequirementStatus Enum on iOS with Android Plugin.
- Fixed [#2930] for Projects using Android Gradle Plugin less than 4.2.2.
- Added Editor Options to toggle adding packagingOptions to gradle files to pick the first occurrence of META-INF/kotlinx_coroutines_core.version file.
- Added Editor Options to enable removing the property tag from the Android Manifest of the GMA Android SDK. This is enabled by default for projects using Android Gradle Plugin version 4.2.1 and lower.
- Updated Google Mobile Ads SDK dependency to use v22.5.0 on Android.
- Updated Google Mobile Ads SDK dependency to use v10.13 on iOS.
Built and tested with:
- Google Mobile Ads Android SDK 22.5.0
- Google Mobile Ads iOS SDK 10.13
- Google User Messaging Platform 2.1.0
- External Dependency Manager for Unity 1.2.177
Version 8.5.3
- Fixed "cannot find symbol" error when building the Android bridge project using gradle.
- Fixed [#2930] by pinning the Google Mobile Ads SDK dependency to use v22.3.0 on Android.
- Fixed [#2974] ConsentInformation.Update() wasn't working as expected on consecutive requests.
Built and tested with:
- Google Mobile Ads Android SDK 22.3.0
- Google Mobile Ads iOS SDK 10.9
- Google User Messaging Platform 2.1.0
- External Dependency Manager for Unity 1.2.176
Version 8.5.2
- Fixed AndroidJavaException when using AdManagerAdRequest custom targeting.
- Fixed [#2826] "No such proxy method" error within GoogleMobileAds.Ump.
- Updated Google Mobile Ads SDK dependency to use v22.3.0 on Android.
Built and tested with:
- Google Mobile Ads Android SDK 22.3.0
- Google Mobile Ads iOS SDK 10.9
- Google User Messaging Platform 2.1.0
- External Dependency Manager for Unity 1.2.176
Version 8.5.1
- Version 8.5.0 has been deprecated. Please upgrade to 8.5.1 instead.
- Fixed [#2866] Read enum from getPrivacyOptionsRequirementStatus.
- Removed double quotes from GoogleMobileAdsSKAdNetworkItems.xml.
Built and tested with:
- Google Mobile Ads Android SDK 22.2.0
- Google Mobile Ads iOS SDK 10.9
- Google User Messaging Platform 2.1.0
- External Dependency Manager for Unity 1.2.176
Version 8.5.0
- Requires apps to build against Xcode 14.1 or higher.
- This release introduces several new APIs to simplify the consent gathering
process.
- Calling
ConsentInformation.Update()
is now required before interacting with otherConsentInformation
public APIs. Before calling it, the following are returned:ConsentStatus
returnsConsentStatus.Unknown
PrivacyOptionsRequirementStatus
returnsPrivacyOptionsRequirementStatus.Unknown
ConsentInformation.CanRequestAds
returnsfalse
.
- ConsentForm
- Added method
LoadAndPresentIfRequired
to combine load and show calls. This method is intended for the use case of showing a form if needed when the app starts. - Added method
ShowPrivacyOptionsForm
, to be called when users interact with your app's privacy setting.
- Added method
- ConsentInformation
- Added
CanRequestAds
property. - Added
PrivacyOptionsRequirementStatus
property to indicate whether privacy options are required to be shown in this session.
- Added
- Calling
- Updated the Android User Messaging Platform dependency version to 2.1.0.
- Updated the Google Mobile Ads iOS SDK dependency version to 10.9.
- Fixed [#2840] Check if the ad references get deallocated in the iOS plugin (bridge).
- Updated SKAdNetwork list with values from the July 13, 2023 update.
Built and tested with:
- Google Mobile Ads Android SDK 22.2.0
- Google Mobile Ads iOS SDK 10.9
- Google User Messaging Platform 2.1.0
- External Dependency Manager for Unity 1.2.176
Version 8.4.1
- Fixed [#2815] Setting ApplicationPreferences on Android.
Built and tested with:
- Google Mobile Ads Android SDK 22.2.0
- Google Mobile Ads iOS SDK 10.7
- Google User Messaging Platform 2.0.0
- External Dependency Manager for Unity 1.2.176
Version 8.4.0
- Fixed [#2757] Rewarded Interstitial events not raising on the main thread.
- Added support for rendering Ad Manager banner ad.
- Removed method call logs from showing up in Unity Editor Console.
- Deprecated ScreenOrientation parameter of the AppOpenAd Load() API. Added AppOpenAd.Load() API for loading AppOpen Ads using ad unit ID, ad request and ad load callbacks.
- Added ApplicationPreferences API to manage GMA preferences.
- Updated Google Mobile Ads SDK dependency to use v10.7 on iOS.
- Updated Google Mobile Ads SDK dependency to use v22.2.0 on Android.
Built and tested with:
- Google Mobile Ads Android SDK 22.2.0
- Google Mobile Ads iOS SDK 10.7
- Google User Messaging Platform 2.0.0
- External Dependency Manager for Unity 1.2.176
Version 8.3.0
- Added support to RaiseAdEventsOnUnityMainThread for UMP callbacks.
- Added support for Ad Manager interstitial ad.
- Updated Google Mobile Ads SDK dependency to use v22.1.0 on Android.
- Updated Google Mobile Ads SDK dependency to use v10.5 on iOS.
Built and tested with:
- Google Mobile Ads Android SDK 22.1.0
- Google Mobile Ads iOS SDK 10.5
- Google User Messaging Platform 2.0.0
- External Dependency Manager for Unity 1.2.176
Version 8.2.0
- Fixed [#2646] Android Banner 'Descendant focus' crash.
- Fixed [#2676] Raising Interstitial events on main thread.
- Deprecated builder pattern in AdRequest, RequestConfiguration and ServerSideVerificationOptions Class. Utilize fields instead.
- Added AdManagerAdRequest class to allow passing CustomTargeting, CategoryExclusions and PublisherProvidedId as part of AdManager requests.
- Updated Google Mobile Ads SDK dependency to use v10.4 on iOS.
Built and tested with:
- Google Mobile Ads Android SDK 22.0.0
- Google Mobile Ads iOS SDK 10.4
- Google User Messaging Platform 2.0.0
- External Dependency Manager for Unity 1.2.176
Version 8.1.0
- Requires apps to build against Xcode 14.0 or higher.
- Fixed [#2611] [UMP] Exception raised when calling Update of ConsentInformation on Android
Built and tested with:
- Google Mobile Ads Android SDK 22.0.0
- Google Mobile Ads iOS SDK 10.3
- Google User Messaging Platform 2.0.0
- External Dependency Manager for Unity 1.2.175
Version 8.0.0
Plugin:
- Removed obsolete APIs for AppOpenAd.
- Removed obsolete APIs for InterstitialAd.
- Added the MobileAds.RaiseAdEventsOnUnityMainThread option for raising ad events on the Unity main thread.
- Dropped support for
armv7
andi386
architectures. - Requires minimum iOS version 11.0.
- Fixed [#2543] NullReferenceException when UMP ConsentDebugSettings are null.
- Fixed [#2531] Xcode 13 compile time error.
- Fixed [#1779] Crash with custom Banner Ad Sizes on the Unity platform.
- Fixed [#2553] Banner position in Unity Editor to reflect Android and iOS position.
- Added support for GMA Android SDK v22.0.0. Requires using GMA Android SDK v22.0.0 or higher.
- Added support for GMA iOS SDK v10.3. Requires using GMA iOS SDK v10.3 or higher.
Built and tested with:
- Google Mobile Ads Android SDK 22.0.0
- Google Mobile Ads iOS SDK 10.3
- Google User Messaging Platform 2.0.0
- External Dependency Manager for Unity 1.2.175
Version 7.4.1
Plugin:
- Added support for GMA iOS SDK v10. Requires using Google Mobile Ads iOS SDK v10.0 or higher.
Built and tested with:
- Google Mobile Ads Android SDK 21.3.0
- Google Mobile Ads iOS SDK 10.0
- Google User Messaging Platform 2.0.0
- External Dependency Manager for Unity 1.2.175
Version 7.4.0
Plugin:
- Added OnAdClicked and OnAdImpressionRecorded events to BannerView.
- Updated all ad format APIs to have consistent nomenclature.
- Added new InterstitialAd.OnAdClicked event to interstitial ads.
- Added new InterstitialAd.Load() API for loading interstitial ads.
- Added new InterstitialAd.CanShowAd() API for checking interstitial ad state.
- Added new RewardedAd.OnAdClicked event to rewarded ads.
- Added new RewardedAd.Load() API for loading rewarded ads.
- Added new RewardedAd.CanShowAd() API for checking rewarded ad state.
- Added new RewardedInterstitialAd.OnAdClicked event to rewarded interstitial ads.
- Added new RewardedInterstitialAd.Load() API for loading rewarded interstitial ads.
- Added new RewardedInterstitialAd.CanShowAd() API for checking rewarded interstitial ad state.
- Added new AppOpenAd.OnAdClicked event to app open ads.
- Added new AppOpenAd.Load() API for loading app open ads.
- Added new AppOpenAd.CanShowAd() API for checking app open ad state.
- Fixed [#2453] and [#2450] XCode build error when using iOS SDK 9.14.0 or greater.
- Added User Messaging Platform (UMP) APIs.
Built and tested with:
- Google Mobile Ads Android SDK 21.3.0
- Google Mobile Ads iOS SDK 9.11.0
- Google User Messaging Platform 2.0.0
- External Dependency Manager for Unity 1.2.175
Version 7.3.1
Plugin:
- Fixed #1799 RewardedAd OnAdFailedToPresentFullScreenContent called twice.
Built and tested with:
- Google Mobile Ads Android SDK 21.3.0.
- Google Mobile Ads iOS SDK 9.11.0
- External Dependency Manager for Unity 1.2.171
Version 7.3.0
Plugin:
- Requires using Google Mobile Ads Android SDK v21.3.0 or higher.
- Requires using Google Mobile Ads iOS SDK v9.11.0 or higher.
- Added response information for ad networks to the ad response.
Built and tested with:
- Google Mobile Ads Android SDK 21.3.0.
- Google Mobile Ads iOS SDK 9.11.0
- External Dependency Manager for Unity 1.2.171.
Version 7.2.0
Plugin:
- Added settings to optimize Android initialization and ad loading thread usage.
- Fixed issue with AppOpenAd.GetResponseInfo() not completing on Android.
- Fixed display issue for AdInspector on the Unity Editor platform.
Built and tested with:
- Google Mobile Ads Android SDK 21.0.0.
- Google Mobile Ads iOS SDK 9.9.0
- External Dependency Manager for Unity 1.2.171.
Version 7.1.0
Plugin:
- Added AppStateEventNotifier as a better option to OnApplicationPause for app open ads.
Built and tested with:
- Google Mobile Ads Android SDK 21.0.0.
- Google Mobile Ads iOS SDK 9.0.0
- External Dependency Manager for Unity 1.2.171.
Version 7.0.2
Plugin:
- Added support for GMA Android SDK v21. Requires using GMA Android SDK v21.0.0 or higher.
Built and tested with:
- Google Mobile Ads Android SDK 21.0.0.
- Google Mobile Ads iOS SDK 9.0.0
- External Dependency Manager for Unity 1.2.171.
Version 7.0.1
Plugin:
- Fixed Github issue 1943 related App Id saving.
- Fixed Github issue 2001 related to Android manifest.
- Fixed Github issue 2003 related to Ad Inspector crash.
- Added placeholder AdInspector for Unity editor.
Built and tested with:
- Google Play services 20.2.0
- Google Mobile Ads iOS SDK 9.0.0
- External Dependency Manager for Unity 1.2.171.
Version 7.0.0
Plugin:
- Added support for GMA iOS SDK v9. Requires using GMA iOS SDK v9.0.0 or higher.
- Fixed https://github.com/googleads/googleads-mobile-unity/issues/1620
- Updated to use External Dependency Manager for Unity 1.2.169.
Built and tested with:
- Google Play services 20.2.0
- Google Mobile Ads iOS SDK 9.0.0
- External Dependency Manager for Unity 1.2.171.
Version 6.1.2
Plugin:
- Fixed Github issue 1786 related to GoogleMobileAdsSettings.
- Fixed issue related to missing GADUAdNetworkExtras.h file when using some mediation adapters.
Built and tested with:
- Google Play services 20.2.0
- Google Mobile Ads iOS SDK 8.8.0
- External Dependency Manager for Unity 1.2.165.
Known issue:
- iOS Resolver library cannot be loaded in Unity 2021.1.11 and 2021.1.12. It can be loaded properly with Unity 2021.1.10. See https://github.com/googlesamples/unity-jar-resolver/issues/441 for more information.
Version 6.1.1
Plugin:
- Added support for ad inspector.
Built and tested with:
- Google Play services 20.2.0
- Google Mobile Ads iOS SDK 8.8.0
- External Dependency Manager for Unity 1.2.165.
Known issue:
- iOS Resolver library cannot be loaded in Unity 2021.1.11 and 2021.1.12. It can be loaded properly with Unity 2021.1.10. See https://github.com/googlesamples/unity-jar-resolver/issues/441 for more information.
Version 6.1.0
Plugin:
- Fixed https://github.com/googleads/googleads-mobile-unity/issues/1620
- Added support for iOS 14+ same app key
- Added support for App Open ads.
Built and tested with:
- Google Play services 20.2.0
- Google Mobile Ads iOS SDK 8.8.0
- External Dependency Manager for Unity 1.2.165.
Known issue:
- iOS Resolver library cannot be loaded in Unity 2021.1.11 and 2021.1.12. It can be loaded properly with Unity 2021.1.10. See https://github.com/googlesamples/unity-jar-resolver/issues/441 for more information.
Version 6.0.2
Plugin:
- Fixed https://github.com/googleads/googleads-mobile-unity/issues/1677 This version requires Xcode 12.4 where the previous version required Xcode 12.5.1.
- You no longer need to enable "Link frameworks statically" for the Google Mobile Ads plugin to work.
Built and tested with:
- Google Play services 20.2.0
- Google Mobile Ads iOS SDK 8.8.0
- External Dependency Manager for Unity 1.2.165.
Known issue:
- iOS Resolver library cannot be loaded in Unity 2021.1.11 and 2021.1.12. It can be loaded properly with Unity 2021.1.10. See https://github.com/googlesamples/unity-jar-resolver/issues/441 for more information.
Version 6.0.1
Plugin:
- Fixed https://github.com/googleads/googleads-mobile-unity/issues/1613 where build error occurs on Unity 2021.
- Fixed https://github.com/googleads/googleads-mobile-unity/issues/1616 where iOS build contains undefined symbol.
- Automatically added SKAdNetworkIdentifiers recommended by https://developers.google.com/admob/ios/ios14#skadnetwork into generated iOS builds. You can manage the list of SKAdNetworkIdentifier values by editing
Assets/GoogleMobileAds/Editor/GoogleMobileAdsSKAdNetworkItems.xml
.
Built and tested with:
- Google Play services 20.0.0
- Google Mobile Ads iOS SDK 8.2.0
- External Dependency Manager for Unity 1.2.165.
Known issue:
- iOS Resolver library cannot be loaded in Unity 2021.1.11 and 2021.1.12. It can be loaded properly with Unity 2021.1.10. See https://github.com/googlesamples/unity-jar-resolver/issues/441 for more information.
Version 6.0.0
Plugin:
- Added support for GMA iOS SDK v8 and GMA Android SDK v20. Requires using GMA iOS SDK v8.0.0 or higher, and GMA Android SDK 20.0.0 or higher.
- Removed MobileAds.Initialize(string appId).
- Removed Birthday, Gender, TestDevices, TagForChildDirectedTreatment properties on AdRequest. TagForChildDirectedTreatment and TestDeviceIds properties are available under RequestConfiguration..
- Removed OnAdLeavingApplication event for all formats.
- Removed MediationAdapterClassName from all formats in favor of ResponseInfo.
- Removed Message from AdErrorEventArgs class in favor of AdError.
- Removed RewardBasedVideoAd in favor of RewardedAd.
- Added support for ad load errors, please see https://developers.google.com/admob/unity/ad-load-errors for details.
- Ad Manager integration now requires providing the app ID in the Unity Editor.
- Changed package format to contain compiled assemblies in DLL format in place of the uncompiled code.
- You need to enable "Link frameworks statically" in Unity Editor -> Assets -> External Dependency Manager -> iOS Resolver -> Settings, or else the GMA plugin does not work.
Built and tested with:
- Google Play services 20.0.0
- Google Mobile Ads iOS SDK 8.2.0
- External Dependency Manager for Unity 1.2.165.
Version 5.4.0
Plugin:
- Add support for iOS14 with Googles
SKAdNetwork
identifiers automatically included inInfo.plist
. - Added the RewardedInterstitialAd format. This feature is currently in private beta. Reach out to your account manager to request access.
- Added mock ad views to enable developers to test ad placement and callback logic within the Unity editor.
- Added fix for crash that occurs when attempting to show interstitial when app is closing.
- Added fix for crash that occurs when calling
GetResponseInfo()
on iOS before ad is loaded.
Built and tested with:
- Google Play services 19.5.0
- Google Mobile Ads iOS SDK 7.68.0
- External Dependency Manager for Unity 1.2.161.
Version 5.3.0
Plugin:
- Add InitializationStatusClient for Init callback in Unity Editor. Fixes #1394.
- Update to Android SDK version 19.3.0
Built and tested with:
- Google Play services 19.3.0
- Google Mobile Ads iOS SDK 7.63.0
- External Dependency Manager for Unity 1.2.156.
Version 5.2.0
Plugin:
- Added ResponseInfo class. See https://developers.google.com/admob/unity/response-info for usage details.
- Fixes #1307 - issue with running in Unity Editor when targeting iOS platform.
- Fixes #1287 - issue where a crash is caused in equality check when AdSize is null.
- Moved GoogleMobileAdsPlugin to GoogleMobileAdsPlugin.androidlib to ensure manifest is picked up when building android app in Unity 2020. Fixes issue #1310. Thanks @pipe-alt!
- Fix error messages for iOS plugin.
- Added the DisableMediationInitialization() method to MobileAds. Warning: Calling this method may negatively impact your Google mediation performance. This method should only be called if you include Google mediation adapters in your app, but you won't use mediate through Google during a particular app session (for example, you are running an A/B mediation test).
Built and tested with:
- Google Play services 19.2.0
- Google Mobile Ads iOS SDK 7.60.0
- External Dependency Manager for Unity 1.2.156.
Version 5.1.0
Plugin:
- Added RequestConfiguration class. See https://developers.google.com/admob/unity/targeting for usage details.
- Fixed issue with building for IL2CPP in versions of Unity 2017 and earlier.
- Adding missing imports for Unity 5.6 build (Thanks @EldersJavas !).
- Added GoogleMobileAds assembly definition.
- Added thread safety to GADUObjectCache in iOS plugin.
- Revised project structure. If upgrading from a previous version, delete your GoogleMobileAds/ folder before importing this plugin.
Built and tested with:
- Google Play services 19.1.0
- Google Mobile Ads iOS SDK 7.58.0
- Unity Jar Resolver 1.2.152
Version 5.0.1
Plugin:
- Fixed issue with externs.cpp in pre-2019 versions of Unity
Built and tested with:
- Google Play services 19.0.0
- Google Mobile Ads iOS SDK 7.56.0
- Unity Jar Resolver 1.2.136
Version 5.0.0
Plugin:
- Removed preprocessor directives for custom assembly support.
- Fixed IL2CPP build support on Android.
- Updated to Google Play services 19.0.0.
- Updated minimum Android API level to 16.
Built and tested with:
- Google Play services 19.0.0
- Google Mobile Ads iOS SDK 7.56.0
- Unity Jar Resolver 1.2.136
Version 4.2.1
Plugin:
- Fixed issue with using
AdSize.FullWidth
API for apps that only support landscape.
Built and tested with:
- Google Play services 18.3.0
- Google Mobile Ads iOS SDK 7.53.1
- Unity Jar Resolver 1.2.135
Version 4.2.0
Plugin:
- Added support for using AdSize.FullWidth with Adaptive banner APIs.
- Added
GetRewardItem()
API forRewardedAd
. - Fixed issue with Android implementation of
GetPortraitAnchoredAdaptiveBannerAdSizeWithWidth
.
Built and tested with:
- Google Play services 18.3.0
- Google Mobile Ads iOS SDK 7.53.1
- Unity Jar Resolver 1.2.135
Version 4.1.0
Plugin:
- Released Anchored Adaptive Banner APIs.
Built and tested with:
- Google Play services 18.2.0
- Google Mobile Ads iOS SDK 7.51.0
- Unity Jar Resolver 1.2.130
Version 4.0.0
Plugin:
- Breaking change: The Android library included in this plugin is now distributed as an aar, and
lives at
Assets/Plugins/Android/googlemobileads-unity.aar'. If you are upgrading from a previous version, remove the
Assets/Plugins/Android/GoogleMobileAdsPlugin' folder prior to importing this latest version of the plugin. - Added proguard support on Android.
- Update Android Google Mobile Ads SDK version to 18.2.0.
- Fixed a bug where the AdSize.SMART_BANNER banner size did not work on Unity 2019.2+.
- Added assertion to stop Android builds when Google Mobile Ads settings are invalid.
Built and tested with:
- Google Play services 18.2.0
- Google Mobile Ads iOS SDK 7.50.0
- Unity Jar Resolver 1.2.125
Version 3.18.3
Plugin:
- Update JAR resolver.
Built and tested with:
- Google Play services 18.1.1
- Google Mobile Ads iOS SDK 7.48.0
- Unity Jar Resolver 1.2.124
Version 3.18.2
Plugin:
- Update to Android release 18.1.1.
Built and tested with:
- Google Play services 18.1.1
- Google Mobile Ads iOS SDK 7.47.0
- Unity Jar Resolver 1.2.123
Version 3.18.1
Plugin:
- Add new Initialization API.
- Fixed Android compile error with PListProcessor.
- Removed reflection for improved IL2CPP support.
- Fixed iOS dependency to not use patch version.
Built and tested with:
- Google Play services 18.1.0
- Google Mobile Ads iOS SDK 7.46.0
- Unity Jar Resolver 1.2.122
Version 3.18.0
Plugin:
- Added GoogleMobileAdsSettings editor UI for making Plist / manifest changes.
- Fix OnRewardedAdFailedToShow callbacks.
- Migrated android support library to androidx (JetPack) with Google Mobile Ads SDK version 18.0.0.
Built and tested with:
- Google Play services 18.0.0
- Google Mobile Ads iOS SDK 7.45.0
- Unity Jar Resolver 1.2.119
Version 3.17.0
Plugin:
- Revised Banner positioning code to use gravity instead of popup window.
- Tested Banner positioning with notched devices supporting Google P APIs.
- Added Rewarded Ads ServerSideVerificationOptions (thanks @halfdevil !)
- Fixed issue with PListProcessor macro.
- Added whitelist for apache http library (thanks @RolandSzep !)
- Specified package for gender enum (thanks @armnotstrong !)
- Added mediation extras for custom events (thanks SeanPONeil !)
Built and tested with:
- Google Play services 17.2.0
- Google Mobile Ads iOS SDK 7.44.0
- Unity Jar Resolver 1.2.111
Version 3.16.0
Plugin:
- Added new RewardedAd APIs support.
- Added PListProcessor to assist in adding the GADApplicationIdentifier to iOS build Info.plist.
Built and tested with:
- Google Play services 17.2.0
- Google Mobile Ads iOS SDK 7.42.0
- Unity Jar Resolver 1.2.102.0
Version 3.15.1
Plugin:
- Fixed crash when adding mediation extras to ad request.
Built and tested with:
- Google Play services 15.0.1
- Google Mobile Ads iOS SDK 7.32.0
- Unity Jar Resolver 1.2.88.0
Version 3.15.0
Plugin:
- Forward Android ad events on background thread through JNI interface to mitigate ANRs.
Mediation packages:
- Updated AppLovin Unity package to v3.0.3.
- Updated Chartboost Unity package to v1.1.1.
- Updated Facebook Unity package to v1.1.3.
- Updated IronSource Unity package to v1.0.2.
- Updated Nend Unity package to v2.0.0.
- Updated Tapjoy Unity package to v2.0.0.
Built and tested with:
- Google Play services 15.0.1
- Google Mobile Ads iOS SDK 7.31.0
- Unity Jar Resolver 1.2.79.0
Version 3.14.0
Plugin:
- Fixed Google Play dependencies version conflict with Firebase plugins.
Mediation packages:
- Updated AdColony Unity package to v1.2.1.
- Updated AppLovin Unity package to v3.0.2.
- Updated Chartboost Unity package to v1.1.0.
- Updated Facebook Unity package to v1.1.2.
- Updated InMobi Unity package to v2.1.0.
- Updated IronSource Unity package to v1.0.1.
- Updated Maio Unity package to v1.1.0.
- Updated MoPub Unity package to v2.1.0.
- Updated MyTarget Unity package to v2.1.0.
- Updated Nend Unity package to v1.0.2.
- Updated Tapjoy Unity package to v1.1.1.
- Updated UnityAds Unity package to v1.1.3.
Built and tested with:
- Google Play services 15.0.1
- Google Mobile Ads iOS SDK 7.31.0
- Unity Jar Resolver 1.2.75.0
Version 3.13.1
Plugin:
- Fixed issue where banner ads reposition to top of screen after a full screen ad is displayed.
Built and tested with:
- Google Play services 12.0.1
- Google Mobile Ads iOS SDK 7.30.0
- Unity Jar Resolver 1.2.64.0
Version 3.13.0
Plugin:
- Added
OnAdCompleted
ad event to rewarded video ads. - Removed support for Native Ads Express.
Mediation packages:
- Added Chartboost mediation support package.
- Added MoPub mediation support package.
- Updated AppLovin Unity package to v1.2.1.
- Updated AdColony Unity package to v1.0.1.
- Updated myTarget Unity package to v2.0.0.
Built and tested with:
- Google Play services 12.0.1
- Google Mobile Ads iOS SDK 7.30.0
- Unity Jar Resolver 1.2.64.0
Version 3.12.0
Plugin:
- Added
setUserId
API to rewarded video ads to identify users in server-to-server reward callbacks. - Removed functionality that forced ad events to be invoked on the main thread.
Mediation packages:
- Updated maio Unity package to v1.0.1.
Built and tested with:
- Google Play services 11.8.0
- Google Mobile Ads iOS SDK 7.29.0
- Unity Jar Resolver 1.2.61.0
Version 3.11.1
Plugin:
- Fixed issue where calling GetWidthInPixels() or GetHeightInPixels() resulted in a null pointer exception.
Mediation packages:
- Added Facebook mediation support package.
Built and tested with:
- Google Play services 11.8.0
- Google Mobile Ads iOS SDK 7.28.0
- Unity Jar Resolver 1.2.61.0
Version 3.11.0
Plugin:
- Updated Android ad events to be invoked on the main thread.
- Added
MobileAds.SetiOSAppPauseOnBackground()
method to pause iOS apps when displaying full screen ads. - Fixed issue were banners repositioned incorrectly following an orientation change.
Mediation packages:
- Added maio mediation support package.
- Added nend mediation support package.
Built and tested with:
- Google Play services 11.8.0
- Google Mobile Ads iOS SDK 7.27.0
- Unity Jar Resolver 1.2.61.0
Version 3.10.0
Plugin:
- Updated Smart Banner positioning to render within safe area on iOS 11.
- Added API to return height and width of BannerView in pixels.
- Added SetPosition method to reposition banner ads.
- Updated AppLovin Unity mediation package to support AppLovin initialization integration.
Mediation packages:
- Added InMobi mediation support package.
- Added Tapjoy mediation support package.
- Added Unity Ads mediation support package.
- Added myTarget mediation support package.
Built and tested with:
- Google Play services 11.6.2
- Google Mobile Ads iOS SDK 7.27.0
- Unity Jar Resolver 1.2.59.0
Version 3.9.0
Plugin:
- Implemented workaround for issue where ad views are rendered in incorrect position.
- Resolved compatibility issues with Gradle 4.
- Resolved comnpatilbity issues with older versions of Xcode.
Mediation packages:
- Added API for video ad volume control.
- Added AdColony mediation support package.
- Added AppLovin mediation support package.
Built and tested with:
- Google Play services 11.6.0
- Google Mobile Ads iOS SDK 7.25.0
- Unity Jar Resolver 1.2.59.0
Version 3.8.0
- Added support for Vungle mediation extras.
- Updated ad views to render within safe area on iOS 11 when using predefined AdPosition constants.
- Added MediationAdapterClassName() method to all ad formats.
- Fixed issue where ad views are always rendered on the top of the screen for certain devices.
Built and tested with:
- Google Play services 11.4.0
- Google Mobile Ads iOS SDK 7.24.1
- Unity Jar Resolver 1.2.59.0
Version 3.7.1
- Fix issue where banner and Native Express ads fail to show after being hidden.
Built and tested with:
- Google Play services 11.4.0
- Google Mobile Ads iOS SDK 7.24.0
- Unity Jar Resolver 1.2.52.0
Version 3.7.0
- Updated dependency specification for JarResolver to use new XML format.
- Resolved JarResolver incompatibility issues when using Firebase Unity plugins.
Built and tested with:
- Google Play services 11.2.0
- Google Mobile Ads iOS SDK 7.23.0
- Unity Jar Resolver 1.2.48.0
Version 3.6.3
- Fixed serving of live ads to iOS simulator when simulator set as test device.
- Reverted addition of mediation sub-directories to Plugin folder.
Built and tested with:
- Google Play services 11.0.4
- Google Mobile Ads iOS SDK 7.21.0
- Unity Jar Resolver 1.2.35.0
Version 3.6.2
- Add mediation sub-directories to Plugin folder.
Built and tested with:
- Google Play services 11.0.4
- Google Mobile Ads iOS SDK 7.21.0
- Unity Jar Resolver 1.2.35.0
Version 3.6.1
- Updated Unity Jar Resolver.
Built and tested with:
- Google Play services 11.0.0
- Google Mobile Ads iOS SDK 7.21.0
- Unity Jar Resolver 1.2.32.0
Version 3.6.0
- Added method to initialize the GMA SDK.
- Added FullWidth AdSize constant.
- Fixed incompatibility with Gradle build system.
- Updated iOS code to remove modular imports.
Built and tested with:
- Google Play services 11.0.0
- Google Mobile Ads iOS SDK 7.21.0
- Unity Jar Resolver 1.2.31.0
Version 3.5.0
- Fix ad views losing visibility after an activity change for certain devices (eg. Huaweai devices).
Built and tested with:
- Google Play services 10.2.4
- Google Mobile Ads iOS SDK 7.20.0
- Unity Jar Resolver 1.2.20.0
Version 3.4.0
- Fix native express and banner ad behavior where initializing and hidden ads create unclickable region.
Built and tested with:
- Google Play services 10.2.1
- Google Mobile Ads iOS SDK 7.19.0
- Unity Jar Resolver 1.2.14.0
Version 3.3.0
- Removed support for in-app purchases.
- Fix positioning of ads in sticky-immersive mode.
- Fix issue were ads larger than 320dp could not be rendered.
- Fix incorrect positioning of ads in iOS for ad position BOTTOM.
- Add rewarded video test ad units to HelloWorld sample app.
- Suppress warnings for unused placeholder ad events.
Built and tested with:
- Google Play services 10.2.0
- Google Mobile Ads iOS SDK 7.18.0
- Unity Jar Resolver 1.2.12.0
Version 3.2.0
- Banner ads and native express ads display correctly on Unity 5.6.
- Add ability to specify x, y location of ad views.
Built and tested with:
- Google Play services 10.0.1
- Google Mobile Ads iOS SDK 7.16.0
- Unity Jar Resolver 1.2.9.0
Version 3.1.3
- Fix incorrect invocation of events on ads failing to load.
Built and tested with:
- Google Play services 10.0.0
- Google Mobile Ads iOS SDK 7.15.0
- Unity Jar Resolver 1.2.6.0
Version 3.1.2
- Fix NPE when ad events are not hooked up.
Built and tested with:
- Google Play services 9.8.0
- Google Mobile Ads iOS SDK 7.13.0
- Unity Jar Resolver 1.2.2.0
Version 3.1.1
- Remove dependency on Android Support Library and update GMA iOS SDK
version in
AdMobDependencies.cs
.
Built and tested with:
- Google Play services 9.6.1
- Google Mobile Ads iOS SDK 7.13.0
- Unity Jar Resolver 1.2.2.0
Version 3.1.0
- Integrate plugin with play-services-resolver-1.2.1.0.
- Removal of CocoaPods integration.
Built and tested with:
- Google Play services 9.6.0
- Google Mobile Ads iOS SDK 7.12.0
- Unity Jar Resolver 1.2.1.0
Version 3.0.7
- Fix crash within OnAdLoaded ad event for rewarded video ads on iOS.
Built and tested with:
- Google Play services 9.4.0
- Google Mobile Ads iOS SDK 7.11.0
- Unity Jar Resolver 1.2
Version 3.0.6
- Add support for Native Ads express.
- Fix compatibility issues with Android IL2CPP compilation.
- Fix memory leak of C# client objects
Built and tested with:
- Google Play services 9.4.0
- Google Mobile Ads iOS SDK 7.10.1
- Unity Jar Resolver 1.2
Version 3.0.5
- Remove use of JSONUtility.
Built and tested with:
- Google Play services 9.2.0
- Google Mobile Ads iOS SDK 7.8.1
- Unity Jar Resolver 1.2
Version 3.0.4
- Fix Podfile compatibility with CocoaPods 1.0.0.
- Add support for DFP custom native ad formats.
Built and tested with:
- Google Play services 9.0.0
- Google Mobile Ads iOS SDK 7.8.1
- Unity Jar Resolver 1.2
Version 3.0.3
- Restrict simultaneous rewarded video requests on Android.
Built and tested with:
- Google Play services 8.4.0
- Google Mobile Ads iOS SDK 7.7.0
Version 3.0.2
- Fix compatibility issues with Google Mobile Ads iOS SDK 7.7.0
Built and tested with:
- Google Play services 8.4.0
- Google Mobile Ads iOS SDK 7.7.0
Version 3.0.1
- Update preprocessor directives for iOS post build setup
- Add request agent to all ad requests from plugin
Built and tested with:
- Google Play services 8.4.0
- Google Mobile Ads iOS SDK 7.6.0
Version 3.0.0
- Add support for Custom In-App purchase flow on Android
- Add CocoaPods integration and automated build settings for iOS projects
- Use JarResolver plugin to resolve Google Play services client dependencies
- Ad events for banners and interstitials refactored with new names
Built and tested with:
- Google Play services 8.4.0
- Google Mobile Ads iOS SDK 7.6.0
Version 2.3.1
- Move IInAppBillingService into its own JAR
Version 2.3.0
- Add support for In-App Purchase house ads on Android
Version 2.2.1
- Fix for Android manifest merge issues on Unity 4.x
- Fix for TouchCount issue on Unity 5.0
Version 2.2
- Support for Unity 5.0 & ARC
- Additional Banner positions
- iOS Ads SDK 7.0.0 compatibility
Version 2.1
- Support for Interstitial Ads
- Ad events use EventHandlers
Version 2.0
- A single package with cross platform (Android/iOS) support
- Mock ad calls when running inside Unity editor
- Support for Banner Ads
- Custom banner sizes
- Banner ad events listeners
- AdRequest targeting methods
- A sample project to demonstrate plugin integration
Version 1.2
- Initial Android version with Google Play services support
- Support for Banner Ads only
Version 1.1
- Initial iOS only version
- Support for Banner Ads only
Version 1.0
- Initial version for Android (using now deprecated legacy Android SDK)