Basic Info

What is common with these ad platforms?
Each application is offered a unique id which needs to be specified during development.

What is publishing?
Publishing allows the developer to display (publish) ads on the native application.

What is CPM?
Impressions per thousand. Normally ad networks pays $1 for every 1000 CPM. So you need 1000 page views (not clicks) to earn a buck.

What is the fillrate?
The percentage of impressions served based on total requests for ads. This is number to look for when you get blank ads. How many of my clients gets an ad impression? I had 60%

What is the Click Through Rate (CTR)?
Out of 60% of my clients who had ad impressions, 6.18% of them clicked the ad. The more they get clicked, the higher your revenue.

Admob

Offers both publishing and analytics. Currently offers both iPhone and Android. Able to publish ads for native app and mobile websites. This is my preferred ad network of choice as it is easier to setup than the others. And just recently, it was swallowed by Google, whether that is good or bad for us, we have yet to know.

AdMob Iphone SDK Integration

  1. After signing up/registering to Admob you need to add your application in “Sites & Apps” tab (2nd tab from the left).

  2. Click on “Add Site/App” and you would be presented with what kind of site or app type (Mobile Web, Iphone App, Iphone Web and Android App). Select “Iphone App” and fill out the details..

  3. If you go to “Sites & Apps”, there’s a link “Setup” just under the Quick Links. You could download a sample AdMob application there wherein your publisherId is already built-in. Here’s a sample (admob_iphone_sdk_20091119.tar.gz). Note that AdMob upgrade their code, notice the dates (20091119)? So it’s good practice to read the CHANGELOG.

  4. Note your publisherId.

#pragma mark Admob delegate methods
- (NSString *)publisherId {
	return @"a14ac98028663b0"; // bayanihan
}
  1. Make the sample application from AdMob run first before integrating your app.
// To receive test ads rather than real ads...
- (BOOL)useTestAd {
	return YES; //change this to NO later..
}
  1. Normally, the problems/quirks I experience when integrating a 3rd Party Project are framework references. So, here’s mine:

admob_frameworks.png

Note: As of ver 20091119, I added MessageUI.framework, AudioToolbox.framework, MediaPlayer.framework. Prior to that build (200906xx), I don’t have those. If you are compiling against iPhoneOS version 3, then you would need to reference libAdMObDevice3_0.a and libAdMobSimulator3_0.a (to run it in the simulator–but you would take this reference off when making an actual build)

admob-iphoneos3.png

  1. Now, that both the testAd (YES) is working, it might take you a few hours before the real ad comes in. Be patient. :)

  2. Integrate to your project. AdMob provided detailed examples on how to integrate depending on your needs–Interface Builder (IB), Programmatically or TableView. Personally, I have used both IB and TableView and it works flawlessly.

  3. I dont get an ad? I get an Ad? Which one? Check out the AdMobDelegate Methods.

- (void)didReceiveAd:(AdMobView *)adView {
	NSLog(@"AdMob: Did receive ad");
}
 
- (void)didFailToReceiveAd:(AdMobView *)adView {
	NSLog(@"AdMob: Did fail to receive ad");
 
	//[self createMobclix];
	//[bannerCell setNeedsLayout];
}
  1. Now once you have AdMob going, you want to be more efficient and get higher fill rates. You can checkout other Ad Platforms (Mobclix, Adwhirl). Notice on step 9 above, that if I don’t get an ad from AdMob, I fire up an add from MobClix.