Notice: Before you start, it is suggested to update Unity to the latest version.
(Skip to Part 2 if you already have Windows 10 Visual Studio Project Built.)
Firstly, we have to create a development build of the project we're working on.
In Unity press Shift+Control+B or go to File > Build settings.
If you didn't select Windows Store as your build platform yet then:
1. Select it from the platform list.
2. Press Switch Platform button.
Then you have to:
3. Select Universal 10 as your SDK.
4. Enable Development build checkbox.
5. Press Build or Build And Run button.
After all, Unity will build a Windows 10 Visual Studio solution of your Unity project.
Now you have to open Visual Studio solution from the build location you have selected.
• After solution is loaded you have to enable Internet (Client) Capability in your Package.appxmanifest configuration, Capabilities tab. (It is not enabled by default)
• Add AdDuplex Win10 SDK via NuGet installer or use PM> Install-Package AdDuplexWin10 in Package Manager Console. (Tools > Nuget Package Manager > Manager NuGet Packages for Solution or Package Manager Console)
• Add AdDuplex namespace xmlns:ad="using:AdDuplex" to your MainPage.xaml.
• Finally, add the ad control (<ad:AdControl AdUnitId="YourAdUnitId"/>).
• Build and run the solution and test the AdDuplex ad. See if it is correctly shown and not covered by any other objects.
If you have any questions or need any help with AdDuplex implementation in Windows 10 Unity project, please contact us at firstname.lastname@example.org.