How to implement in-app purchases and in-game ads for mobile

hello all
I like to build simple mobile ios/android game . i want to support in game ads and in app purchases
from your experience what extensions or frameworks should i use ?
thanks

We have this documented in the official manuals: