Struct S2SRedeemData
Contains the Server to Server redeem callback data. Make sure the rewarded ad is properly configured for server to server redeem callback authentication and a server URL is set in the dashboard.
Inherited Members
Namespace: Unity.Services.Mediation
Assembly: Unity.Mediation.dll
Syntax
public struct S2SRedeemData
Fields
CustomData
Optional custom data provided to the server For example in a json format: "{"reward":"Gems","amount":20}"
Declaration
public string CustomData
Field Value
| Type | Description |
|---|---|
| string |
UserId
Unique identifier of the user being rewarded
Declaration
public string UserId
Field Value
| Type | Description |
|---|---|
| string |