Ad Reward System with Server-Side Verification (SSV) Android

Add a Digital Coins System in your Android App where users can Watch Ads, Earn Coins and spend on in-app Rewards.

In this course I’m gonna teach you how to implement a Reward ad/Digital Coins System in your app with a Server-Side Verification (SSV). This same approach I’ve used in my own app to allow users to earn digital coins by viewing ads. In return, users can spend those coins, to redeem certain rewards that you want to provide.

What you’ll learn

  • Implement Admob SDK for Android.
  • Integrate Reward Ads in your App.
  • Earn Money from Google Ads.
  • Handle Server-Side Verification (SSV) for Reward Ad.
  • Add Google Authentication.
  • MongoDB Atlas integration.
  • MongoDB Device Sync SDK for Android.
  • MongoDB Functions and Triggers.
  • Comply with the new European User Consent Policy.
  • Google’s User Messaging Platform (UMP).
  • Your own Backend Server used for SSV.
  • Server Deployment to make your app Production-ready.

Course Content

  • Introduction & Setup –> 5 lectures • 15min.
  • Authentication Screen – User Sign in Flow –> 6 lectures • 37min.
  • Home Screen – Observe Coins –> 5 lectures • 13min.
  • Settings Screen – EEA Ad Consent –> 4 lectures • 18min.
  • Ad Screen – Display a Reward Ad –> 2 lectures • 8min.
  • Backend Server – Verify a Reward Ad & Update the Coins –> 2 lectures • 17min.
  • Homework –> 1 lecture • 4min.

Ad Reward System with Server-Side Verification (SSV) Android

Requirements

In this course I’m gonna teach you how to implement a Reward ad/Digital Coins System in your app with a Server-Side Verification (SSV). This same approach I’ve used in my own app to allow users to earn digital coins by viewing ads. In return, users can spend those coins, to redeem certain rewards that you want to provide.

 

We will use:

  1. Admob mobile advertising platform which is developed by Google, to display a reward type of ad in our application. We will configure it to accept a server-side verification.
  2. Google’s User Messaging Platform (UMP) to handle the new European Consent Policy. Because if you don’t implement it, users from over 30 countries will be able to suspend your ads and reduce a huge amount of money that you can potentially earn.
  3. MongoDB Atlas to host the database where we will store all information about the users and their digital coins. We will handle user and admin permissions, collection schemas, network access list, authentication and database triggers, custom functions and more.
  4. Our own Backend Server which will be used to validate reward ads and add Coins to our users. The server itself should receive requests from the Admob SDK, when a callback fires up after a user successfully completes a task of viewing an ad. That adds an extra layer of security by processing and verifying user actions on the server rather than solely relying on client-side verification. This reduces the risk of manipulation or tampering by malicious users who may attempt to manipulate the client-side verification process to fraudulently claim rewards.

And at the end we will deploy our Backend server so that we can use it in a production as well.

Bottom line, quite interesting topic that opens the door for monetization in your app.

Get Tutorial