广告平台(总站长使用)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

md_data_center_original_data.go 5.6 KiB

3 months ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. package md
  2. var AdState = []SelectData{
  3. {Name: "审核通过", Value: "1"},
  4. {Name: "待审核", Value: "0"},
  5. {Name: "审核拒绝", Value: "2"},
  6. {Name: "封禁中", Value: "3"},
  7. }
  8. var AdPlatform = []SelectData{
  9. {Name: "微信小程序", Value: "wx_applet"},
  10. }
  11. type DataCenterOriginalDataReq struct {
  12. Limit string `json:"limit"`
  13. Page string `json:"page" `
  14. Name string `json:"name"`
  15. State string `json:"state"`
  16. Platform string `json:"platform"`
  17. StartTime string `json:"start_time"`
  18. EndTime string `json:"end_time"`
  19. }
  20. type DataCenterOriginalDataRes struct {
  21. List []DataCenterOriginalDataData `json:"list" `
  22. Total int64 `json:"total"`
  23. State []SelectData `json:"state"`
  24. Platform []SelectData `json:"platform"`
  25. }
  26. type DataCenterOriginalDataData 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. ReqSuccCount string `json:"req_succ_count" example:"拉取量"`
  34. ExposureCount string `json:"exposure_count" example:"曝光量"`
  35. ExposureRate string `json:"exposure_rate" example:"曝光率"`
  36. ClickCount string `json:"click_count" example:"点击量"`
  37. ClickRate string `json:"click_rate" example:"点击率"`
  38. PublisherIncome string `json:"publisher_income" example:"总收益(元)"`
  39. Ecpm string `json:"ecpm" example:"'ecpm(元)"`
  40. IsApply string `json:"is_apply" example:"是否已应用"`
  41. }
  42. type DataCenterOriginalDataCommReq struct {
  43. Id string `json:"id" example:"列表id"`
  44. }
  45. type DataCenterDataCenterOriginalDataDoingReq struct {
  46. Id string `json:"id" example:"列表id"`
  47. NowExposureCount string `json:"now_exposure_count" example:"现-曝光量"`
  48. NowEcpm string `json:"now_ecpm" example:"现-广告千次曝光收益(元)"`
  49. }
  50. type DataCenterOriginalDataMoreApplicationReq struct {
  51. Limit string `json:"limit"`
  52. Page string `json:"page" `
  53. Name string `json:"name"`
  54. }
  55. type DataCenterOriginalDataMoreApplicationRes struct {
  56. List []DataCenterOriginalDataMoreApplicationData `json:"list" `
  57. Total int64 `json:"total"`
  58. State []SelectData `json:"state"`
  59. }
  60. type DataCenterOriginalDataMoreApplicationData struct {
  61. Id string `json:"id" example:"id"`
  62. AppId string `json:"app_id" example:"小程序id"`
  63. AdId string `json:"ad_id" example:"广告位id"`
  64. Logo string `json:"logo"`
  65. Name string `json:"name" example:"名称"`
  66. AdvName string `json:"adv_name" example:"广告位"`
  67. State string `json:"state" example:"状态id"`
  68. }
  69. type DataCenterOriginalDataOneApplicationRes struct {
  70. List []DataCenterOriginalDataOneApplicationData `json:"list" `
  71. }
  72. type DataCenterOriginalDataOneApplicationData struct {
  73. Id string `json:"id" example:"id"`
  74. AppId string `json:"app_id" example:"小程序id"`
  75. Logo string `json:"logo"`
  76. Name string `json:"name" example:"名称"`
  77. }
  78. type DataCenterOriginalDataOneApplicationAdListReq struct {
  79. AppId string `json:"app_id"`
  80. }
  81. type DataCenterOriginalDataOneApplicationAdListRes struct {
  82. List []DataCenterOriginalDataOneApplicationAdListData `json:"list" `
  83. State []SelectData `json:"state"`
  84. }
  85. type DataCenterOriginalDataOneApplicationAdListData struct {
  86. Id string `json:"id" example:"id"`
  87. Name string `json:"name" example:"名称"`
  88. AdId string `json:"ad_id" example:"广告位id"`
  89. State string `json:"state" example:"状态id"`
  90. }
  91. type DataCenterOriginalDataMoreApplicationDoingReq struct {
  92. Ids []DataCenterOriginalDataOneApplicationDoingReqData `json:"ids"`
  93. Date string `json:"date" example:"2024-08-28"`
  94. }
  95. type DataCenterOriginalDataOneApplicationDoingReqData struct {
  96. AppId string `json:"app_id"`
  97. AdId string `json:"ad_id"`
  98. }
  99. type DataCenterOriginalDataOneApplicationDoingReq struct {
  100. AppId string `json:"app_id"`
  101. AdId string `json:"ad_id"`
  102. Date string `json:"date" example:"2024-08-28"`
  103. }
  104. type DataCenterOriginalDataOneApplicationDoingRes struct {
  105. AdId string `json:"ad_id"`
  106. AdSlot string `json:"ad_slot" example:"广告位类型名称"`
  107. ExposureCount string `json:"exposure_count" example:"曝光量"`
  108. ReqSuccCount string `json:"req_succ_count" example:"拉取量"`
  109. PublisherIncome string `json:"publisher_income" example:"总收益(元)"`
  110. ClickCount string `json:"click_count" example:"点击量"`
  111. Ecpm string `json:"ecpm" example:"ecpm(元)"`
  112. ExposureRate string `json:"exposure_rate" example:"曝光率"`
  113. ClickRate string `json:"click_rate" example:"点击率"`
  114. }
  115. type MediumDivisionStrategy struct {
  116. PlatformRetentionRate string `json:"platform_retention_rate" example:"平台留存百分比"`
  117. CommissionRetentionRate string `json:"commission_retention_rate" example:"佣金留存百分比"`
  118. MediaRevenueRate string `json:"media_revenue_rate" example:"媒体收益百分比"`
  119. AgentRevenueRate string `json:"agent_revenue_rate" example:"代理收益百分比"`
  120. ExtraRevenueRate string `json:"extra_revenue_rate" example:"额外收益百分比"`
  121. AgreementSharingRate string `json:"agreement_sharing_rate" example:"协议分成百分比"`
  122. ExposureCount string `json:"exposure_count" example:"曝光量"`
  123. OldEcpm string `json:"old_ecpm" example:"原-ecpm(元)"`
  124. Ecpm string `json:"ecpm" example:"现-ecpm(元)"`
  125. }