public static void GetAdPlacements(GetAdPlacementsRequest request, Action <GetAdPlacementsResult> resultCallback, Action <PlayFab.PlayFabError> errorCallback, object customData = null) { if (!PlayFabHttp.IsClientLoggedIn()) { throw new Exception("Must be logged in to call this method"); } PlayFabHttp.MakeApiCall("/Client/GetAdPlacements", request, AuthType.LoginSession, resultCallback, errorCallback, customData); }
public static void RewardAdActivity(RewardAdActivityRequest request, Action <RewardAdActivityResponse> resultCallback, Action <PlayFab.PlayFabError> errorCallback, object customData = null) { if (!PlayFabHttp.IsClientLoggedIn()) { throw new Exception("Must be logged in to call this method"); } PlayFabHttp.MakeApiCall("/Client/RewardAdActivity", request, AuthType.LoginSession, resultCallback, errorCallback, customData); }