Skip to content

Unity Ad Watched

GET
/ad/v1/unity/ad/watched

Callback URL for the Unity Ad API. Docs here https://docs.unity.com/ads/ImplementingS2SRedeemCallbacks.html

Parameters

Query Parameters

productid
required

Product ID in the Unity console

integer

Product ID in the Unity console

sid
required

Server ID that contains custom data. Expected to be a comma separated list of platform and player ID

string
>= 1 characters <= 128 characters

Server ID that contains custom data. Expected to be a comma separated list of platform and player ID

Example
ios,12345
oid
required

Unique ID for the ad view generated by Unity

string

Unique ID for the ad view generated by Unity

hmac
required

The HMAC-MD5 hash of the parameter string used to validate the request

string

The HMAC-MD5 hash of the parameter string used to validate the request

Responses

200

Successful Response

string

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string