AdMediator is a project mainly written in ..., it's free.
AdMediator implements an Ad Banner mediation layer for Apple iAds and Google AdMob mobile ads for iPhone. iAd's are deemed as priority and will swap in AdMob ads if no iAds are available.
Include the source files into your xcode project, the following files are required.
Include the AdMob SDK source files from the AdMob website
Include following Frameworks required for AdMob
Include following Frameworks required for iAds
Create a GCC_PREPROCESSOR_DEFINITIONS called FREE_VERSION in your xcode target, this will indicate that your app is a free version and ads will be enabled.
Configure constant values in AdMediatorConfig.m to configure the AdMediator behavior specific to your needs
Logging can be turned on or off in AdMediatorConfig.h to enable debug logging
Modify your UIViewController class to extend AdMediator
Create a new view in your ViewController's XIB file (or programatically) where the rest of your user interface objects would be placed in, link this view to "contentView" that is defined in AdMediator class. The contentView size will be adjusted when the Ad Banners need to be displayed.
That should be it, run the app.