marcojak / MTAdmob

Admob plugin for Xamarin Android and iOS
https://www.xamarinexpert.it/admob-made-easy/
160 stars 26 forks source link

Android Application_Id #1

Closed K232 closed 5 years ago

K232 commented 5 years ago

I'm trying to add your package to my app. According to your description, I need to add this line to AndroidManifest:

 <meta-data android:name="com.google.android.gms.ads.APPLICATION_ID"
            android:value="ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyy"/>

The ca-app-pub is probably the same as I entered already in MobileAds.Initialize, but what is the APPLICATION_ID ? I also checked your Sample AndroidManifest.xml but did not find the key there?

marcojak commented 5 years ago

Hi, This help will tell you hoe to get the APP Id of your apps: https://support.google.com/admob/answer/7356431?hl=en

You don't have to change this line: com.google.android.gms.ads.APPLICATION_ID You have just to insert the correct Android:value

I hope this helps you, otherwise let me know.