dotnet / android-samples

A collection of .NET for Android sample projects
https://dotnet.microsoft.com/apps/mobile
MIT License
2.21k stars 4.05k forks source link

Where to add the App ID #305

Closed ivanh23 closed 5 months ago

ivanh23 commented 5 years ago

Hello , i am new to Xamarin and in this example i dont see where can i add my App ID from AdMob , i know where to add the Banner ID .

cheles commented 4 years ago

Although this request is old, App ID should from AdMob goes into Main Activity: MobileAds.Initialize(ApplicationContext, "YOUR APP ID HERE FROM AdMob, has a ~ in it"); Check this blog on how to do it.

DonGlover commented 4 years ago

My sample shows another way to approach it. https://github.com/DonGlover/DonGlover-AdMobSample