Notification

Get personalized optimization tips, understand your account health and set up completion on the improved "My AdMob page".

Validate rewarded ad views with server-side verification

​Server-side verification (SSV) is another validation for rewarded ad views in your app. It's used in addition to the standard client-side callback.

Server-side verification validates each completed rewarded ad view. This ensures you're only rewarding users who actually finished watching the video in your app. Each time a user finishes viewing a rewarded ad, AdMob uses the callback URL you provide to validate the view.

Learn more about SSV for Android, iOS, or Unity.

Set up and test server-side verification

Complete the following steps:

  1. Sign in to your AdMob account at https://apps.admob.com.
  2. Click Apps in the sidebar.
  3. Select the name of your app. If you can't find it in the list of recent apps, you can click View all apps to search a list of all of the apps you've added to AdMob.
  4. Click Ad units in the sidebar.
  5. For new ad units, follow the instructions in Create a rewarded ad unit. For existing ad units, click the name of the ad unit. 
  6. Click Advanced settings
  7. Click Set up and verify callback URL beside server-side verification. 
  8. Complete the server-side verification settings:
    • Callback URL: The full URL you want AdMob to send to you when a user has finished viewing a rewarded ad (for example, https://example.com/sample_ssv).
    • User ID (optional): This is used for testing only. The user ID is a unique identifier given to each user, which lets you know who to reward upon successful ad completion. To use, set the user_id parameter in the SDK.
    • Custom data (optional): This is used for testing only. Custom data is received in the callback after a user’s successful ad completion. For example, you can include a parameter to know which level the user is on. To use, set the custom_data parameter in the SDK. 
  9. Click Verify URL
    You must verify the URL before you can finish setting up SSV. 
  10. Click Use verified URL

Troubleshoot SSV errors 

If the URL came back with an error, review the error message and ensure that you’ve followed the instructions for setting up SSV for Android, iOS, or Unity.

Was this helpful?

How can we improve it?
true
Show your support to promote DEI in Gaming by turning intentions into action!

Check out the newly launched Diversity in Gaming website, where you can find video stories and written pledges from global gaming developers. This campaign centers on 3 pillars: diverse teams, diverse games and diverse audiences showing how diversity is not just good for gamers, but for business as well. Show your support by taking the pledge to promote DEI in Gaming and share it on social!

Learn More

Search
Clear search
Close search
Google apps
Main menu
10630535314964164953
true
Search Help Center
true
true
true
true
true
73175