Ad Mob

nationalmobileapps 494 views 14 slides Oct 01, 2014
Slide 1
Slide 1 of 14
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14

About This Presentation

National Mobile Application Awareness Development & Capacity Building Program (Android Slides)


Slide Content

Build a great app business with AdMob Android application development

figure 1. Showing where you can find your Publisher ID

Requirements

Add and reference the Google Play services library project

Add Meta Data Tag

Declare com.google.android.gms.ads.AdActivity

Set up network permissions

Adding a com.google.android.gms.ads.AdView Android apps are composed of View objects, which are Java instances the user sees as text areas, buttons and other controls. AdView is simply another View subclass displaying small HTML5 ads that respond to user touch. Like any View, an AdView may be created either purely in code or largely in XML . The five lines of code it takes to add a banner: Import com.google.android.gms.ads .* Declare an AdView instance Create it, specifying the ad unit ID Add the view to the UI Load it with an ad The easiest place to do all this is in your app's Activity.

Result

Banner Options

Download an example project https://google-mobile-dev.googlecode.com/files/BannerExample_Play_1.0.zip

Thank You.
Tags