config.toml 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. Host_Ios = "http://api-ads.tiantianqutao.com/ads_feedback"
  2. Host_Andorid = "http://api-ads.tiantianqutao.com/ads_feedback"
  3. Host = "http://api-ads.tiantianqutao.com/ads_skip"
  4. Host_script = "http://api-ads.tiantianqutao.com/ads_script_callback"
  5. Host_miao = "http://xiaomi-mipdx.cn.miaozhen.com/x/gif?m5=__IDFA__&m2=__IMEI__&m11=__OAID__&m1a=__ANDROIDID__&m1=__ANDROIDID1__&m0=__OPENUDID__&m0a=__DUID__&m6=__MAC1__&m6a=__MAC__&ns=__IP__"
  6. ip_req_source = ['qihuan_01','qihuan_02','qihuan_03','mh','days_ad','info','amobi','joker1','bom','Infomobi_API','kk008','mengdong']
  7. black_req_source = ['muki','muki01','qihuan_03']
  8. dp_test = "openapp.jdmobile://virtual?params=%7B%22category%22%3A%22jump%22%2C%22des%22%3A%22m%22%2C%22url%22%3A%22http%3A%2F%2Fclickc.admaster.com.cn%2Fc%2Fa129315%2Cb3498076%2Cc2034%2Ci0%2Cm101%2C8a2%2C8b3%2Ch%2Cuhttps%253A%252F%252Fccc-x.jd.com%252Fdsp%252Fcl%253Fposid%253D1999%2526v%253D707%2526union_id%253D1000027280%2526pid%253D1717%2526tagid%253D101583%2526didmd5%253D__IMEI__%2526idfamd5%253D__IDFA__%2526did%253D__IMEIIMEI__%2526idfa%253D__IDFAIDFA__%2526to%253Dhttps%253A%252F%252Fpro.m.jd.com%252Fmall%252Factive%252F4YwB7Ur1ixQsPai9aBgVmHCQaHF9%252Findex.html%22%2C%22m_param%22%3A%7B%22jdv%22%3A%22122270672%7Ckong%7Ct_1000027280_101583%7Czssc%7Cd36d13b9-61c4-4fdf-b7f2-11dbc28d14dd-p_1999-pr_1717-at_101583%22%7D%2C%22keplerFrom%22%3A%221%22%2C%22kepler_param%22%3A%7B%22source%22%3A%22kepler-open%22%2C%22otherData%22%3A%7B%22channel%22%3A%22b4dc3278288f4a25982ccdec07ebdc41%22%7D%7D%7D"
  9. freq_control_num = 200
  10. secret_key = "%videoopen%!@#$%"
  11. ip2region_file = "../conf/ip2region_20200113.db"
  12. log_path = "../log"
  13. redis_host="r-wz9sbx1faq7j6zxxgt.redis.rds.aliyuncs.com:6379"
  14. redis_password="3iXAJFuI$J"
  15. ## 流量占比控制
  16. [flow_percent]
  17. [flow_percent.xiaomi]
  18. [flow_percent.xiaomi.VIEW]
  19. percent= 100
  20. duration =5
  21. [flow_percent.xiaomi.CLICK]
  22. percent= 3
  23. duration= 5
  24. [flow_percent.xiaomi.CLOSE]
  25. percent= 18
  26. duration= 5
  27. [flow_percent.xiaomi.VIDEO_FINISH]
  28. percent= 97
  29. duration= 5
  30. [flow_percent.xiaomi.VIDEO_TIMER]
  31. percent= 100
  32. duration= 5
  33. [flow_percent_1]
  34. [flow_percent_1.xiaomi]
  35. [flow_percent_1.xiaomi.VIEW]
  36. percent= 100
  37. duration= 5
  38. [flow_percent_1.xiaomi.CLICK]
  39. percent=8
  40. duration= 5
  41. [flow_percent_1.xiaomi.CLOSE]
  42. percent= 18
  43. duration= 5
  44. [flow_percent_1.xiaomi.VIDEO_FINISH]
  45. percent=92
  46. duration= 5
  47. [flow_percent_1.xiaomi.VIDEO_TIMER]
  48. percent= 100
  49. duration= 5
  50. ### 动作配置
  51. [Ads_Actions]
  52. xiaomi=["VIEW", "CLICK", "CLOSE", "VIDEO_FINISH", "VIDEO_TIMER"]
  53. ### duration配置
  54. [Ads_Duration]
  55. xiaomi = 5
  56. ### 动作的权重
  57. [action_weight]
  58. VIEW= 100
  59. VIDEO_TIMER= 50
  60. CLICK= 30
  61. CLOSE= 30
  62. VIDEO_FINISH= 30
  63. ### 动作组合
  64. [[combination_actions.xiaomi]]
  65. percent_begin= 1
  66. percent_end= 3
  67. group_value= ["VIEW", "VIDEO_TIMER", "CLICK"]
  68. last_action="CLICK"
  69. [[combination_actions.xiaomi]]
  70. percent_begin=4
  71. percent_end= 100
  72. group_value= ["VIEW", "VIDEO_TIMER", "VIDEO_FINISH"]
  73. last_action="VIDEO_FINISH"