Problem Integrating Microsoft Ads

Hi, I’m Trying to use Banner ad on UWP Unity Project, I Built and exporting UWP solution from unity to visual studio, and then on visual studio i added reference to Microsoft Advertising SDK for XAML but i noticed that the UWP VS Solution created by unity does not have main.xaml in VS solution explorer. when i try to add a xaml object to the project it wouldn’t do anything not even get initialized on runtime…

I’m trying to implement banner ad from this tutorial: Microsoft Advertising SDK - Visual Studio Marketplace

In the Build Settings window (for UWP), you need to change the Project Type from “D3D Project” to “XAML Project”. This will provide the MainPage.xaml and App.xaml files in VS Solution.

Note that you need to build your XAML project to a different output folder; you’ll get a build error otherwise.

Thank you sir,
After I done this a new issue I’m encountering is

“kernelbase.pdb not loaded” right after running the project on VS, I will research this problem

That’s not an error.

HI before unity 2019 i was using .net build for uwp projects and implement the adds in visual build and call the function through callbacks from unity now i make the build with il2cpp build kindly me how i can implement the ads?