First if using Android Studio be sure to import Google Play services by going to the Project Structure and importing the Google Play services.

In Eclipse be sure to reference the library inside of the project properties..


Steps to get Admob Ads Working for Android

1. Open the AndroidManifest.xml

Add the following activity at the bottom of the file before </application>

2. Decide which plugin that you would like to show the banner. In my case I used the BT_screen_customHTML plugin

Open the .java file

3. Import the following lines


4. Go to this line:

View thisScreensView = inflater.inflate(R.layout.bt_screen_customhtml, container, false);

5. Below this line add the following code:

6. Go to the Res/Layout Folder and find the XML file for this plugin. In my case it is:


7. Confirm that the header for the xml file is:

8. Below the </LinearLayout> add the following code:

9. Replace the adUnitID with your id

10. Clean, build and view your ads 🙂