广告平台(站长使用)
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 

123 wiersze
7.3 KiB

  1. package md
  2. type DataCenterGenerateDataReq struct {
  3. Limit string `json:"limit"`
  4. Page string `json:"page" `
  5. Name string `json:"name"`
  6. State string `json:"state"`
  7. Platform string `json:"platform"`
  8. StartTime string `json:"start_time"`
  9. EndTime string `json:"end_time"`
  10. AppId string `json:"app_id"`
  11. AdType string `json:"ad_type"`
  12. }
  13. type DataCenterGenerateDataForOpenReq struct {
  14. Limit string `json:"limit"`
  15. Page string `json:"page" `
  16. MediumId string `json:"medium_id" binding:"required"` //媒体id
  17. StartTime string `json:"start_time"`
  18. EndTime string `json:"end_time"`
  19. }
  20. type DataCenterGenerateDataRes struct {
  21. List []DataCenterGenerateDataData `json:"list" `
  22. Total int64 `json:"total"`
  23. State []SelectData `json:"state"`
  24. Platform []SelectData `json:"platform"`
  25. }
  26. type DataCenterGenerateDataData struct {
  27. Id string `json:"id" example:"id"`
  28. Date string `json:"date" example:"日期"`
  29. Name string `json:"name" example:"名称"`
  30. Platform string `json:"platform" example:"平台名称"`
  31. AdvName string `json:"adv_name" example:"广告位"`
  32. State string `json:"state" example:"状态id"`
  33. OldExposureCount string `json:"old_exposure_count" example:"原-曝光量"`
  34. OldClickCount string `json:"old_click_count" example:"原-点击量"`
  35. OldClickRate string `json:"old_click_rate" example:"原-点击率"`
  36. OldEcpm string `json:"old_ecpm" example:"'原-ecpm(元)"`
  37. ExposureCount string `json:"exposure_count" example:"现-曝光量"`
  38. ClickCount string `json:"click_count" example:"现-点击量"`
  39. ClickRate string `json:"click_rate" example:"现-点击率"`
  40. Ecpm string `json:"ecpm" example:"'现-ecpm(元)"`
  41. PlatformRetention string `json:"platform_retention" example:"平台留存(元)"`
  42. CommissionRetention string `json:"commission_retention" example:"佣金留存(元)"`
  43. PriceAdjustmentRetention string `json:"price_adjustment_retention" example:"调价留存(元)"`
  44. MediaRevenue string `json:"media_revenue" example:"媒体收益(元)"`
  45. AgentRevenue string `json:"agent_revenue" example:"代理收益(元)"`
  46. ExtraRevenue string `json:"extra_revenue" example:"额外收益(元)"`
  47. AgreementSharing string `json:"agreement_sharing" example:"协议分成(元)"`
  48. AgreementSharingTotal string `json:"agreement_sharing_total" example:"协议总分成(元)"`
  49. IsGenerateReport string `json:"is_generate_report" example:"是否已生成报表(0:未 1:已)"`
  50. }
  51. type DataCenterIncomeDataRes struct {
  52. List []DataCenterIncomeDataData `json:"list" `
  53. Total int64 `json:"total"`
  54. State []SelectData `json:"state"`
  55. Platform []SelectData `json:"platform"`
  56. }
  57. type DataCenterIncomeDataData struct {
  58. Id string `json:"id" example:"id"`
  59. Date string `json:"date" example:"日期"`
  60. Name string `json:"name" example:"名称"`
  61. Platform string `json:"platform" example:"平台名称"`
  62. AdvName string `json:"adv_name" example:"广告位"`
  63. AdvId string `json:"adv_id" example:"广告位Id"`
  64. State string `json:"state" example:"状态id"`
  65. ExposureCount string `json:"exposure_count" example:"现-曝光量"`
  66. ClickCount string `json:"click_count" example:"现-点击量"`
  67. ClickRate string `json:"click_rate" example:"现-点击率"`
  68. Ecpm string `json:"ecpm" example:"'现-ecpm(元)"`
  69. MediaRevenue string `json:"media_revenue" example:"媒体收益(元)"`
  70. AgreementSharing string `json:"agreement_sharing" example:"平台收益(元)"`
  71. AgentRevenue string `json:"agent_revenue" example:"代理收益(元)"`
  72. SettleAmount string `json:"settle_amount" example:"结算收益(元)"`
  73. }
  74. type DataCenterIncomeDataDetail struct {
  75. Platform string `json:"platform" example:"填充来源"`
  76. MediaRevenue string `json:"media_revenue" example:"媒体收益(元)"`
  77. MediaRevenueRate string `json:"media_revenue_rate" example:"媒体收益百分比"`
  78. AgreementSharingRate string `json:"agreement_sharing_rate" example:"平台收益百分比"`
  79. AgreementSharing string `json:"agreement_sharing" example:"平台收益(元)"`
  80. AgentRevenue string `json:"agent_revenue" example:"代理收益(元)"`
  81. AgentRevenueRate string `json:"agent_revenue_rate" example:"代理收益百分比"`
  82. DataSource string `json:"data_source" example:"数据来源"`
  83. MediumName string `json:"medium_name" example:"媒体名称"`
  84. CreateAt string `json:"create_at"`
  85. UpdateAt string `json:"update_at"`
  86. AgentReward []DataCenterGenerateDataDetailAgentRewardSecond `json:"agent_reward"`
  87. }
  88. type DataCenterGenerateDataCommReq struct {
  89. Id string `json:"id" example:"列表id"`
  90. }
  91. type DataCenterGenerateDataDetailData struct {
  92. PlatformRetentionRate string `json:"platform_retention_rate" example:"平台留存百分比"`
  93. CommissionRetentionRate string `json:"commission_retention_rate" example:"佣金留存百分比"`
  94. MediaRevenueRate string `json:"media_revenue_rate" example:"媒体收益百分比"`
  95. AgentRevenueRate string `json:"agent_revenue_rate" example:"代理收益百分比"`
  96. ExtraRevenueRate string `json:"extra_revenue_rate" example:"额外收益百分比"`
  97. AgreementSharingRate string `json:"agreement_sharing_rate" example:"协议分成百分比"`
  98. CreateAt string `json:"create_at" `
  99. UpdateAt string `json:"update_at" `
  100. AgentReward []DataCenterGenerateDataDetailAgentReward `json:"agent_reward"`
  101. }
  102. type DataCenterGenerateDataDetailAgentReward struct {
  103. Name string `json:"name"`
  104. Account string `json:"account"`
  105. AgentRevenue string `json:"agent_revenue" example:"代理收益(元)"`
  106. AgentRevenueRate string `json:"agent_revenue_rate" example:"代理收益百分比"`
  107. ExtraRevenue string `json:"extra_revenue" example:"额外收益(元)"`
  108. ExtraRevenueRate string `json:"extra_revenue_rate" example:"'额外收益百分比"`
  109. }
  110. type DataCenterGenerateDataDetailAgentRewardSecond struct {
  111. Name string `json:"name"`
  112. Account string `json:"account"`
  113. AgentRevenue string `json:"agent_revenue" example:"代理收益(元)"`
  114. AgentRevenueRate string `json:"agent_revenue_rate" example:"代理收益百分比"`
  115. }