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.
Namespace: Unity.Services.Mediation
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 |