diff --git a/com.adsbynimbus.nimbus/Editor/SkaAdNetworkEditor.cs b/com.adsbynimbus.nimbus/Editor/SkaAdNetworkEditor.cs index 15f3a73c..eca38176 100644 --- a/com.adsbynimbus.nimbus/Editor/SkaAdNetworkEditor.cs +++ b/com.adsbynimbus.nimbus/Editor/SkaAdNetworkEditor.cs @@ -11,7 +11,7 @@ namespace Nimbus.Editor { public class SkaAdNetworkEditor : EditorWindow { - public const string SkaAdSavePath = "Packages/com.adsbynimbus.nimbus/Runtime/Plugins/iOS/SKAdNetworks"; + public const string SkaAdSavePath = "Assets/Editor/SKAdNetworks"; public const string SkaKey = "SKAdNetworkItems"; public const string SkaItem = "SKAdNetworkIdentifier"; diff --git a/com.adsbynimbus.nimbus/Runtime/Plugins/iOS/NimbusManager.swift b/com.adsbynimbus.nimbus/Runtime/Plugins/iOS/NimbusManager.swift index 5bad31ba..8e422c76 100644 --- a/com.adsbynimbus.nimbus/Runtime/Plugins/iOS/NimbusManager.swift +++ b/com.adsbynimbus.nimbus/Runtime/Plugins/iOS/NimbusManager.swift @@ -12,6 +12,7 @@ import NimbusRenderVideoKit import NimbusKit #if NIMBUS_ENABLE_APS import NimbusRequestAPSKit +import DTBiOSSDK #endif #if NIMBUS_ENABLE_VUNGLE import VungleAdsSDK @@ -62,7 +63,8 @@ import NimbusSDK #if NIMBUS_ENABLE_APS @objc public class func initializeAPSRequestHelper(appKey: String, timeoutInSeconds: Double, enableTestMode: Bool) { - apsRequestHelper = NimbusAPSRequestHelper(appKey: appKey, timeoutInSeconds: timeoutInSeconds, enableTestMode: enableTestMode) + apsRequestHelper = NimbusAPSRequestHelper(appKey: appKey, timeoutInSeconds: timeoutInSeconds) + DTBAds.sharedInstance().testMode = enableTestMode } @objc public class func addAPSSlot(slotUUID: String, width: Int, height: Int, isVideo: Bool) { diff --git a/com.adsbynimbus.nimbus/Runtime/Scripts/Nimbus.Internal/IOS.cs b/com.adsbynimbus.nimbus/Runtime/Scripts/Nimbus.Internal/IOS.cs index b3dba423..d95697ee 100644 --- a/com.adsbynimbus.nimbus/Runtime/Scripts/Nimbus.Internal/IOS.cs +++ b/com.adsbynimbus.nimbus/Runtime/Scripts/Nimbus.Internal/IOS.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.Runtime.InteropServices; using Nimbus.Internal.Interceptor; +using Nimbus.Internal.Interceptor.ThirdPartyDemand.APS; using Nimbus.Internal.Interceptor.ThirdPartyDemand.Vungle; using Nimbus.ScriptableObjects; using OpenRTB.Enumerations; diff --git a/com.adsbynimbus.nimbus/Runtime/Scripts/Nimbus.Tests/InterceptorTest.cs b/com.adsbynimbus.nimbus/Runtime/Scripts/Nimbus.Tests/InterceptorTest.cs index d52291a9..90581193 100644 --- a/com.adsbynimbus.nimbus/Runtime/Scripts/Nimbus.Tests/InterceptorTest.cs +++ b/com.adsbynimbus.nimbus/Runtime/Scripts/Nimbus.Tests/InterceptorTest.cs @@ -4,6 +4,9 @@ using Nimbus.Internal; using Nimbus.Internal.Interceptor; using Nimbus.Internal.Interceptor.ThirdPartyDemand; +#if UNITY_IOS +using Nimbus.Internal.Interceptor.ThirdPartyDemand.APS; +#endif using NUnit.Framework; using OpenRTB.Request; diff --git a/sample-app/Assets/Editor/SKAdNetworks b/sample-app/Assets/Editor/SKAdNetworks new file mode 100644 index 00000000..044ee22d --- /dev/null +++ b/sample-app/Assets/Editor/SKAdNetworks @@ -0,0 +1,50 @@ +cstr6suwn9.skadnetwork +4fzdc2evr5.skadnetwork +4pfyvq9l8r.skadnetwork +2fnua5tdw4.skadnetwork +ydx93a7ass.skadnetwork +5a6flpkh64.skadnetwork +p78axxw29g.skadnetwork +v72qych5uu.skadnetwork +ludvb6z3bs.skadnetwork +cp8zw746q7.skadnetwork +c6k4g5qg8m.skadnetwork +s39g8k73mm.skadnetwork +3qy4746246.skadnetwork +3sh42y64q3.skadnetwork +f38h382jlk.skadnetwork +hs6bdukanm.skadnetwork +prcb7njmu6.skadnetwork +v4nxqhlyqp.skadnetwork +wzmmz9fp6w.skadnetwork +yclnxrl5pm.skadnetwork +t38b2kh725.skadnetwork +7ug5zh24hu.skadnetwork +9rd848q2bz.skadnetwork +y5ghdn5j9k.skadnetwork +n6fk4nfna4.skadnetwork +v9wttpbfk9.skadnetwork +n38lu8286q.skadnetwork +47vhws6wlr.skadnetwork +kbd757ywx3.skadnetwork +9t245vhmpl.skadnetwork +a2p9lx4jpn.skadnetwork +22mmun2rn5.skadnetwork +4468km3ulz.skadnetwork +2u9pt9hc89.skadnetwork +8s468mfl3y.skadnetwork +av6w8kgt66.skadnetwork +klf5c3l5u5.skadnetwork +ppxm28t8ap.skadnetwork +424m5254lk.skadnetwork +ecpz2srf59.skadnetwork +uw77j35x4d.skadnetwork +mlmmfzh3r3.skadnetwork +578prtvx9j.skadnetwork +4dzt52r2t5.skadnetwork +gta9lk7p23.skadnetwork +e5fvkxwrpn.skadnetwork +8c4e2ghe7u.skadnetwork +zq492l623r.skadnetwork +3rd42ekr43.skadnetwork +3qcr597p9d.skadnetwork