Google Mobile ads integration

Warning: we are not related for proper work of this plugin

Installation

Setup

  1. Go to your Google Mobile Ads account https://apps.admob.comarrow-up-right

  2. Add new app to monetise. Helparrow-up-right

  3. Copy app id and ads id and past it into Ads settingsarrow-up-right to Admob Android or iOS profile

  4. Put your app id to Assets > Google Mobile Ads > Settings

5. Put your ID to the ads settings of the game template

Google mobile ads (admob) supportarrow-up-right

Troubleshooting

  1. If you cannot see your ad use Sample ad unitsarrow-up-right to test it Sometimes it requires a couple of days to activate your new ad if you need more info please contact Google supportarrow-up-right

  2. Android building problem. Try this

  3. Delete GoogleMobileAds and Plugins/Android/GoogleMobileAdsPlugin folders and reimport it

  4. If you have Gradle building problem try this For Win to clear the .gradle folder inside my %Userfolder% For Mac you can run rm -rf $HOME/.gradle/caches/ in terminal

  5. If you use Admob and Chartboost at the same time you should delete Plugins/Android/ChartboostSDK/android-support-v4.jar

  6. If you able to see test ads but can’t see real ads

    1. Try to change package id.

    2. Try to publish the game

    3. As far as you able to see test ads google says problem can be only in particular admob account, package or adUnit id

  7. If you have problems with building for android:

Make sure you haven’t support libraries twice, delete the libraries (marked with red line)

Last updated