diff --git a/Forest/Assets/GoogleMobileAds/Mediation.meta b/Forest/Assets/GoogleMobileAds/Mediation.meta
new file mode 100644
index 0000000..e8abb0b
--- /dev/null
+++ b/Forest/Assets/GoogleMobileAds/Mediation.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 65352826fdec54240ae3a3823d497c2c
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Forest/Assets/GoogleMobileAds/Mediation/MetaAudienceNetwork.meta b/Forest/Assets/GoogleMobileAds/Mediation/MetaAudienceNetwork.meta
new file mode 100644
index 0000000..330c5e8
--- /dev/null
+++ b/Forest/Assets/GoogleMobileAds/Mediation/MetaAudienceNetwork.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 225389cc07c074a6abce35c18707f4c4
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Forest/Assets/GoogleMobileAds/Mediation/MetaAudienceNetwork/Editor.meta b/Forest/Assets/GoogleMobileAds/Mediation/MetaAudienceNetwork/Editor.meta
new file mode 100644
index 0000000..4c87f4f
--- /dev/null
+++ b/Forest/Assets/GoogleMobileAds/Mediation/MetaAudienceNetwork/Editor.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 3c91dfc0387ca4d9f8feaae12e773aff
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Forest/Assets/GoogleMobileAds/Mediation/MetaAudienceNetwork/Editor/MetaAudienceNetworkMediationDependencies.xml b/Forest/Assets/GoogleMobileAds/Mediation/MetaAudienceNetwork/Editor/MetaAudienceNetworkMediationDependencies.xml
new file mode 100644
index 0000000..82a1865
--- /dev/null
+++ b/Forest/Assets/GoogleMobileAds/Mediation/MetaAudienceNetwork/Editor/MetaAudienceNetworkMediationDependencies.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+ https://repo.maven.apache.org/maven2/
+ https://dl.google.com/dl/android/maven2/
+
+
+
+
+
+
+
+
diff --git a/Forest/Assets/GoogleMobileAds/Mediation/MetaAudienceNetwork/Editor/MetaAudienceNetworkMediationDependencies.xml.meta b/Forest/Assets/GoogleMobileAds/Mediation/MetaAudienceNetwork/Editor/MetaAudienceNetworkMediationDependencies.xml.meta
new file mode 100644
index 0000000..d3e1ca2
--- /dev/null
+++ b/Forest/Assets/GoogleMobileAds/Mediation/MetaAudienceNetwork/Editor/MetaAudienceNetworkMediationDependencies.xml.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 003a66f8ca8eb45498267392d638f4e2
+TextScriptImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Forest/Assets/GoogleMobileAds/Mediation/UnityAds.meta b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds.meta
new file mode 100644
index 0000000..81a2045
--- /dev/null
+++ b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: a7d31de17eeeb444393739d807fbdf0a
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Api.meta b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Api.meta
new file mode 100644
index 0000000..6a2e0ea
--- /dev/null
+++ b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Api.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: fa7eb7d76bbd540539c97af33232bf2f
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Api/UnityAds.cs b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Api/UnityAds.cs
new file mode 100644
index 0000000..4ce18cf
--- /dev/null
+++ b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Api/UnityAds.cs
@@ -0,0 +1,45 @@
+// 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 UnityEngine;
+
+using GoogleMobileAds.Mediation.UnityAds;
+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/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Api/UnityAds.cs.meta b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Api/UnityAds.cs.meta
new file mode 100644
index 0000000..0895c47
--- /dev/null
+++ b/Forest/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/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Common.meta b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Common.meta
new file mode 100644
index 0000000..a6c1ad5
--- /dev/null
+++ b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Common.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 46de7dd7a88394a9d91723791341509e
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Common/DummyClient.cs b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Common/DummyClient.cs
new file mode 100644
index 0000000..bd5eb2d
--- /dev/null
+++ b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Common/DummyClient.cs
@@ -0,0 +1,34 @@
+// 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;
+using System.Reflection;
+
+using UnityEngine;
+
+namespace GoogleMobileAds.Mediation.UnityAds.Common
+{
+ public class DummyClient : IUnityAdsClient
+ {
+ public DummyClient ()
+ {
+ Debug.Log ("Dummy " + MethodBase.GetCurrentMethod ().Name);
+ }
+
+ public void SetConsentMetaData(string key, bool metaDataValue)
+ {
+ Debug.Log ("Dummy " + MethodBase.GetCurrentMethod ().Name);
+ }
+ }
+}
diff --git a/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Common/DummyClient.cs.meta b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Common/DummyClient.cs.meta
new file mode 100644
index 0000000..c713185
--- /dev/null
+++ b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Common/DummyClient.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/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Common/IUnityAdsClient.cs b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Common/IUnityAdsClient.cs
new file mode 100644
index 0000000..1733e89
--- /dev/null
+++ b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Common/IUnityAdsClient.cs
@@ -0,0 +1,23 @@
+// 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;
+
+namespace GoogleMobileAds.Mediation.UnityAds.Common
+{
+ public interface IUnityAdsClient
+ {
+ void SetConsentMetaData(string key, bool metaDataValue);
+ }
+}
diff --git a/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Common/IUnityAdsClient.cs.meta b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Common/IUnityAdsClient.cs.meta
new file mode 100644
index 0000000..2c15e40
--- /dev/null
+++ b/Forest/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/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Editor.meta b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Editor.meta
new file mode 100644
index 0000000..ff66708
--- /dev/null
+++ b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Editor.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: a6ed2fd8b6a88400cb0a84d409e566b1
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Editor/UnityMediationDependencies.xml b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Editor/UnityMediationDependencies.xml
new file mode 100644
index 0000000..2276cce
--- /dev/null
+++ b/Forest/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/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Editor/UnityMediationDependencies.xml.meta b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Editor/UnityMediationDependencies.xml.meta
new file mode 100644
index 0000000..2174bec
--- /dev/null
+++ b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Editor/UnityMediationDependencies.xml.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: faff02429033e4718b69e106ace6ca8a
+TextScriptImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms.meta b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms.meta
new file mode 100644
index 0000000..fb6337b
--- /dev/null
+++ b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 60e9c3a7a4cea4a24aa0585acc95bee4
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Android.meta b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Android.meta
new file mode 100644
index 0000000..fea1fe6
--- /dev/null
+++ b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Android.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: d2307a6125bb246e8b78bf7f81aaeaed
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Android/UnityAdsClient.cs b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Android/UnityAdsClient.cs
new file mode 100644
index 0000000..c5dbc48
--- /dev/null
+++ b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Android/UnityAdsClient.cs
@@ -0,0 +1,61 @@
+// 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 System.Reflection;
+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/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Android/UnityAdsClient.cs.meta b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Android/UnityAdsClient.cs.meta
new file mode 100644
index 0000000..cc7be36
--- /dev/null
+++ b/Forest/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/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Mediation.meta b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Mediation.meta
new file mode 100644
index 0000000..18577e6
--- /dev/null
+++ b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Mediation.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: aea78a7e2c0464e90852553cb5f0e8aa
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Mediation/UnityAdsClientFactory.cs b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Mediation/UnityAdsClientFactory.cs
new file mode 100644
index 0000000..f6e07ff
--- /dev/null
+++ b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Mediation/UnityAdsClientFactory.cs
@@ -0,0 +1,38 @@
+// 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;
+using UnityEngine;
+
+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.DummyClient();
+ #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.DummyClient();
+ #endif
+ }
+ }
+}
+
diff --git a/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Mediation/UnityAdsClientFactory.cs.meta b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Mediation/UnityAdsClientFactory.cs.meta
new file mode 100644
index 0000000..6c689a5
--- /dev/null
+++ b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/Mediation/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/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS.meta b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS.meta
new file mode 100644
index 0000000..a99ee3d
--- /dev/null
+++ b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: f90aaa0800c074971b15b3b035f0f2a7
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/Externs.cs b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/Externs.cs
new file mode 100644
index 0000000..57c3cc4
--- /dev/null
+++ b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/Externs.cs
@@ -0,0 +1,30 @@
+// 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;
+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/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/Externs.cs.meta b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/Externs.cs.meta
new file mode 100644
index 0000000..f573dc0
--- /dev/null
+++ b/Forest/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/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/UnityAdsClient.cs b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/UnityAdsClient.cs
new file mode 100644
index 0000000..e2f9959
--- /dev/null
+++ b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/UnityAdsClient.cs
@@ -0,0 +1,43 @@
+// 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 UnityEngine;
+
+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/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/UnityAdsClient.cs.meta b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Platforms/iOS/UnityAdsClient.cs.meta
new file mode 100644
index 0000000..30be6a1
--- /dev/null
+++ b/Forest/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/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Plugins.meta b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Plugins.meta
new file mode 100644
index 0000000..3552184
--- /dev/null
+++ b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Plugins.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: ef1575cc6ad814c9fa4772b4247016ca
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Plugins/iOS.meta b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Plugins/iOS.meta
new file mode 100644
index 0000000..85a7cfe
--- /dev/null
+++ b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Plugins/iOS.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: e05e89399536641ffadb6e04e466784a
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Plugins/iOS/GADUMUnityAdsInterface.m b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Plugins/iOS/GADUMUnityAdsInterface.m
new file mode 100644
index 0000000..47f0ba7
--- /dev/null
+++ b/Forest/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/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Plugins/iOS/GADUMUnityAdsInterface.m.meta b/Forest/Assets/GoogleMobileAds/Mediation/UnityAds/Plugins/iOS/GADUMUnityAdsInterface.m.meta
new file mode 100644
index 0000000..24898a8
--- /dev/null
+++ b/Forest/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: