diff --git a/Assets/Scripts/Common/SDK/AdManagerReward.cs b/Assets/Scripts/Common/SDK/AdManagerReward.cs index d5ebfc86d..e8650c4c6 100644 --- a/Assets/Scripts/Common/SDK/AdManagerReward.cs +++ b/Assets/Scripts/Common/SDK/AdManagerReward.cs @@ -111,8 +111,8 @@ public partial class AdManager string networkPlacement = adInfo.NetworkPlacement; // The placement ID from the network that showed the ad string adFormat = adInfo.AdFormat; - var dict = new Dictionary(); - dict.Add("revenue", revenue.ToString()); + var dict = new Dictionary(); + dict.Add("revenue", revenue); dict.Add("country_code", countryCode); dict.Add("network_name", networkName); dict.Add("ad_unit_Id", adUnitId); diff --git a/Assets/Scripts/Common/SDK/BFIronSourceSDKManager.cs b/Assets/Scripts/Common/SDK/BFIronSourceSDKManager.cs index c0af90504..c76842d15 100644 --- a/Assets/Scripts/Common/SDK/BFIronSourceSDKManager.cs +++ b/Assets/Scripts/Common/SDK/BFIronSourceSDKManager.cs @@ -283,8 +283,8 @@ namespace BF { return; } - var dict = new Dictionary(); - dict.Add("revenue", revenue.ToString()); + var dict = new Dictionary(); + dict.Add("revenue", revenue); dict.Add("auction_id", impressionData.auctionId); dict.Add("country_code", impressionData.country); dict.Add("network_name", impressionData.adNetwork); @@ -298,7 +298,7 @@ namespace BF } if (!ReferenceEquals(impressionData.lifetimeRevenue, null)) { - dict.Add("lifetime_revenue", impressionData.lifetimeRevenue.ToString()); + dict.Add("lifetime_revenue", impressionData.lifetimeRevenue); } if (!string.IsNullOrEmpty(impressionData.encryptedCPM)) {