广告平台(媒体使用)
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.
 
 
 
 
 
 

55 lines
2.2 KiB

  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 DataCenterTotalData struct {
  41. Date string `json:"date" example:"日期"`
  42. AppName string `json:"app_name"`
  43. PlatformName string `json:"platform_name"`
  44. AdvName string `json:"adv_name"`
  45. ExposureCount string `json:"exposure_count" example:"曝光量"`
  46. MediaRevenue string `json:"media_revenue" example:"预估收益"`
  47. Ecpm string `json:"ecpm" example:"ecpm"`
  48. ClickRate string `json:"click_rate" example:"点击率"`
  49. ClickCount string `json:"click_count" example:"点击量"`
  50. }