Here I share my experience to bring AdMob Rewarded Video Ad into my apps. This kind of app works well because users will watch the ads completely to get rewarded, for example to get virtual coins, gems, etc.

You must have your own ad ID from AdMob and replace this line below (in MainActivity) with your own:

I’m using Android Studio. First, you must add this line into gradle dependencies:

Then, make sure you put these permission codes into your manifest file:

Now here is Java codes for MainActivity.java :

Give it a try and good luck!



Habibie
Habibie is an Indonesian Java, C#, PHP, MySQL, HTML5, CSS3 & JavaScript programmer. He is also a good graphic designer, video editor, animator and 3D modeler.

Related Post

How to use AdMob Rewarded Video Ad on Android
Tagged on:         

Leave a Reply

Your email address will not be published. Required fields are marked *

2 + 4 =