上报参数
This commit is contained in:
parent
01427a9f4c
commit
72775fbd50
@ -111,8 +111,8 @@ public partial class AdManager
|
|||||||
string networkPlacement = adInfo.NetworkPlacement; // The placement ID from the network that showed the ad
|
string networkPlacement = adInfo.NetworkPlacement; // The placement ID from the network that showed the ad
|
||||||
string adFormat = adInfo.AdFormat;
|
string adFormat = adInfo.AdFormat;
|
||||||
|
|
||||||
var dict = new Dictionary<string, string>();
|
var dict = new Dictionary<string, System.Object>();
|
||||||
dict.Add("revenue", revenue.ToString());
|
dict.Add("revenue", revenue);
|
||||||
dict.Add("country_code", countryCode);
|
dict.Add("country_code", countryCode);
|
||||||
dict.Add("network_name", networkName);
|
dict.Add("network_name", networkName);
|
||||||
dict.Add("ad_unit_Id", adUnitId);
|
dict.Add("ad_unit_Id", adUnitId);
|
||||||
|
|||||||
@ -283,8 +283,8 @@ namespace BF
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var dict = new Dictionary<string, string>();
|
var dict = new Dictionary<string, System.Object>();
|
||||||
dict.Add("revenue", revenue.ToString());
|
dict.Add("revenue", revenue);
|
||||||
dict.Add("auction_id", impressionData.auctionId);
|
dict.Add("auction_id", impressionData.auctionId);
|
||||||
dict.Add("country_code", impressionData.country);
|
dict.Add("country_code", impressionData.country);
|
||||||
dict.Add("network_name", impressionData.adNetwork);
|
dict.Add("network_name", impressionData.adNetwork);
|
||||||
@ -298,7 +298,7 @@ namespace BF
|
|||||||
}
|
}
|
||||||
if (!ReferenceEquals(impressionData.lifetimeRevenue, null))
|
if (!ReferenceEquals(impressionData.lifetimeRevenue, null))
|
||||||
{
|
{
|
||||||
dict.Add("lifetime_revenue", impressionData.lifetimeRevenue.ToString());
|
dict.Add("lifetime_revenue", impressionData.lifetimeRevenue);
|
||||||
}
|
}
|
||||||
if (!string.IsNullOrEmpty(impressionData.encryptedCPM))
|
if (!string.IsNullOrEmpty(impressionData.encryptedCPM))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user