config.ts 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. const planAdConfig = [
  2. {
  3. label: '广告详情',
  4. data: [
  5. { title: '启停', dataIndex: 'configured_status', serverIndex: 'adgroup.configured_status', label: '广告详情', default: 1, width: 40 },
  6. { title: '所属账号', dataIndex: 'account_id', serverIndex: 'adgroup.account_id', label: '广告详情', default: 2, width: 75 },
  7. { title: '腾讯备注', dataIndex: 'memo', serverIndex: 'ad_account.memo', label: '广告详情', default: 3, width: 80 },
  8. { title: '本地备注', dataIndex: 'remark', serverIndex: 'ad_account.remark', label: '广告详情', default: 4, width: 80 },
  9. { title: '广告ID', dataIndex: 'adgroup_id', serverIndex: 'adgroup.adgroup_id', label: '广告详情', default: 5, width: 90 },
  10. { title: '投手', dataIndex: 'put_user_name', serverIndex: 'sys_user.put_user_name', label: '广告详情', default: 6, width: 70 },
  11. { title: '广告名称', dataIndex: 'adgroup_name', serverIndex: 'adgroup.adgroup_name', label: '广告详情', default: 7, width: 280 },
  12. { title: '投放日期', dataIndex: 'begin_date', serverIndex: 'adgroup.begin_date, adgroup.end_date', label: '广告详情', default: 8, width: 150 },
  13. { title: '投放时间', dataIndex: 'time_series', serverIndex: 'adgroup.time_series', label: '广告详情', default: 9, width: 55 },
  14. { title: '首日开始投放时间', dataIndex: 'first_day_begin_time', serverIndex: 'adgroup.first_day_begin_time', label: '广告详情', default: 10, width: 70 },
  15. { title: '出价', dataIndex: 'bid_amount', serverIndex: 'adgroup.bid_amount,adgroup.bid_mode,adgroup.optimization_goal', label: '广告详情', default: 11, width: 140 },
  16. { title: '深度优化行为出价', dataIndex: 'deep_conversion_behavior_bid', serverIndex: 'adgroup.deep_conversion_behavior_bid', label: '广告详情', default: 12, width: 70 },
  17. { title: '出价类型', dataIndex: 'smart_bid_type', serverIndex: 'adgroup.smart_bid_type', label: '广告详情', default: 13, width: 80 },
  18. { title: '出价策略', dataIndex: 'bid_strategy', serverIndex: 'adgroup.bid_strategy', label: '广告详情', default: 14, width: 80 },
  19. { title: '广告组日预算(元)', dataIndex: 'daily_budget', serverIndex: 'adgroup.daily_budget', label: '广告详情', default: 15, width: 80 },
  20. { title: '是否开启自动版位功能', dataIndex: 'automatic_site_enabled', serverIndex: 'adgroup.automatic_site_enabled', label: '广告详情', default: 16, width: 80 },
  21. { title: '定向条件描述', dataIndex: 'targeting_translation', serverIndex: 'adgroup.targeting_translation', label: '广告详情', default: 17, width: 120 },
  22. { title: '创建时间', dataIndex: 'created_time', serverIndex: 'adgroup.created_time', label: '广告详情', default: 18, width: 140 },
  23. { title: '是否已删除', dataIndex: 'is_deleted', serverIndex: 'adgroup.is_deleted', label: '广告详情', default: 19, width: 60 },
  24. { title: '广告状态', dataIndex: 'system_status', serverIndex: 'adgroup.system_status', label: '广告详情', default: 20, width: 70 },
  25. { title: '广告详情', dataIndex: 'cost_speed', label: '广告详情', default: 21, width: 80 },
  26. { title: '标记备注', dataIndex: 'tag_remark', label: '广告详情', width: 80, serverIndex: 'adgroup_user_tag.tag_remark' },
  27. { title: '创意预览', dataIndex: 'creative_ids', serverIndex: 'adgroup_data.creative_ids', label: '设置信息', width: 130 },
  28. { title: '操作', dataIndex: 'cz', label: '广告详情', default: 22, width: 116 },
  29. ]
  30. },
  31. {
  32. label: '广告消耗信息',
  33. data: [
  34. { title: '消耗', dataIndex: 'cost_total', label: '广告消耗信息', width: 110 },
  35. { title: '曝光量', dataIndex: 'view_total', label: '广告消耗信息', width: 100 },
  36. { title: '千次曝光成本', dataIndex: 'thousand_display_price_total', label: '广告消耗信息', width: 110 },
  37. { title: '点击量', dataIndex: 'click_total', label: '广告消耗信息', width: 100 },
  38. { title: '点击率', dataIndex: 'ctr_total', label: '广告消耗信息', width: 100 },
  39. { title: '点击均价', dataIndex: 'cpc_total', label: '广告消耗信息', width: 100 },
  40. { title: '不感兴趣点击次数', dataIndex: 'no_interest_count_total', label: '广告消耗信息', width: 100 },
  41. { title: '朋友圈视频播放次数', dataIndex: 'video_play_count_total', label: '广告消耗信息', width: 100 },
  42. ]
  43. },
  44. {
  45. label: '广告转化信息',
  46. data: [
  47. { title: '下载次数', dataIndex: 'download_count_total', label: '广告转化信息', width: 95 },
  48. { title: '安装次数', dataIndex: 'install_count_total', label: '广告转化信息', width: 95 },
  49. { title: '激活次数', dataIndex: 'activated_count_total', label: '广告转化信息', width: 95 },
  50. { title: '公众号关注人数', dataIndex: 'mp_follow_uv_total', label: '广告转化信息', width: 95 },
  51. { title: '公众号关注成本', dataIndex: 'mp_follow_cost_total', label: '广告转化信息', width: 100 },
  52. { title: '公众号关注率', dataIndex: 'mp_follow_rate_total', label: '广告转化信息', width: 95 },
  53. { title: '公众号关注次数', dataIndex: 'mp_follow_pv_total', label: '广告转化信息', width: 95 },
  54. { title: '公众号关注次数成本', dataIndex: 'mp_follow_pv_cost_total', label: '广告转化信息', width: 110 },
  55. { title: '快应用添加次数', dataIndex: 'add_quick_app_pv_total', label: '广告转化信息', width: 95 },
  56. { title: '快应用添加成本', dataIndex: 'add_quick_app_cost_total', label: '广告转化信息', width: 110 },
  57. { title: '快应用添加率', dataIndex: 'add_quick_app_rate_total', label: '广告转化信息', width: 95 },
  58. { title: '加企业微信客服人数', dataIndex: 'scan_follow_uv_total', label: '广告转化信息', width: 105 },
  59. { title: '加企业微信客服成本', dataIndex: 'scan_follow_cost_total', label: '广告转化信息', width: 110 },
  60. { title: '加企业微信客服率', dataIndex: 'scan_follow_rate_total', label: '广告转化信息', width: 105 },
  61. ]
  62. },
  63. {
  64. label: '商品转化',
  65. data: [
  66. { title: '首日新增下单量', dataIndex: 'first_day_order_count_total', label: '商品转化', width: 95 },
  67. { title: '首日新增下单金额', dataIndex: 'first_day_order_amount_total', label: '商品转化', width: 105 },
  68. { title: '首日新增下单ROI', dataIndex: 'first_day_order_roi_total', label: '商品转化', width: 95 },
  69. { title: '订单量', dataIndex: 'order_count_total', label: '商品转化', width: 95},
  70. { title: '订单金额', dataIndex: 'order_amount_total', label: '商品转化', width: 105 },
  71. { title: '下单成本', dataIndex: 'order_cost_total', label: '商品转化', width: 100 },
  72. { title: '下单率', dataIndex: 'order_rate_total', label: '商品转化', width: 95 },
  73. { title: '下单ROI', dataIndex: 'order_roi_total', label: '商品转化', width: 95 },
  74. { title: '客单价', dataIndex: 'atv_total', label: '商品转化', width: 95 },
  75. { title: '转化量', dataIndex: 'conversions_count_total', label: '商品转化', width: 95 },
  76. { title: '转化成本', dataIndex: 'conversions_cost_total', label: '商品转化', width: 100 },
  77. { title: '深度转化', dataIndex: 'deep_conversions_count_total', label: '商品转化', width: 95 },
  78. { title: '转化率', dataIndex: 'conversions_rate_total', label: '商品转化', width: 95 },
  79. { title: '加粉数', dataIndex: 'add_fans_count_total', label: '商品转化', width: 95 },
  80. { title: '加粉成本', dataIndex: 'add_fans_cost_total', label: '商品转化', width: 100 },
  81. ]
  82. },
  83. ]
  84. const qiliangpaihanghour = [
  85. {
  86. label: '设置信息',
  87. data: [
  88. { title: '时间', dataIndex: 'day', label: '设置信息', default: 1, width: 110 },
  89. { title: '广告名称', dataIndex: 'adgroup_name', label: '设置信息', default: 2, width: 170 },
  90. { title: '广告ID', dataIndex: 'adgroup_id', label: '设置信息', default: 9, width: 90 },
  91. { title: '广告账户', dataIndex: 'account_id', label: '设置信息', default: 10, width: 70 },
  92. { title: '创意预览', dataIndex: 'creative_ids', serverIndex: 'adgroup_data.creative_ids', label: '设置信息', width: 130 },
  93. { title: '投手', dataIndex: 'put_user_name', serverIndex: 'sys_user.put_user_name', label: '设置信息', default: 11, width: 65 },
  94. { title: '投放时间', dataIndex: 'begin_date', serverIndex: 'adgroup.begin_date, adgroup.end_date', label: '设置信息', default: 12, width: 135 },
  95. { title: '广告状态', dataIndex: 'system_status', serverIndex: 'adgroup.system_status', label: '设置信息', width: 85 },
  96. { title: '操作', dataIndex: 'event', label: '设置信息', default: 13, width: 210 },
  97. ]
  98. },
  99. {
  100. label: '费用',
  101. data: [
  102. { title: '广告预算', dataIndex: 'daily_budget', serverIndex: 'adgroup.daily_budget', label: '费用', width: 80 },
  103. { title: '出价方式', dataIndex: 'bid_mode', serverIndex: 'adgroup.bid_mode',label: '费用', width: 65 },
  104. { title: '当前出价', dataIndex: 'bid_amount', serverIndex: 'adgroup.bid_amount', label: '费用', width: 80 },
  105. // { title: '计划预算', dataIndex: 'planBudget', label: '费用' },
  106. { title: '广告总消耗', dataIndex: 'cost_total', label: '费用', default: 24, width: 100 },
  107. { title: '今日消耗', dataIndex: 'cost_day', label: '费用', default: 15, width: 90 },
  108. { title: '当前小时消耗', dataIndex: 'cost_hour', label: '费用', default: 16, width: 80 },
  109. { title: '前第1小时消耗', dataIndex: 'cost_last_hour', label: '费用', default: 17, width: 80 },
  110. { title: '前第2小时消耗', dataIndex: 'cost_last_two_hour', label: '费用', default: 18, width: 80 },
  111. { title: '前第3小时消耗', dataIndex: 'cost_last_three_hour', label: '费用', default: 19, width: 80 },
  112. { title: '当前小时消耗差额', dataIndex: 'cost_diff_before_hour', label: '费用', default: 20, width: 80 },
  113. { title: '前第1小时消耗差额', dataIndex: 'cost_diff_before_two_hour', label: '费用', default: 21, width: 90 },
  114. { title: '前第2小时消耗差额', dataIndex: 'cost_diff_before_three_hour', label: '费用', default: 22, width: 90 },
  115. { title: '前三小时消耗趋势', dataIndex: 'cost_trend_last_three_hour', label: '费用', default: 23, width: 70 },
  116. { title: '当前5min消耗流速', dataIndex: 'cost_speed', label: '费用', default: 14, width: 70 },
  117. ]
  118. },
  119. {
  120. label: '曝光',
  121. data: [
  122. { title: '曝光量(曝光次数)', dataIndex: 'view_day', label: '曝光', default: 3, width: 70 },
  123. { title: '千次曝光成本', dataIndex: 'thousand_display_price_day', label: '曝光', default: 4, width: 80 },
  124. ]
  125. },
  126. {
  127. label: '点击',
  128. data: [
  129. { title: '点击量(点击次数)', dataIndex: 'click_day', label: '点击', width: 75 },
  130. { title: '点击均价', dataIndex: 'cpc_day', label: '点击', width: 75 },
  131. { title: '点击率', dataIndex: 'ctr_day', label: '点击', width: 75 },
  132. ]
  133. },
  134. {
  135. label: '转化指标组',
  136. data: [
  137. { title: '优化目标(转化目标)', dataIndex: 'optimization_goal', serverIndex: 'adgroup.optimization_goal', label: '转化指标组', width: 120 },
  138. { title: '转化目标量', dataIndex: 'conversions_count_day', label: '转化指标组', default: 7, width: 75 },
  139. { title: '转化目标成本', dataIndex: 'conversions_cost_day', label: '转化指标组', default: 8, width: 75 },
  140. { title: '目标转化率', dataIndex: 'conversions_rate_day', label: '转化指标组', width: 75 },
  141. ]
  142. },
  143. {
  144. label: '商品转化',
  145. data: [
  146. { title: '下单量', dataIndex: 'order_count_day', label: '商品转化', width: 70 },
  147. // { title: '首日新增下单量', dataIndex: 'first_dayOrder_count_day', label: '商品转化', width: 80 },
  148. { title: '下单成本', dataIndex: 'order_cost_day', label: '商品转化', width: 75 },
  149. { title: '下单率', dataIndex: 'order_rate_day', label: '商品转化', width: 70 },
  150. { title: '下单金额', dataIndex: 'order_amount_day', label: '商品转化', width: 70 },
  151. // { title: '首日新增下单金额', dataIndex: 'first_day_order_amount_day', label: '商品转化', width: 75 },
  152. { title: '下单客单价', dataIndex: 'atv_day', label: '商品转化', width: 70 },
  153. { title: '下单ROI', dataIndex: 'order_roi_day', label: '商品转化', width: 75, default: 5 },
  154. // { title: '首日新增下单ROI', dataIndex: 'firstDayOrderRoiDay', label: '商品转化', width: 90 },
  155. ]
  156. },
  157. {
  158. label: '转化',
  159. data: [
  160. { title: '公众号关注人数', dataIndex: 'mp_follow_uv_day', label: '转化', default: 6, width: 85 },
  161. { title: '公众号关注率', dataIndex: 'mp_follow_rate_day', label: '转化', width: 70 },
  162. { title: '公众号关注成本', dataIndex: 'mp_follow_cost_day', label: '转化', width: 85 },
  163. { title: '加粉成本', dataIndex: 'add_fans_cost_day', label: '转化' },
  164. { title: '公众号关注次数成本', dataIndex: 'mp_follow_pv_cost_day', label: '转化' },
  165. { title: '加粉数', dataIndex: 'add_fans_count_day', label: '转化' },
  166. { title: '公众号关注次数', dataIndex: 'mp_follow_pv_day', label: '转化' },
  167. { title: '加企业微信客服人数', dataIndex: 'scan_follow_uv_day', label: '转化' },
  168. { title: '加企业微信客服成本', dataIndex: 'scan_follow_cost_day', label: '转化' },
  169. { title: '加企业微信客服率', dataIndex: 'scan_follow_rate_day', label: '转化' },
  170. ]
  171. },
  172. ]
  173. export { planAdConfig, qiliangpaihanghour }