广告平台(站长下代理使用)
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

md_data_center.go 4.4 KiB

2 ay önce
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. package md
  2. type DataCenterTableReq struct {
  3. StartDate string `json:"start_date" example:"2024-08-30 默认查昨天的 最近7天"`
  4. EndDate string `json:"end_date" example:"2024-08-30"`
  5. Platform string `json:"platform" example:"平台"`
  6. AppId string `json:"app_id" example:"应用"`
  7. AdType string `json:"ad_type" example:"广告位类型"`
  8. }
  9. type DataCenterRecordReq struct {
  10. StartDate string `json:"start_date" example:"2024-08-30 默认查昨天的 最近7天"`
  11. EndDate string `json:"end_date" example:"2024-08-30"`
  12. Platform string `json:"platform" example:"平台"`
  13. AppId string `json:"app_id" example:"应用"`
  14. AdType string `json:"ad_type" example:"广告位类型"`
  15. Limit string `json:"limit"`
  16. Page string `json:"page" `
  17. }
  18. type DataCenterRecordOutPutReq struct {
  19. StartDate string `json:"start_date" example:"2024-08-30 默认查昨天的 最近7天"`
  20. EndDate string `json:"end_date" example:"2024-08-30"`
  21. Platform string `json:"platform" example:"平台"`
  22. AppId string `json:"app_id" example:"应用"`
  23. AdType string `json:"ad_type" example:"广告位类型"`
  24. Limit string `json:"limit" example:"10000 个一页"`
  25. Page string `json:"page" `
  26. }
  27. type DataCenterTableRes struct {
  28. List []DataCenterTableData `json:"list" `
  29. }
  30. type DataCenterTableData struct {
  31. Date string `json:"date" example:"日期"`
  32. ExposureCount string `json:"exposure_count" example:"曝光量"`
  33. MediaRevenue string `json:"media_revenue" example:"预估收益"`
  34. Ecpm string `json:"ecpm" example:"ecpm"`
  35. }
  36. type DataCenterRecordRes struct {
  37. List []DataCenterTotalData `json:"list" `
  38. Total int64 `json:"total" `
  39. }
  40. type DataCenterCommissionRecordRes struct {
  41. List []DataCenterCommissionTotalData `json:"list" `
  42. Total int64 `json:"total" `
  43. }
  44. type DataCenterCommissionTotalData struct {
  45. Date string `json:"date" example:"日期"`
  46. AppName string `json:"app_name"`
  47. PlatformName string `json:"platform_name"`
  48. AdvName string `json:"adv_name"`
  49. ExposureCount string `json:"exposure_count" example:"曝光量"`
  50. Commission string `json:"commission" example:"预估佣金"`
  51. OtherCommission string `json:"other_commission" example:"额外奖励"`
  52. AllCommission string `json:"all_commission" example:"预估总佣金"`
  53. Ecpm string `json:"ecpm" example:"ecpm"`
  54. ClickRate string `json:"click_rate" example:"点击率"`
  55. ClickCount string `json:"click_count" example:"点击量"`
  56. }
  57. type DataCenterTotalData struct {
  58. Date string `json:"date" example:"日期"`
  59. AppName string `json:"app_name"`
  60. PlatformName string `json:"platform_name"`
  61. AdvName string `json:"adv_name"`
  62. ExposureCount string `json:"exposure_count" example:"曝光量"`
  63. MediaRevenue string `json:"media_revenue" example:"预估收益"`
  64. Ecpm string `json:"ecpm" example:"ecpm"`
  65. ClickRate string `json:"click_rate" example:"点击率"`
  66. ClickCount string `json:"click_count" example:"点击量"`
  67. }
  68. type DataCenterProfitRecordReq struct {
  69. StartDate string `json:"start_date" example:"2024-08-30 默认查昨天的 最近7天"`
  70. EndDate string `json:"end_date" example:"2024-08-30"`
  71. Type string `json:"type" example:"0-日收益 1-月收益 2年收益"`
  72. Platform string `json:"platform" example:"平台"`
  73. AppId string `json:"app_id" example:"应用"`
  74. Limit string `json:"limit"`
  75. Page string `json:"page" `
  76. }
  77. type DataCenterProfitRecordOutPutReq struct {
  78. StartDate string `json:"start_date" example:"2024-08-30 默认查昨天的 最近7天"`
  79. EndDate string `json:"end_date" example:"2024-08-30"`
  80. Type string `json:"type" example:"0-日收益 1-月收益 2年收益"`
  81. Platform string `json:"platform" example:"平台"`
  82. AppId string `json:"app_id" example:"应用"`
  83. Limit string `json:"limit" example:"10000 个一页"`
  84. Page string `json:"page" `
  85. }
  86. type DataCenterProfitRecordRes struct {
  87. List []DataCenterProfitRecordData `json:"list" `
  88. Total int64 `json:"total" `
  89. }
  90. type DataCenterProfitRecordData struct {
  91. Date string `json:"date" example:"日期"`
  92. AppName string `json:"app_name"`
  93. PlatformName string `json:"platform_name"`
  94. Commission string `json:"commission" example:"预估佣金"`
  95. OtherCommission string `json:"other_commission" example:"额外奖励"`
  96. AllCommission string `json:"all_commission" example:"预估总佣金"`
  97. }