Depending on which platform you are looking for, there are various implementations. You can use a purely web-based approach (for example, integrate Google Ads). Given that you marked his iPhone, I think you're looking for an iOS solution?
If so, check out AdPlugin available on GitHub. This is a bit objective C and a bit of JavaScript that allows you to integrate your own iAds into your phonegap-iphone application.
fil maj
source share