config.toml 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. log_level="trace"
  16. ## 流量占比控制
  17. [flow_percent]
  18. [flow_percent.xiaomi]
  19. [flow_percent.xiaomi.VIEW]
  20. percent= 100
  21. duration =5
  22. [flow_percent.xiaomi.CLICK]
  23. percent= 3
  24. duration= 5
  25. [flow_percent.xiaomi.CLOSE]
  26. percent= 18
  27. duration= 5
  28. [flow_percent.xiaomi.VIDEO_FINISH]
  29. percent= 97
  30. duration= 5
  31. [flow_percent.xiaomi.VIDEO_TIMER]
  32. percent= 100
  33. duration= 5
  34. [flow_percent_1]
  35. [flow_percent_1.xiaomi]
  36. [flow_percent_1.xiaomi.VIEW]
  37. percent= 100
  38. duration= 5
  39. [flow_percent_1.xiaomi.CLICK]
  40. percent=8
  41. duration= 5
  42. [flow_percent_1.xiaomi.CLOSE]
  43. percent= 18
  44. duration= 5
  45. [flow_percent_1.xiaomi.VIDEO_FINISH]
  46. percent=92
  47. duration= 5
  48. [flow_percent_1.xiaomi.VIDEO_TIMER]
  49. percent= 100
  50. duration= 5
  51. ### 动作配置
  52. [Ads_Actions]
  53. xiaomi=["VIEW", "CLICK", "CLOSE", "VIDEO_FINISH", "VIDEO_TIMER"]
  54. ### duration配置
  55. [Ads_Duration]
  56. xiaomi = 5
  57. ### 动作的权重
  58. [action_weight]
  59. VIEW= 100
  60. VIDEO_TIMER= 50
  61. CLICK= 30
  62. CLOSE= 30
  63. VIDEO_FINISH= 30
  64. ### 动作组合
  65. [[combination_actions.xiaomi]]
  66. percent_begin= 1
  67. percent_end= 3
  68. group_value= ["VIEW", "VIDEO_TIMER", "CLICK"]
  69. last_action="CLICK"
  70. [[combination_actions.xiaomi]]
  71. percent_begin=4
  72. percent_end= 100
  73. group_value= ["VIEW", "VIDEO_TIMER", "VIDEO_FINISH"]
  74. last_action="VIDEO_FINISH"