The link above offers a good start for objective-c apps but leaves a gap when trying to add admob to a cocos2d-x project. Where is the best place to add the AdMob code?
I think Pocket Dinosaurs and Flying turtle have succeeded in this case on android.
It’s easier on iOS, please reference to CocosDenshion, you can learn how to wrap objc interfaces to c++ in it.