Is It Possible To Implement In-App Purchases And Rewarded Ads?

Hello everyone,

I am looking forward to publishing my game on Google Play. I was wondering if I can implement in-app purchases and rewarded ads in my game. I searched it on the Internet and the sources are a bit old and some people say they got error while doing this. Is it possible to implement this? (Tutorial links would be great)

EDIT: I will only use Admob rewarded ads