广告平台(站长使用)
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_generate_wx_ad_data.go 1.8 KiB

4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
123456789101112131415161718192021222324252627282930313233343536
  1. package md
  2. type GenerateWxAdData struct {
  3. OriginalDataId int `json:"original_data_id" example:"原始数据id"`
  4. OriginalExposureCount int `json:"original_exposure_count" example:"原-曝光量"`
  5. OriginalEcpm string `json:"original_ecpm" example:"原-广告千次曝光收益(分)"`
  6. NowExposureCount int `json:"now_exposure_count" example:"现-曝光量"`
  7. NowEcpm string `json:"now_ecpm" example:"现-广告千次曝光收益(分)"`
  8. }
  9. type ClacEcpmReq struct {
  10. OriginalExposureCount int `json:"original_exposure_count" example:"原-曝光量"`
  11. OriginalEcpm string `json:"original_ecpm" example:"原-广告千次曝光收益(分)"`
  12. GenerateDataId int `json:"generate_data_id" example:"原始数据id"`
  13. }
  14. type CalcApplicationDataReq struct {
  15. OriginalDataId int `json:"original_data_id" example:"原始数据id"`
  16. OriginalExposureCount int `json:"original_exposure_count" example:"原-曝光量"`
  17. OriginalEcpm string `json:"original_ecpm" example:"原-广告千次曝光收益(分)"`
  18. NowExposureCount int `json:"now_exposure_count" example:"现-曝光量"`
  19. NowEcpm string `json:"now_ecpm" example:"现-广告千次曝光收益(分)"`
  20. }
  21. type CalcApplicationDataResp struct {
  22. PlatformRetention float64 `json:"platform_retention" example:"平台留存"`
  23. CommissionRetention float64 `json:"commission_retention" example:"佣金留存"`
  24. MediaRevenue float64 `json:"media_revenue" example:"媒体收益"`
  25. AgentRevenue float64 `json:"agent_revenue" example:"代理收益"`
  26. ExtraRevenue float64 `json:"extra_revenue" example:"额外收益"`
  27. AgreementSharing float64 `json:"agreement_sharing" example:"协议分成"`
  28. }
  29. type SettlementWxAdData struct {
  30. GenerateDataId int `json:"generate_data_id" example:"生成数据id"`
  31. }