上报参数

This commit is contained in:
chenxi 2023-08-18 20:13:47 +08:00
parent 01427a9f4c
commit 72775fbd50
2 changed files with 5 additions and 5 deletions

View File

@ -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<string, string>();
dict.Add("revenue", revenue.ToString());
var dict = new Dictionary<string, System.Object>();
dict.Add("revenue", revenue);
dict.Add("country_code", countryCode);
dict.Add("network_name", networkName);
dict.Add("ad_unit_Id", adUnitId);

View File

@ -283,8 +283,8 @@ namespace BF
{
return;
}
var dict = new Dictionary<string, string>();
dict.Add("revenue", revenue.ToString());
var dict = new Dictionary<string, System.Object>();
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))
{