diff --git a/UnityAds/CHANGELOG.md b/UnityAds/CHANGELOG.md
new file mode 100644
index 0000000..dd7cf58
--- /dev/null
+++ b/UnityAds/CHANGELOG.md
@@ -0,0 +1,224 @@
+## Unity Ads Unity Mediation Plugin Changelog
+
+#### Version Next
+- Renamed `DummyClient` to `PlaceholderClient`.
+
+#### [Version 3.12.1](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-3.12.1.zip)
+- Supports [Unity Ads Android adapter version 4.12.1.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-41210).
+- Supports [Unity Ads iOS adapter version 4.12.1.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-41210).
+- Built and tested with the Google Mobile Ads Unity Plugin version 9.1.1.
+
+#### [Version 3.12.0](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-3.12.0.zip)
+- Supports [Unity Ads Android adapter version 4.12.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-41200).
+- Supports [Unity Ads iOS adapter version 4.12.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-41200).
+- Built and tested with the Google Mobile Ads Unity Plugin version 9.1.0.
+
+#### [Version 3.11.1](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-3.11.1.zip)
+- Supports [Unity Ads Android adapter version 4.11.3.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-41130).
+- Supports [Unity Ads iOS adapter version 4.11.3.1](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-41131).
+- Built and tested with the Google Mobile Ads Unity Plugin version 9.1.0.
+
+#### [Version 3.11.0](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-3.11.0.zip)
+- Supports [Unity Ads Android adapter version 4.11.3.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-41130).
+- Supports [Unity Ads iOS adapter version 4.11.3.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-41130).
+- Built and tested with the Google Mobile Ads Unity Plugin version 9.1.0.
+
+#### [Version 3.10.0](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-3.10.0.zip)
+- Supports [Unity Ads Android adapter version 4.10.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-41000).
+- Supports [Unity Ads iOS adapter version 4.10.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-41000).
+- Built and tested with the Google Mobile Ads Unity Plugin version 9.0.0.
+
+#### [Version 3.9.1](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-3.9.1.zip)
+- Supports [Unity Ads Android adapter version 4.9.3.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-4930).
+- Supports [Unity Ads iOS adapter version 4.9.3.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-4930).
+- Built and tested with the Google Mobile Ads Unity Plugin version 9.0.0.
+
+#### [Version 3.9.0](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-3.9.0.zip)
+- Supports [Unity Ads Android adapter version 4.9.2.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-4920).
+- Supports [Unity Ads iOS adapter version 4.9.2.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-4920).
+- Built and tested with the Google Mobile Ads Unity Plugin version 8.6.0.
+
+#### [Version 3.8.0](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-3.8.0.zip)
+- Supports [Unity Ads Android adapter version 4.8.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-4800).
+- Supports [Unity Ads iOS adapter version 4.8.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-4800).
+- Built and tested with the Google Mobile Ads Unity Plugin version 8.4.1.
+
+#### [Version 3.7.1](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-3.7.1.zip)
+- Supports [Unity Ads Android adapter version 4.7.1.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-4710).
+- Supports [Unity Ads iOS adapter version 4.7.1.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-4710).
+- Built and tested with the Google Mobile Ads Unity Plugin version 8.3.0.
+
+#### [Version 3.7.0](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-3.7.0.zip)
+- Supports [Unity Ads Android adapter version 4.7.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-4700).
+- Supports [Unity Ads iOS adapter version 4.7.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-4700).
+- Built and tested with the Google Mobile Ads Unity Plugin version 8.1.0.
+
+#### [Version 3.6.1](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-3.6.1.zip)
+- Supports [Unity Ads Android adapter version 4.6.1.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-4610).
+- Supports [Unity Ads iOS adapter version 4.6.1.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-4610).
+- Built and tested with the Google Mobile Ads Unity Plugin version 8.0.0.
+
+#### [Version 3.6.0](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-3.6.0.zip)
+- Moved adapter content to `GoogleMobileAds/Mediation/UnityAds/`.
+- Refactored adapter namespace to use `GoogleMobileAds.Mediation.UnityAds`.
+- Supports [Unity Ads Android adapter version 4.6.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-4600).
+- Supports [Unity Ads iOS adapter version 4.6.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-4600).
+- Built and tested with the Google Mobile Ads Unity Plugin version 7.4.1.
+
+#### [Version 3.5.0](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-3.5.0.zip)
+- Supports [Unity Ads Android adapter version 4.5.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-4500).
+- Supports [Unity Ads iOS adapter version 4.5.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-4500).
+- Built and tested with the Google Mobile Ads Unity Plugin version 7.3.1.
+
+#### [Version 3.4.1](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-3.4.1.zip)
+- Supports [Unity Ads Android adapter version 4.4.1.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-4410).
+- Supports [Unity Ads iOS adapter version 4.4.1.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-4410).
+- Built and tested with the Google Mobile Ads Unity Plugin version 7.2.0.
+
+#### [Version 3.4.0](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-3.4.0.zip)
+- Supports [Unity Ads Android adapter version 4.4.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-4400).
+- Supports [Unity Ads iOS adapter version 4.4.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-4400).
+- Built and tested with the Google Mobile Ads Unity Plugin version 7.2.0.
+
+#### [Version 3.3.0](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-3.3.0.zip)
+- Updated the `SetGDPRConsentMetaData(bool)` method from the `UnityAds` class to `SetConsentMetaData(string, bool)`.
+- Supports [Unity Ads Android adapter version 4.3.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-4300).
+- Supports [Unity Ads iOS adapter version 4.3.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-4300).
+- Built and tested with the Google Mobile Ads Unity Plugin version 7.2.0.
+
+#### [Version 3.2.1](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-3.2.1.zip)
+- Supports [Unity Ads Android adapter version 4.2.1.1](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-4211).
+- Supports [Unity Ads iOS adapter version 4.2.1.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-4210).
+- Built and tested with the Google Mobile Ads Unity Plugin version 7.0.2.
+
+#### [Version 3.2.0](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-3.2.0.zip)
+- Supports [Unity Ads Android adapter version 4.2.1.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-4210).
+- Supports [Unity Ads iOS adapter version 4.2.1.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-4210).
+- Built and tested with the Google Mobile Ads Unity Plugin version 7.0.1.
+
+#### [Version 3.1.0](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-3.1.0.zip)
+- Supports [Unity Ads Android adapter version 4.1.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-4100).
+- Supports [Unity Ads iOS adapter version 4.1.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-4100).
+- Built and tested with the Google Mobile Ads Unity Plugin version 7.0.0.
+
+#### [Version 3.0.1](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-3.0.1.zip)
+- Supports [Unity Ads Android adapter version 4.0.1.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-4010).
+- Supports [Unity Ads iOS adapter version 4.0.1.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-4010).
+- Built and tested with the Google Mobile Ads Unity Plugin version 7.0.0.
+
+#### [Version 3.0.0](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-3.0.0.zip)
+- Supports [Unity Ads Android adapter version 4.0.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-4000).
+- Supports [Unity Ads iOS adapter version 4.0.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-4000).
+
+#### [Version 2.7.2](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-2.7.2.zip)
+- Supports [Unity Ads Android adapter version 3.7.5.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-3750).
+- Supports [Unity Ads iOS adapter version 3.7.5.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-3750).
+
+#### [Version 2.7.1](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-2.7.1.zip)
+- Supports [Unity Ads Android adapter version 3.7.2.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-3720).
+- Supports [Unity Ads iOS adapter version 3.7.2.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-3720).
+
+#### [Version 2.7.0](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-2.7.0.zip)
+- Supports [Unity Ads Android adapter version 3.7.1.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-3710).
+- Supports [Unity Ads iOS adapter version 3.7.1.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-3710).
+
+#### [Version 2.6.0](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-2.6.0.zip)
+- Supports [Unity Ads Android adapter version 3.6.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-3600).
+- Supports [Unity Ads iOS adapter version 3.6.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-3600).
+
+#### [Version 2.5.1](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-2.5.1.zip)
+- Supports [Unity Ads Android adapter version 3.5.1.1](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-3511).
+- Supports [Unity Ads iOS adapter version 3.5.1.1](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-3511).
+
+#### [Version 2.5.0](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-2.5.0.zip)
+- Supports [Unity Ads Android adapter version 3.5.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-3500).
+- Supports [Unity Ads iOS adapter version 3.5.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-3500).
+
+#### [Version 2.4.7](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-2.4.7.zip)
+- Supports [Unity Ads Android adapter version 3.4.8.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-3480).
+- Supports [Unity Ads iOS adapter version 3.4.8.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-3480).
+
+#### [Version 2.4.6](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-2.4.6.zip)
+- Supports [Unity Ads Android adapter version 3.4.6.1](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-3461).
+- Supports [Unity Ads iOS adapter version 3.4.6.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-3460).
+- Publishers now have an option to use the Unity Ads Services when mediating on Unity.
+ * See the `Assets/GoogleMobileAds/Editor/UnityMediationDependencies.xml` file for additional details.
+
+#### [Version 2.4.5](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-2.4.5.zip)
+- Supports [Unity Ads Android adapter version 3.4.6.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-3460).
+- Supports [Unity Ads iOS adapter version 3.4.6.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-3460).
+
+#### [Version 2.4.4](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-2.4.4.zip)
+- Supports [Unity Ads Android adapter version 3.4.2.3](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-3423).
+- Supports [Unity Ads iOS adapter version 3.4.2.2](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-3422).
+
+#### [Version 2.4.3](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-2.4.3.zip)
+- Supports [Unity Ads Android adapter version 3.4.2.2](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-3422).
+- Supports [Unity Ads iOS adapter version 3.4.2.1](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-3421).
+
+#### [Version 2.4.2](https://dl.google.com/googleadmobadssdk/mediation/unity/unity/UnityAdsUnityAdapter-2.4.2.zip)
+- Supports [Unity Ads Android adapter version 3.4.2.1](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-3421).
+- Supports [Unity Ads iOS adapter version 3.4.2.1](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-3421).
+
+#### Version 2.4.1
+- Supports [Unity Ads Android adapter version 3.4.2.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-3420).
+- Supports [Unity Ads iOS adapter version 3.4.2.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-3420).
+
+#### Version 2.4.0
+- Supports [Unity Ads Android adapter version 3.4.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-3400).
+- Supports [Unity Ads iOS adapter version 3.4.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-3400).
+
+#### Version 2.3.0
+- Supports [Unity Ads Android adapter version 3.3.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-3300).
+- Supports [Unity Ads iOS adapter version 3.3.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-3300).
+
+#### Version 2.2.0
+- Supports [Unity Ads Android adapter version 3.2.0.1](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/unity/CHANGELOG.md#version-3201).
+- Supports [Unity Ads iOS adapter version 3.2.0.1](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/Unity/CHANGELOG.md#version-3201).
+
+#### Version 2.1.0
+- Supports Unity Ads Android adapter version 3.1.0.0.
+- Supports Unity Ads iOS adapter version 3.1.0.0.
+
+#### Version 2.0.3
+- Updated the plugin to support the new open-beta Rewarded API.
+- Adds support for Banner Ads.
+- Supports Unity Ads Android adapter version 3.0.0.2.
+- Supports Unity Ads iOS adapter version 3.0.0.3.
+
+#### Version 2.0.2
+- Supports Unity Ads Android adapter version 3.0.0.0.
+- Supports Unity Ads iOS adapter version 3.0.0.1.
+
+#### Version 2.0.1
+- Fixed an "incompatible type" error that caused issues when building for iOS.
+
+#### Version 2.0.0
+- Supports Unity Ads Android adapter version 3.0.0.0.
+- Supports Unity Ads iOS adapter version 3.0.0.0.
+
+#### Version 1.2.0
+- Supports Unity Ads Android adapter version 2.3.0.0.
+- Supports Unity Ads iOS adapter version 2.3.0.0.
+
+#### Version 1.1.3
+- Supports Unity Ads Android adapter version 2.2.1.0.
+- Supports Unity Ads iOS adapter version 2.2.1.0.
+
+#### Version 1.1.2
+- Supports Unity Ads Android SDK version 2.2.0.
+- Supports Unity Ads iOS SDK version 2.2.0.
+- Added `UnityAds.SetGdprConsentMetaData()` method to manually request a user opt-in for targeted advertising.
+
+#### Version 1.1.1
+- Supports Unity Ads Android SDK version 2.2.0.
+- Supports Unity Ads iOS SDK version 2.2.1.
+
+#### Version 1.1.0
+- Supports Unity Ads Android SDK version 2.2.0.
+- Supports Unity Ads iOS SDK version 2.2.0.
+
+#### Version 1.0.0
+- First release!
+- Supports Unity Ads Android SDK version 2.1.2.
+- Supports Unity Ads iOS SDK version 2.1.2.
diff --git a/UnityAds/CHANGELOG.md.meta b/UnityAds/CHANGELOG.md.meta
new file mode 100644
index 0000000..8e1fc54
--- /dev/null
+++ b/UnityAds/CHANGELOG.md.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 8e4fa3148331845dc863805f3f0ea0e8
+TextScriptImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/LICENSE b/UnityAds/LICENSE
new file mode 100644
index 0000000..d645695
--- /dev/null
+++ b/UnityAds/LICENSE
@@ -0,0 +1,202 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/UnityAds/LICENSE.meta b/UnityAds/LICENSE.meta
new file mode 100644
index 0000000..002c405
--- /dev/null
+++ b/UnityAds/LICENSE.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: a8fc9d8d2ada843e0944d8d24cd41097
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/README.md b/UnityAds/README.md
new file mode 100644
index 0000000..05e5e38
--- /dev/null
+++ b/UnityAds/README.md
@@ -0,0 +1,8 @@
+# Unity Ads Adapter plugin for Google Mobile Ads SDK for Unity
+
+This is a plugin to be used in conjunction with the Google Mobile Ads SDK in
+Google Play services. For requirements, instructions, and other info, see the
+[Unity Ads Adapter Integration Guide](https://developers.google.com/admob/unity/mediation/unity).
+
+See the [changelog](https://developers.google.com/admob/unity/mediation/unity#unity-ads-unity-mediation-plugin-changelog)
+to view the version history.
diff --git a/UnityAds/README.md.meta b/UnityAds/README.md.meta
new file mode 100644
index 0000000..d313f92
--- /dev/null
+++ b/UnityAds/README.md.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: bade64847b59d4b1c97bb1de72ddde03
+TextScriptImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/build.gradle b/UnityAds/build.gradle
new file mode 100644
index 0000000..064b9e0
--- /dev/null
+++ b/UnityAds/build.gradle
@@ -0,0 +1,99 @@
+/*
+* Gradle file to build a Unity package to add Unity Ads mediation support to the Google Mobile Ads Unity plugin.
+* Usage: ./gradlew exportPackage
+*/
+defaultTasks 'exportPackage'
+
+// Project level variables.
+project.ext {
+ unity_exe = System.getProperty("UNITY_EXE")
+ if (unity_exe == null || unity_exe.isEmpty()) {
+ unity_exe = System.getenv("UNITY_EXE")
+ }
+ if (unity_exe == null || unity_exe.isEmpty()) {
+ unity_exe = '/Applications/Unity/Unity.app/Contents/MacOS/Unity'
+ }
+
+ if (!file(unity_exe).exists()) {
+ throw new GradleException('Unable to locate installation of Unity. Please create a ' +
+ 'UNITY_EXE environment variable and point it to your Unity installation.')
+ }
+
+ versionString = '3.12.2'
+ adapterName = 'UnityAds'
+ pluginName = "GoogleMobileAds${adapterName}Mediation"
+ pluginFileName = "${pluginName}.unitypackage"
+ zipName = "${adapterName}UnityAdapter-${versionString}"
+ zipFileName = "${zipName}.zip"
+ pluginSource = file('source/plugin').absolutePath
+ pluginBuildDir = file('temp/plugin-build-dir').absolutePath
+ buildPath = file('temp').absolutePath
+ exportPath = file(pluginFileName).absolutePath
+}
+
+// Build unity package using through command line interface.
+// Create new unity project with files in temporary build directory and export files to a unity package.
+// Command line usage and arguments documented at http://docs.unity3d.com/Manual/CommandLineArguments.html.
+task exportPackage(type: Exec) {
+ description = "Creates and exports the Plugin unity package"
+ executable "${unity_exe}"
+ args "-g.building",
+ "-batchmode",
+ "-projectPath", "${pluginBuildDir}",
+ "-logFile", "temp/unity.log",
+ "-exportPackage",
+ "Assets/GoogleMobileAds",
+ "${exportPath}",
+ "-quit"
+
+ ignoreExitValue true
+
+ doLast {
+ if (executionResult.get().exitValue != 0) {
+ copy {
+ from "temp/"
+ into "./"
+ include "unity.log"
+ }
+ }
+ }
+}
+
+task createTempBuildFolder(type: Copy) {
+ from { "${pluginSource}" }
+ into { "${pluginBuildDir}" }
+}
+
+task clearTempBuildFolder(type: Delete) {
+ delete { "${buildPath}" }
+}
+
+exportPackage.dependsOn(createTempBuildFolder)
+exportPackage.finalizedBy(clearTempBuildFolder)
+
+/**
+ * Delete task to delete any previously generated .zip files by makeZip task.
+ * makeZip depends on this task.
+ */
+task clearZip(type: Delete) {
+ // Targets to be deleted.
+ delete(zipFileName)
+}
+
+/**
+ * Zip task to make a zip archive. This task depends on exportPackage and clearZip tasks.
+ */
+task makeZip(type: Zip) {
+ // Targets to be added to the zip archive.
+ from('./' + pluginFileName, './README.md')
+ from('./' + pluginFileName, './LICENSE')
+ // Root directory name for the zip archive.
+ into(zipName)
+ // Name of the zip archive.
+ archiveFileName = zipFileName
+ // Destination directory in which the archive needs to be saved.
+ destinationDirectory = file('.')
+}
+
+makeZip.dependsOn([clearZip, exportPackage])
+makeZip.mustRunAfter([clearZip, exportPackage])
diff --git a/UnityAds/build.gradle.meta b/UnityAds/build.gradle.meta
new file mode 100644
index 0000000..72d6b37
--- /dev/null
+++ b/UnityAds/build.gradle.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 8852b467499f9471c9786c8779e526b0
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/package.json b/UnityAds/package.json
new file mode 100644
index 0000000..0de7ec4
--- /dev/null
+++ b/UnityAds/package.json
@@ -0,0 +1,21 @@
+{
+ "name": "com.google.ads.mobile.mediation.unity",
+ "version": "3.12.1",
+ "displayName": "Google Mobile Ads Unity Ads Mediation",
+ "keywords": [
+ "Google",
+ "Mobile",
+ "Ads",
+ "vh-name:GoogleMobileAdsMediationUnity Ads",
+ "vh-name:Google Mobile Ads Unity Ads Mediation"
+ ],
+ "author": {
+ "name": "Google LLC",
+ "url": "https://github.com/googleads/googleads-mobile-unity"
+ },
+ "description": "The Google Mobile Ads mediation plugin for Unity Ads package allows you to load and display ads from Pangle using mediation, covering waterfall and bidding integrations.",
+ "unity": "2019.4",
+ "dependencies": {
+ "com.google.ads.mobile": "9.0.0"
+ }
+}
diff --git a/UnityAds/package.json.meta b/UnityAds/package.json.meta
new file mode 100644
index 0000000..0dafea0
--- /dev/null
+++ b/UnityAds/package.json.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: b1f8617ec18b44c9ead547d95b880629
+PackageManifestImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source.meta b/UnityAds/source.meta
new file mode 100644
index 0000000..211f760
--- /dev/null
+++ b/UnityAds/source.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 96a212c9b5fae49cb9d37aa39cf64e27
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin.meta b/UnityAds/source/plugin.meta
new file mode 100644
index 0000000..93efafa
--- /dev/null
+++ b/UnityAds/source/plugin.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: d7fff5e1bc15c4b399a948a4799f6283
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets.meta b/UnityAds/source/plugin/Assets.meta
new file mode 100644
index 0000000..de2310a
--- /dev/null
+++ b/UnityAds/source/plugin/Assets.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 52c9c0eb27ec14de6841f7e63676763d
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds.meta b/UnityAds/source/plugin/Assets/GoogleMobileAds.meta
new file mode 100644
index 0000000..0d5a7bf
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 098517f85d74f4815b60b7743139fe4c
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation.meta b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation.meta
new file mode 100644
index 0000000..0e0fe95
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 6131fd8c914d34454b8f8202222259ec
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds.meta b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds.meta
new file mode 100644
index 0000000..5fe0084
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 4c07314f5c8334990997951b7ff92d9b
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Api.meta b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Api.meta
new file mode 100644
index 0000000..083ef67
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Api.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: ddb08bcc3f4644dedb160ccf2ec5dbbb
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Api/GoogleMobileAds.Mediation.UnityAds.Api.asmdef b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Api/GoogleMobileAds.Mediation.UnityAds.Api.asmdef
new file mode 100644
index 0000000..49b3951
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Api/GoogleMobileAds.Mediation.UnityAds.Api.asmdef
@@ -0,0 +1,20 @@
+{
+ "name": "GoogleMobileAds.Mediation.UnityAds.Api",
+ "rootNamespace": "",
+ "references": [
+ "GoogleMobileAds.Api.Mediation",
+ "GoogleMobileAds.Mediation.UnityAds.Common",
+ "GoogleMobileAds.Mediation.UnityAds.Android",
+ "GoogleMobileAds.Mediation.UnityAds.iOS"
+ ],
+ "references": [],
+ "includePlatforms": [],
+ "excludePlatforms": [],
+ "allowUnsafeCode": false,
+ "overrideReferences": false,
+ "precompiledReferences": [],
+ "autoReferenced": true,
+ "defineConstraints": [],
+ "versionDefines": [],
+ "noEngineReferences": false
+}
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Api/GoogleMobileAds.Mediation.UnityAds.Api.asmdef.meta b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Api/GoogleMobileAds.Mediation.UnityAds.Api.asmdef.meta
new file mode 100644
index 0000000..0a9c37e
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Api/GoogleMobileAds.Mediation.UnityAds.Api.asmdef.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 86fc4e5d20f274576ac807a53a6cfce2
+AssemblyDefinitionImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Api/UnityAds.cs b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Api/UnityAds.cs
new file mode 100644
index 0000000..6e07559
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Api/UnityAds.cs
@@ -0,0 +1,42 @@
+// Copyright 2018 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+using GoogleMobileAds.Mediation.UnityAds.Common;
+
+namespace GoogleMobileAds.Mediation.UnityAds.Api
+{
+ public class UnityAds
+ {
+ internal static readonly IUnityAdsClient client =
+ UnityAdsClientFactory.CreateUnityAdsClient();
+
+ public static void SetConsentMetaData(string key, bool metaDataValue)
+ {
+ client.SetConsentMetaData(key, metaDataValue);
+ }
+ }
+}
+
+
+namespace GoogleMobileAds.Api.Mediation.UnityAds
+{
+ [System.Obsolete("Use `GoogleMobileAds.Mediation.UnityAds.Api.UnityAds` instead.")]
+ public class UnityAds
+ {
+ public static void SetConsentMetaData(string key, bool metaDataValue)
+ {
+ GoogleMobileAds.Mediation.UnityAds.Api.UnityAds.SetConsentMetaData(key, metaDataValue);
+ }
+ }
+}
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Api/UnityAds.cs.meta b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Api/UnityAds.cs.meta
new file mode 100644
index 0000000..0895c47
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Api/UnityAds.cs.meta
@@ -0,0 +1,13 @@
+fileFormatVersion: 2
+guid: c4507aa403d4b46e581efaffd089125b
+timeCreated: 1526597658
+licenseType: Pro
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Api/UnityAdsClientFactory.cs b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Api/UnityAdsClientFactory.cs
new file mode 100644
index 0000000..5f44af9
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Api/UnityAdsClientFactory.cs
@@ -0,0 +1,35 @@
+// Copyright 2018 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+using GoogleMobileAds.Mediation.UnityAds.Common;
+
+namespace GoogleMobileAds.Mediation.UnityAds
+{
+ public class UnityAdsClientFactory
+ {
+ public static IUnityAdsClient CreateUnityAdsClient()
+ {
+ #if UNITY_EDITOR
+ return new GoogleMobileAds.Mediation.UnityAds.Common.PlaceholderClient();
+ #elif UNITY_ANDROID
+ return GoogleMobileAds.Mediation.UnityAds.Android.UnityAdsClient.Instance;
+ #elif UNITY_IOS
+ return GoogleMobileAds.Mediation.UnityAds.iOS.UnityAdsClient.Instance;
+ #else
+ return new GoogleMobileAds.Mediation.UnityAds.Common.PlaceholderClient();
+ #endif
+ }
+ }
+}
+
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Api/UnityAdsClientFactory.cs.meta b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Api/UnityAdsClientFactory.cs.meta
new file mode 100644
index 0000000..6c689a5
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Api/UnityAdsClientFactory.cs.meta
@@ -0,0 +1,13 @@
+fileFormatVersion: 2
+guid: e0735edcd2cb14762811a3f496fb9ae3
+timeCreated: 1526600283
+licenseType: Pro
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Common.meta b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Common.meta
new file mode 100644
index 0000000..91edd4b
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Common.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: c5c6758820da548d9b7a9a25d65b7d5f
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Common/GoogleMobileAds.Mediation.UnityAds.Common.asmdef b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Common/GoogleMobileAds.Mediation.UnityAds.Common.asmdef
new file mode 100644
index 0000000..ad0fba8
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Common/GoogleMobileAds.Mediation.UnityAds.Common.asmdef
@@ -0,0 +1,14 @@
+{
+ "name": "GoogleMobileAds.Mediation.UnityAds.Common",
+ "rootNamespace": "",
+ "references": [],
+ "includePlatforms": [],
+ "excludePlatforms": [],
+ "allowUnsafeCode": false,
+ "overrideReferences": false,
+ "precompiledReferences": [],
+ "autoReferenced": true,
+ "defineConstraints": [],
+ "versionDefines": [],
+ "noEngineReferences": false
+}
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Common/GoogleMobileAds.Mediation.UnityAds.Common.asmdef.meta b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Common/GoogleMobileAds.Mediation.UnityAds.Common.asmdef.meta
new file mode 100644
index 0000000..3006e72
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Common/GoogleMobileAds.Mediation.UnityAds.Common.asmdef.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 9394f693c521349b193b0f6edab9d7dd
+AssemblyDefinitionImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Common/IUnityAdsClient.cs b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Common/IUnityAdsClient.cs
new file mode 100644
index 0000000..b16f32f
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Common/IUnityAdsClient.cs
@@ -0,0 +1,21 @@
+// Copyright 2018 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace GoogleMobileAds.Mediation.UnityAds.Common
+{
+ public interface IUnityAdsClient
+ {
+ void SetConsentMetaData(string key, bool metaDataValue);
+ }
+}
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Common/IUnityAdsClient.cs.meta b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Common/IUnityAdsClient.cs.meta
new file mode 100644
index 0000000..2c15e40
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Common/IUnityAdsClient.cs.meta
@@ -0,0 +1,13 @@
+fileFormatVersion: 2
+guid: 6198fac152078472d9a1e4565b028cd7
+timeCreated: 1526597908
+licenseType: Pro
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Common/PlaceholderClient.cs b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Common/PlaceholderClient.cs
new file mode 100644
index 0000000..904d47f
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Common/PlaceholderClient.cs
@@ -0,0 +1,33 @@
+// Copyright 2018 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+using System.Reflection;
+
+using UnityEngine;
+
+namespace GoogleMobileAds.Mediation.UnityAds.Common
+{
+ public class PlaceholderClient : IUnityAdsClient
+ {
+ public PlaceholderClient ()
+ {
+ Debug.Log ("Placeholder " + MethodBase.GetCurrentMethod ().Name);
+ }
+
+ public void SetConsentMetaData(string key, bool metaDataValue)
+ {
+ Debug.Log ("Placeholder " + MethodBase.GetCurrentMethod ().Name);
+ }
+ }
+}
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Common/PlaceholderClient.cs.meta b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Common/PlaceholderClient.cs.meta
new file mode 100644
index 0000000..c713185
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Common/PlaceholderClient.cs.meta
@@ -0,0 +1,13 @@
+fileFormatVersion: 2
+guid: 6a8cdf5ebecd2467eb26aaaa539246c9
+timeCreated: 1526597900
+licenseType: Pro
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Editor.meta b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Editor.meta
new file mode 100644
index 0000000..41b95ad
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Editor.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: deba49fb09c5840909176634b673ea74
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Editor/UnityMediationDependencies.xml b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Editor/UnityMediationDependencies.xml
new file mode 100644
index 0000000..6dbe312
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Editor/UnityMediationDependencies.xml
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+ https://repo.maven.apache.org/maven2/
+ https://dl.google.com/dl/android/maven2/
+
+
+
+
+
+
+ https://repo.maven.apache.org/maven2/
+
+
+
+
+
+
+
+
+
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Editor/UnityMediationDependencies.xml.meta b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Editor/UnityMediationDependencies.xml.meta
new file mode 100644
index 0000000..7a067ab
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Editor/UnityMediationDependencies.xml.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: c4d84b9dedec547b5a6e97e0d1a804c9
+TextScriptImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms.meta b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms.meta
new file mode 100644
index 0000000..e01e294
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 2ece3daf07d304630bfe929d6ff44b0d
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Android.meta b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Android.meta
new file mode 100644
index 0000000..7e67a09
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Android.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: c855340ddda014e2db66d2a15188a54f
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Android/GoogleMobileAds.Mediation.UnityAds.Android.asmdef b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Android/GoogleMobileAds.Mediation.UnityAds.Android.asmdef
new file mode 100644
index 0000000..305f021
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Android/GoogleMobileAds.Mediation.UnityAds.Android.asmdef
@@ -0,0 +1,19 @@
+{
+ "name": "GoogleMobileAds.Mediation.UnityAds.Android",
+ "rootNamespace": "",
+ "references": [
+ "GoogleMobileAds.Mediation.UnityAds.Common"
+ ],
+ "includePlatforms": [
+ "Android",
+ "Editor"
+ ],
+ "excludePlatforms": [],
+ "allowUnsafeCode": false,
+ "overrideReferences": false,
+ "precompiledReferences": [],
+ "autoReferenced": true,
+ "defineConstraints": [],
+ "versionDefines": [],
+ "noEngineReferences": false
+}
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Android/GoogleMobileAds.Mediation.UnityAds.Android.asmdef.meta b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Android/GoogleMobileAds.Mediation.UnityAds.Android.asmdef.meta
new file mode 100644
index 0000000..e36691d
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Android/GoogleMobileAds.Mediation.UnityAds.Android.asmdef.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 92810ba2910f14e8dab7dfc0537e652f
+AssemblyDefinitionImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Android/UnityAdsClient.cs b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Android/UnityAdsClient.cs
new file mode 100644
index 0000000..6d85092
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Android/UnityAdsClient.cs
@@ -0,0 +1,60 @@
+// Copyright 2018 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#if UNITY_ANDROID
+
+using UnityEngine;
+
+using GoogleMobileAds.Mediation.UnityAds.Common;
+
+namespace GoogleMobileAds.Mediation.UnityAds.Android
+{
+ public class UnityAdsClient : IUnityAdsClient
+ {
+ private const string UNITY_PLAYER_CLASS_NAME = "com.unity3d.player.UnityPlayer";
+ private const string UNITY_ADS_METADATA_CLASS_NAME = "com.unity3d.ads.metadata.MetaData";
+
+ private static UnityAdsClient instance = new UnityAdsClient();
+ private UnityAdsClient() { }
+
+ public static UnityAdsClient Instance
+ {
+ get
+ {
+ return instance;
+ }
+ }
+
+ public void SetConsentMetaData(string key, bool metaDataValue)
+ {
+ AndroidJavaClass unityPlayer = new AndroidJavaClass(UNITY_PLAYER_CLASS_NAME);
+ AndroidJavaObject currentActivity =
+ unityPlayer.GetStatic ("currentActivity");
+
+ AndroidJavaObject unityAdsMetaData =
+ new AndroidJavaObject(UNITY_ADS_METADATA_CLASS_NAME, currentActivity);
+ bool success = unityAdsMetaData.Call("set", key, metaDataValue);
+ if (success)
+ {
+ unityAdsMetaData.Call("commit");
+ }
+ else
+ {
+ MonoBehaviour.print("[UnityAds Plugin] Failed to update consent MetaData.");
+ }
+ }
+ }
+}
+
+#endif
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Android/UnityAdsClient.cs.meta b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Android/UnityAdsClient.cs.meta
new file mode 100644
index 0000000..cc7be36
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Android/UnityAdsClient.cs.meta
@@ -0,0 +1,13 @@
+fileFormatVersion: 2
+guid: c98936878987344338357027692b2499
+timeCreated: 1526600283
+licenseType: Pro
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Mediation.meta b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Mediation.meta
new file mode 100644
index 0000000..5a05796
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Mediation.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: b6ab1f91bc8f9422db41f5f83a528a70
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS.meta b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS.meta
new file mode 100644
index 0000000..146965f
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 1ec827bf20987408b9536a58b2921a0e
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/Externs.cs b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/Externs.cs
new file mode 100644
index 0000000..824dd46
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/Externs.cs
@@ -0,0 +1,29 @@
+// Copyright 2018 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#if UNITY_IOS
+
+using System.Runtime.InteropServices;
+
+namespace GoogleMobileAds.Mediation.UnityAds.iOS
+{
+ // Externs used by the iOS component
+ internal class Externs
+ {
+ [DllImport("__Internal")]
+ internal static extern void GADUMSetConsentMetaData(string key, bool metaDataValue);
+ }
+}
+
+#endif
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/Externs.cs.meta b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/Externs.cs.meta
new file mode 100644
index 0000000..f573dc0
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/Externs.cs.meta
@@ -0,0 +1,13 @@
+fileFormatVersion: 2
+guid: cec7e68a8408c45218e12932e45d8c60
+timeCreated: 1526600283
+licenseType: Pro
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/GoogleMobileAds.Mediation.UnityAds.iOS.asmdef b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/GoogleMobileAds.Mediation.UnityAds.iOS.asmdef
new file mode 100644
index 0000000..d914ba0
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/GoogleMobileAds.Mediation.UnityAds.iOS.asmdef
@@ -0,0 +1,19 @@
+{
+ "name": "GoogleMobileAds.Mediation.UnityAds.iOS",
+ "rootNamespace": "",
+ "references": [
+ "GoogleMobileAds.Mediation.UnityAds.Common"
+ ],
+ "includePlatforms": [
+ "Editor",
+ "iOS"
+ ],
+ "excludePlatforms": [],
+ "allowUnsafeCode": false,
+ "overrideReferences": false,
+ "precompiledReferences": [],
+ "autoReferenced": true,
+ "defineConstraints": [],
+ "versionDefines": [],
+ "noEngineReferences": false
+}
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/GoogleMobileAds.Mediation.UnityAds.iOS.asmdef.meta b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/GoogleMobileAds.Mediation.UnityAds.iOS.asmdef.meta
new file mode 100644
index 0000000..263edbd
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/GoogleMobileAds.Mediation.UnityAds.iOS.asmdef.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: eaf70d0758c7f4fc7bf1eda4be97c072
+AssemblyDefinitionImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/UnityAdsClient.cs b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/UnityAdsClient.cs
new file mode 100644
index 0000000..1219af9
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/UnityAdsClient.cs
@@ -0,0 +1,41 @@
+// Copyright 2018 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#if UNITY_IOS
+
+using GoogleMobileAds.Mediation.UnityAds.Common;
+
+namespace GoogleMobileAds.Mediation.UnityAds.iOS
+{
+ public class UnityAdsClient : IUnityAdsClient
+ {
+ private static UnityAdsClient instance = new UnityAdsClient();
+ private UnityAdsClient() {}
+
+ public static UnityAdsClient Instance
+ {
+ get
+ {
+ return instance;
+ }
+ }
+
+ public void SetConsentMetaData(string key, bool metaDataValue)
+ {
+ Externs.GADUMSetConsentMetaData(key, metaDataValue);
+ }
+ }
+}
+
+#endif
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/UnityAdsClient.cs.meta b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/UnityAdsClient.cs.meta
new file mode 100644
index 0000000..30be6a1
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/UnityAdsClient.cs.meta
@@ -0,0 +1,13 @@
+fileFormatVersion: 2
+guid: ec9b8664065c14666a1737bc05fa2bc0
+timeCreated: 1526600283
+licenseType: Pro
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Plugins.meta b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Plugins.meta
new file mode 100644
index 0000000..31645fd
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Plugins.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: a8d7eed8311a94ef698998d7aa08646c
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Plugins/iOS.meta b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Plugins/iOS.meta
new file mode 100644
index 0000000..ef44d33
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Plugins/iOS.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 9acd492b6fd4a4363bdb52c9ee4d15b2
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Plugins/iOS/GADUMUnityAdsInterface.m b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Plugins/iOS/GADUMUnityAdsInterface.m
new file mode 100644
index 0000000..47f0ba7
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Plugins/iOS/GADUMUnityAdsInterface.m
@@ -0,0 +1,21 @@
+// Copyright 2018 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import
+
+void GADUMSetConsentMetaData(const char* key, BOOL consent) {
+ UADSMetaData* unityAdsMetaData = [[UADSMetaData alloc] init];
+ [unityAdsMetaData set:@(key) value:@(consent)];
+ [unityAdsMetaData commit];
+}
diff --git a/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Plugins/iOS/GADUMUnityAdsInterface.m.meta b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Plugins/iOS/GADUMUnityAdsInterface.m.meta
new file mode 100644
index 0000000..24898a8
--- /dev/null
+++ b/UnityAds/source/plugin/Assets/GoogleMobileAds/Mediation/UnityAds/Plugins/iOS/GADUMUnityAdsInterface.m.meta
@@ -0,0 +1,31 @@
+fileFormatVersion: 2
+guid: 8d905e1f5a0d04ed281ce21e5d30f838
+timeCreated: 1526600286
+licenseType: Pro
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ isPreloaded: 0
+ isOverridable: 0
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 0
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ - first:
+ iPhone: iOS
+ second:
+ enabled: 1
+ settings: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant: