Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Resolved Best practices to avoid exploit on rewarded ads?

Discussion in 'Unity Ads & User Acquisition' started by MatheusCohen, Aug 15, 2023.

  1. MatheusCohen

    MatheusCohen

    Joined:
    Aug 24, 2017
    Posts:
    52
    Hi!

    we where thinking of implementing a mechanic that users could see a rewarded video to get some hard currency, that would be given directly on a Cloud Code/Economy call after watching the ad.

    but Unity Ads seems to lack a server-to-server callback right?
    so how do i guarantee that our users wont just figure out the api call and spam it? is there any best practices for that?
     
  2. SamOYUnity3D

    SamOYUnity3D

    Unity Technologies

    Joined:
    May 12, 2019
    Posts:
    597
  3. MatheusCohen

    MatheusCohen

    Joined:
    Aug 24, 2017
    Posts:
    52
    Hi! not sure how i missed that lol

    quick thing though, will this work if the callback link i provide is a cloud code function api url? i would like to maintain my whole operation inside of unity suit.

    Press reward button -> watch ad -> will trigger unity ads server callback -> will call my cloude code api

    or do i have to create a external api just to route back?
     
  4. SamOYUnity3D

    SamOYUnity3D

    Unity Technologies

    Joined:
    May 12, 2019
    Posts:
    597