This video will help Windows 10 UWP (Universal Windows Platform) developers to add Microsoft advertising ads in their applications and generate revenue.
How to add Microsoft ads in your windows app
UWP – WinJS/C#
Must have developer account at Microsoft
Create ad unit in dev center for an app.
Download SDK : https://marketplace.visualstudio.com/items?itemName=AdMediator.MicrosoftStoreServicesSDK
Add reference
Copy Code : https://msdn.microsoft.com/en-us/windows/uwp/monetize/adcontrol-in-html-5-and-javascript
Replace applicationId and adUnitId with production values.
Suggested height and width: https://msdn.microsoft.com/en-us/windows/uwp/monetize/supported-ad-sizes-for-banner-ads
test ads: https://msdn.microsoft.com/en-us/windows/uwp/monetize/test-mode-values
Leave A Comment