phonegap has to work with Iads but IAP will only work if your game is imported to the appstore or the google play store, because you need to input some codes in it etc. check the forum of the IAP plugin to learn more about it, but Iads has to work.
Niek