docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)