renyupeng 2 лет назад
Родитель
Сommit
c13cf4b09c

Разница между файлами не показана из-за своего большого размера
+ 122 - 2
Apietl/kwai_etl/report/AccountDailyReport.py


+ 220 - 2
Apietl/kwai_etl/report/AccountHourlyReport.py

@@ -61,7 +61,116 @@ class AccountHourlyReport:
  ad_photo_played_75percent_ratio, key_action_ratio, event_ad_watch_times_cost, event_add_shopping_cart, key_action,
  event_multi_conversion, event_wechat_connected, event_dsp_gift_form, event_intention_confirmed,
  event_phone_get_through, event_multi_conversion_ratio, event_measurement_house, ad_photo_played_2s_ratio,
- event_outbound_call_ratio, event_ad_watch_times,event_pay_purchase_amount_one_day_by_conversion)
+ event_outbound_call_ratio, event_ad_watch_times,event_pay_purchase_amount_one_day_by_conversion, ad_photo_played_10s
+,ad_photo_played_2s
+,ad_photo_played_75percent
+,approx_pay_cost
+,approx_pay_count
+,approx_pay_ratio
+,cancel_like
+,click_conversion_ratio
+,conversion_cost
+,conversion_cost_by_impression_7d
+,conversion_num
+,conversion_num_by_impression_7d
+,conversion_num_cost
+,conversion_ratio
+,conversion_ratio_by_impression_7d
+,deep_conversion_cost
+,deep_conversion_cost_by_impression_7d
+,deep_conversion_num
+,deep_conversion_num_by_impression_7d
+,deep_conversion_ratio
+,deep_conversion_ratio_by_impression_7d
+,download_completed_cost
+,download_completed_ratio
+,download_conversion_ratio
+,download_installed
+,download_started_cost
+,download_started_ratio
+,event_24h_stay
+,event_24h_stay_by_conversion
+,event_24h_stay_by_conversion_cost
+,event_24h_stay_by_conversion_ratio
+,event_24h_stay_cost
+,event_24h_stay_ratio
+,event_ad_watch_10_times
+,event_ad_watch_10_times_cost
+,event_ad_watch_10_times_ratio
+,event_ad_watch_20_times
+,event_ad_watch_20_times_cost
+,event_ad_watch_20_times_ratio
+,event_ad_watch_5_times
+,event_ad_watch_5_times_cost
+,event_ad_watch_5_times_ratio
+,event_audition
+,event_consultation_valid_retained
+,event_consultation_valid_retained_cost
+,event_consultation_valid_retained_ratio
+,event_conversion_click_cost
+,event_conversion_click_ratio
+,event_credit_grant_first_day_app
+,event_credit_grant_first_day_app_cost
+,event_credit_grant_first_day_app_ratio
+,event_credit_grant_first_day_landing_page
+,event_credit_grant_first_day_landing_page_cost
+,event_credit_grant_first_day_landing_page_ratio
+,event_making_calls
+,event_making_calls_cost
+,event_making_calls_ratio
+,event_order_submit
+,event_pay_purchase_amount_one_day
+,event_pay_purchase_amount_one_day_by_conversion_roi
+,event_pay_purchase_amount_one_day_roi
+,event_pay_purchase_amount_three_day_by_conversion
+,event_pay_purchase_amount_three_day_by_conversion_roi
+,event_pay_purchase_amount_week_by_conversion
+,event_pay_purchase_amount_week_by_conversion_roi
+,event_pay_week_by_conversion
+,event_pay_week_by_conversion_cost
+,event_pay_weighted_purchase_amount
+,event_pay_weighted_purchase_amount_first_day
+,event_pre_component_consultation_valid_retained
+,event_three_day_stay_by_conversion
+,event_three_day_stay_by_conversion_cost
+,event_three_day_stay_by_conversion_ratio
+,event_wechat_qr_code_link_click
+,event_week_stay_by_conversion
+,event_week_stay_by_conversion_cost
+,event_week_stay_by_conversion_ratio
+,live_event_goods_view
+,live_played_3s
+,played_end
+,played_five_seconds
+,played_three_seconds
+,event_next_day_stay_new
+,event_next_day_stay_new_cost
+,event_next_day_stay_new_ratio
+,ad_show
+,event_credit_card_recheck
+,event_credit_card_recheck_first_day
+,event_no_intention
+,event_multi_pay_seven_day_by_conversion
+,event_multi_pay_seven_day_by_conversion_cost
+,mcb_left_time_perf_cpa_bid
+,mcb_left_time_perf_roi_ratio
+,mcb_all_day_perf_cpa_bid
+,mcb_all_day_perf_roi_ratio
+,live_room_avg_played_seconds
+,ad_live_share
+,ad_live_comment
+,live_played_started
+,live_played_started_cost
+,ad_live_follow
+,ad_live_follow_cost
+,simple_live_played_started
+,standard_live_played_started
+,conversion_component_impression
+,conversion_component_click
+,conversion_component_rate
+,ad_landing_page_impression
+,ad_app_download_half_impression
+)
         select report.advertiser_id as account_id,
                stat_date,
                 `hour`,
@@ -203,7 +312,116 @@ class AccountHourlyReport:
                ad_photo_played_2s_ratio,
                event_outbound_call_ratio,
                event_ad_watch_times,
-               event_pay_purchase_amount_one_day_by_conversion
+               event_pay_purchase_amount_one_day_by_conversion,
+                ad_photo_played_10s
+,ad_photo_played_2s
+,ad_photo_played_75percent
+,approx_pay_cost
+,approx_pay_count
+,approx_pay_ratio
+,cancel_like
+,click_conversion_ratio
+,conversion_cost
+,conversion_cost_by_impression_7d
+,conversion_num
+,conversion_num_by_impression_7d
+,conversion_num_cost
+,conversion_ratio
+,conversion_ratio_by_impression_7d
+,deep_conversion_cost
+,deep_conversion_cost_by_impression_7d
+,deep_conversion_num
+,deep_conversion_num_by_impression_7d
+,deep_conversion_ratio
+,deep_conversion_ratio_by_impression_7d
+,download_completed_cost
+,download_completed_ratio
+,download_conversion_ratio
+,download_installed
+,download_started_cost
+,download_started_ratio
+,event_24h_stay
+,event_24h_stay_by_conversion
+,event_24h_stay_by_conversion_cost
+,event_24h_stay_by_conversion_ratio
+,event_24h_stay_cost
+,event_24h_stay_ratio
+,event_ad_watch_10_times
+,event_ad_watch_10_times_cost
+,event_ad_watch_10_times_ratio
+,event_ad_watch_20_times
+,event_ad_watch_20_times_cost
+,event_ad_watch_20_times_ratio
+,event_ad_watch_5_times
+,event_ad_watch_5_times_cost
+,event_ad_watch_5_times_ratio
+,event_audition
+,event_consultation_valid_retained
+,event_consultation_valid_retained_cost
+,event_consultation_valid_retained_ratio
+,event_conversion_click_cost
+,event_conversion_click_ratio
+,event_credit_grant_first_day_app
+,event_credit_grant_first_day_app_cost
+,event_credit_grant_first_day_app_ratio
+,event_credit_grant_first_day_landing_page
+,event_credit_grant_first_day_landing_page_cost
+,event_credit_grant_first_day_landing_page_ratio
+,event_making_calls
+,event_making_calls_cost
+,event_making_calls_ratio
+,event_order_submit
+,event_pay_purchase_amount_one_day
+,event_pay_purchase_amount_one_day_by_conversion_roi
+,event_pay_purchase_amount_one_day_roi
+,event_pay_purchase_amount_three_day_by_conversion
+,event_pay_purchase_amount_three_day_by_conversion_roi
+,event_pay_purchase_amount_week_by_conversion
+,event_pay_purchase_amount_week_by_conversion_roi
+,event_pay_week_by_conversion
+,event_pay_week_by_conversion_cost
+,event_pay_weighted_purchase_amount
+,event_pay_weighted_purchase_amount_first_day
+,event_pre_component_consultation_valid_retained
+,event_three_day_stay_by_conversion
+,event_three_day_stay_by_conversion_cost
+,event_three_day_stay_by_conversion_ratio
+,event_wechat_qr_code_link_click
+,event_week_stay_by_conversion
+,event_week_stay_by_conversion_cost
+,event_week_stay_by_conversion_ratio
+,live_event_goods_view
+,live_played_3s
+,played_end
+,played_five_seconds
+,played_three_seconds
+,event_next_day_stay_new
+,event_next_day_stay_new_cost
+,event_next_day_stay_new_ratio
+,ad_show
+,event_credit_card_recheck
+,event_credit_card_recheck_first_day
+,event_no_intention
+,event_multi_pay_seven_day_by_conversion
+,event_multi_pay_seven_day_by_conversion_cost
+,mcb_left_time_perf_cpa_bid
+,mcb_left_time_perf_roi_ratio
+,mcb_all_day_perf_cpa_bid
+,mcb_all_day_perf_roi_ratio
+,live_room_avg_played_seconds
+,ad_live_share
+,ad_live_comment
+,live_played_started
+,live_played_started_cost
+,ad_live_follow
+,ad_live_follow_cost
+,simple_live_played_started
+,standard_live_played_started
+,conversion_component_impression
+,conversion_component_click
+,conversion_component_rate
+,ad_landing_page_impression
+,ad_app_download_half_impression
         from media_api.kuaishou_account_report_hourly report
                  left join
              `jeecg-boot`.ctop_account_attribution_info sys

+ 219 - 1
Apietl/kwai_etl/report/AccountHourlySumToDayReport.py

@@ -163,7 +163,116 @@ report.event_measurement_house,
 report.ad_photo_played_2s_ratio,
 report.event_outbound_call_ratio,
 report.event_ad_watch_times,
-report.event_pay_purchase_amount_one_day_by_conversion
+report.event_pay_purchase_amount_one_day_by_conversion,
+ report.ad_photo_played_10s
+,report.ad_photo_played_2s
+,report.ad_photo_played_75percent
+,report.approx_pay_cost
+,report.approx_pay_count
+,report.approx_pay_ratio
+,report.cancel_like
+,report.click_conversion_ratio
+,report.conversion_cost
+,report.conversion_cost_by_impression_7d
+,report.conversion_num
+,report.conversion_num_by_impression_7d
+,report.conversion_num_cost
+,report.conversion_ratio
+,report.conversion_ratio_by_impression_7d
+,report.deep_conversion_cost
+,report.deep_conversion_cost_by_impression_7d
+,report.deep_conversion_num
+,report.deep_conversion_num_by_impression_7d
+,report.deep_conversion_ratio
+,report.deep_conversion_ratio_by_impression_7d
+,report.download_completed_cost
+,report.download_completed_ratio
+,report.download_conversion_ratio
+,report.download_installed
+,report.download_started_cost
+,report.download_started_ratio
+,report.event_24h_stay
+,report.event_24h_stay_by_conversion
+,report.event_24h_stay_by_conversion_cost
+,report.event_24h_stay_by_conversion_ratio
+,report.event_24h_stay_cost
+,report.event_24h_stay_ratio
+,report.event_ad_watch_10_times
+,report.event_ad_watch_10_times_cost
+,report.event_ad_watch_10_times_ratio
+,report.event_ad_watch_20_times
+,report.event_ad_watch_20_times_cost
+,report.event_ad_watch_20_times_ratio
+,report.event_ad_watch_5_times
+,report.event_ad_watch_5_times_cost
+,report.event_ad_watch_5_times_ratio
+,report.event_audition
+,report.event_consultation_valid_retained
+,report.event_consultation_valid_retained_cost
+,report.event_consultation_valid_retained_ratio
+,report.event_conversion_click_cost
+,report.event_conversion_click_ratio
+,report.event_credit_grant_first_day_app
+,report.event_credit_grant_first_day_app_cost
+,report.event_credit_grant_first_day_app_ratio
+,report.event_credit_grant_first_day_landing_page
+,report.event_credit_grant_first_day_landing_page_cost
+,report.event_credit_grant_first_day_landing_page_ratio
+,report.event_making_calls
+,report.event_making_calls_cost
+,report.event_making_calls_ratio
+,report.event_order_submit
+,report.event_pay_purchase_amount_one_day
+,report.event_pay_purchase_amount_one_day_by_conversion_roi
+,report.event_pay_purchase_amount_one_day_roi
+,report.event_pay_purchase_amount_three_day_by_conversion
+,report.event_pay_purchase_amount_three_day_by_conversion_roi
+,report.event_pay_purchase_amount_week_by_conversion
+,report.event_pay_purchase_amount_week_by_conversion_roi
+,report.event_pay_week_by_conversion
+,report.event_pay_week_by_conversion_cost
+,report.event_pay_weighted_purchase_amount
+,report.event_pay_weighted_purchase_amount_first_day
+,report.event_pre_component_consultation_valid_retained
+,report.event_three_day_stay_by_conversion
+,report.event_three_day_stay_by_conversion_cost
+,report.event_three_day_stay_by_conversion_ratio
+,report.event_wechat_qr_code_link_click
+,report.event_week_stay_by_conversion
+,report.event_week_stay_by_conversion_cost
+,report.event_week_stay_by_conversion_ratio
+,report.live_event_goods_view
+,report.live_played_3s
+,report.played_end
+,report.played_five_seconds
+,report.played_three_seconds
+,report.event_next_day_stay_new
+,report.event_next_day_stay_new_cost
+,report.event_next_day_stay_new_ratio
+,report.ad_show
+,report.event_credit_card_recheck
+,report.event_credit_card_recheck_first_day
+,report.event_no_intention
+,report.event_multi_pay_seven_day_by_conversion
+,report.event_multi_pay_seven_day_by_conversion_cost
+,report.mcb_left_time_perf_cpa_bid
+,report.mcb_left_time_perf_roi_ratio
+,report.mcb_all_day_perf_cpa_bid
+,report.mcb_all_day_perf_roi_ratio
+,report.live_room_avg_played_seconds
+,report.ad_live_share
+,report.ad_live_comment
+,report.live_played_started
+,report.live_played_started_cost
+,report.ad_live_follow
+,report.ad_live_follow_cost
+,report.simple_live_played_started
+,report.standard_live_played_started
+,report.conversion_component_impression
+,report.conversion_component_click
+,report.conversion_component_rate
+,report.ad_landing_page_impression
+,report.ad_app_download_half_impression
 from 
 (select
         stat_date,
@@ -294,6 +403,115 @@ ifnull(round(sum(ad_photo_played_2s_ratio)*100,3),0) ad_photo_played_2s_ratio,
 ifnull(round(sum(event_outbound_call_ratio)/sum(activation)*100,3),0) event_outbound_call_ratio,
 sum(event_ad_watch_times) event_ad_watch_times,
 sum(event_pay_purchase_amount_one_day_by_conversion) as event_pay_purchase_amount_one_day_by_conversion
+,sum(ad_photo_played_10s) as           ad_photo_played_10s
+,sum(ad_photo_played_2s) as           ad_photo_played_2s
+,sum(ad_photo_played_75percent) as           ad_photo_played_75percent
+,sum(approx_pay_cost) as           approx_pay_cost
+,sum(approx_pay_count) as           approx_pay_count
+,sum(approx_pay_ratio) as           approx_pay_ratio
+,sum(cancel_like) as           cancel_like
+,sum(click_conversion_ratio) as           click_conversion_ratio
+,sum(conversion_cost) as           conversion_cost
+,sum(conversion_cost_by_impression_7d) as           conversion_cost_by_impression_7d
+,sum(conversion_num) as           conversion_num
+,sum(conversion_num_by_impression_7d) as           conversion_num_by_impression_7d
+,sum(conversion_num_cost) as           conversion_num_cost
+,sum(conversion_ratio) as           conversion_ratio
+,sum(conversion_ratio_by_impression_7d) as           conversion_ratio_by_impression_7d
+,sum(deep_conversion_cost) as           deep_conversion_cost
+,sum(deep_conversion_cost_by_impression_7d) as           deep_conversion_cost_by_impression_7d
+,sum(deep_conversion_num) as           deep_conversion_num
+,sum(deep_conversion_num_by_impression_7d) as           deep_conversion_num_by_impression_7d
+,sum(deep_conversion_ratio) as           deep_conversion_ratio
+,sum(deep_conversion_ratio_by_impression_7d) as           deep_conversion_ratio_by_impression_7d
+,sum(download_completed_cost) as           download_completed_cost
+,sum(download_completed_ratio) as           download_completed_ratio
+,sum(download_conversion_ratio) as           download_conversion_ratio
+,sum(download_installed) as           download_installed
+,sum(download_started_cost) as           download_started_cost
+,sum(download_started_ratio) as           download_started_ratio
+,sum(event_24h_stay) as           event_24h_stay
+,sum(event_24h_stay_by_conversion) as           event_24h_stay_by_conversion
+,sum(event_24h_stay_by_conversion_cost) as           event_24h_stay_by_conversion_cost
+,sum(event_24h_stay_by_conversion_ratio) as           event_24h_stay_by_conversion_ratio
+,sum(event_24h_stay_cost) as           event_24h_stay_cost
+,sum(event_24h_stay_ratio) as           event_24h_stay_ratio
+,sum(event_ad_watch_10_times) as           event_ad_watch_10_times
+,sum(event_ad_watch_10_times_cost) as           event_ad_watch_10_times_cost
+,sum(event_ad_watch_10_times_ratio) as           event_ad_watch_10_times_ratio
+,sum(event_ad_watch_20_times) as           event_ad_watch_20_times
+,sum(event_ad_watch_20_times_cost) as           event_ad_watch_20_times_cost
+,sum(event_ad_watch_20_times_ratio) as           event_ad_watch_20_times_ratio
+,sum(event_ad_watch_5_times) as           event_ad_watch_5_times
+,sum(event_ad_watch_5_times_cost) as           event_ad_watch_5_times_cost
+,sum(event_ad_watch_5_times_ratio) as           event_ad_watch_5_times_ratio
+,sum(event_audition) as           event_audition
+,sum(event_consultation_valid_retained) as           event_consultation_valid_retained
+,sum(event_consultation_valid_retained_cost) as           event_consultation_valid_retained_cost
+,sum(event_consultation_valid_retained_ratio) as           event_consultation_valid_retained_ratio
+,sum(event_conversion_click_cost) as           event_conversion_click_cost
+,sum(event_conversion_click_ratio) as           event_conversion_click_ratio
+,sum(event_credit_grant_first_day_app) as           event_credit_grant_first_day_app
+,sum(event_credit_grant_first_day_app_cost) as           event_credit_grant_first_day_app_cost
+,sum(event_credit_grant_first_day_app_ratio) as           event_credit_grant_first_day_app_ratio
+,sum(event_credit_grant_first_day_landing_page) as           event_credit_grant_first_day_landing_page
+,sum(event_credit_grant_first_day_landing_page_cost) as           event_credit_grant_first_day_landing_page_cost
+,sum(event_credit_grant_first_day_landing_page_ratio) as           event_credit_grant_first_day_landing_page_ratio
+,sum(event_making_calls) as           event_making_calls
+,sum(event_making_calls_cost) as           event_making_calls_cost
+,sum(event_making_calls_ratio) as           event_making_calls_ratio
+,sum(event_order_submit) as           event_order_submit
+,sum(event_pay_purchase_amount_one_day) as           event_pay_purchase_amount_one_day
+,sum(event_pay_purchase_amount_one_day_by_conversion_roi) as           event_pay_purchase_amount_one_day_by_conversion_roi
+,sum(event_pay_purchase_amount_one_day_roi) as           event_pay_purchase_amount_one_day_roi
+,sum(event_pay_purchase_amount_three_day_by_conversion) as           event_pay_purchase_amount_three_day_by_conversion
+,sum(event_pay_purchase_amount_three_day_by_conversion_roi) as           event_pay_purchase_amount_three_day_by_conversion_roi
+,sum(event_pay_purchase_amount_week_by_conversion) as           event_pay_purchase_amount_week_by_conversion
+,sum(event_pay_purchase_amount_week_by_conversion_roi) as           event_pay_purchase_amount_week_by_conversion_roi
+,sum(event_pay_week_by_conversion) as           event_pay_week_by_conversion
+,sum(event_pay_week_by_conversion_cost) as           event_pay_week_by_conversion_cost
+,sum(event_pay_weighted_purchase_amount) as           event_pay_weighted_purchase_amount
+,sum(event_pay_weighted_purchase_amount_first_day) as           event_pay_weighted_purchase_amount_first_day
+,sum(event_pre_component_consultation_valid_retained) as           event_pre_component_consultation_valid_retained
+,sum(event_three_day_stay_by_conversion) as           event_three_day_stay_by_conversion
+,sum(event_three_day_stay_by_conversion_cost) as           event_three_day_stay_by_conversion_cost
+,sum(event_three_day_stay_by_conversion_ratio) as           event_three_day_stay_by_conversion_ratio
+,sum(event_wechat_qr_code_link_click) as           event_wechat_qr_code_link_click
+,sum(event_week_stay_by_conversion) as           event_week_stay_by_conversion
+,sum(event_week_stay_by_conversion_cost) as           event_week_stay_by_conversion_cost
+,sum(event_week_stay_by_conversion_ratio) as           event_week_stay_by_conversion_ratio
+,sum(live_event_goods_view) as           live_event_goods_view
+,sum(live_played_3s) as           live_played_3s
+,sum(played_end) as           played_end
+,sum(played_five_seconds) as           played_five_seconds
+,sum(played_three_seconds) as           played_three_seconds
+,sum(event_next_day_stay_new) as           event_next_day_stay_new
+,sum(event_next_day_stay_new_cost) as           event_next_day_stay_new_cost
+,sum(event_next_day_stay_new_ratio) as           event_next_day_stay_new_ratio
+,sum(ad_show) as           ad_show
+,sum(event_credit_card_recheck) as           event_credit_card_recheck
+,sum(event_credit_card_recheck_first_day) as           event_credit_card_recheck_first_day
+,sum(event_no_intention) as           event_no_intention
+,sum(event_multi_pay_seven_day_by_conversion) as           event_multi_pay_seven_day_by_conversion
+,sum(event_multi_pay_seven_day_by_conversion_cost) as           event_multi_pay_seven_day_by_conversion_cost
+,sum(mcb_left_time_perf_cpa_bid) as           mcb_left_time_perf_cpa_bid
+,sum(mcb_left_time_perf_roi_ratio) as           mcb_left_time_perf_roi_ratio
+,sum(mcb_all_day_perf_cpa_bid) as           mcb_all_day_perf_cpa_bid
+,sum(mcb_all_day_perf_roi_ratio) as           mcb_all_day_perf_roi_ratio
+,sum(live_room_avg_played_seconds) as           live_room_avg_played_seconds
+,sum(ad_live_share) as           ad_live_share
+,sum(ad_live_comment) as           ad_live_comment
+,sum(live_played_started) as           live_played_started
+,sum(live_played_started_cost) as           live_played_started_cost
+,sum(ad_live_follow) as           ad_live_follow
+,sum(ad_live_follow_cost) as           ad_live_follow_cost
+,sum(simple_live_played_started) as           simple_live_played_started
+,sum(standard_live_played_started) as           standard_live_played_started
+,sum(conversion_component_impression) as           conversion_component_impression
+,sum(conversion_component_click) as           conversion_component_click
+,sum(conversion_component_rate) as           conversion_component_rate
+,sum(ad_landing_page_impression) as           ad_landing_page_impression
+,sum(ad_app_download_half_impression) as           ad_app_download_half_impression
 from 
  media_api.kuaishou_account_report_hourly a
  where stat_date={stat_date}

+ 443 - 4
Apietl/kwai_etl/report/AccountReport.py

@@ -49,7 +49,117 @@ class AccountReport:
  ad_photo_played_75percent_ratio, key_action_ratio, event_ad_watch_times_cost, event_add_shopping_cart, key_action,
  event_multi_conversion, event_wechat_connected, event_dsp_gift_form, event_intention_confirmed,
  event_phone_get_through, event_multi_conversion_ratio, event_measurement_house, ad_photo_played_2s_ratio,
- event_outbound_call_ratio, event_ad_watch_times,event_pay_purchase_amount_one_day_by_conversion)
+ event_outbound_call_ratio, event_ad_watch_times,event_pay_purchase_amount_one_day_by_conversion,
+  ad_photo_played_10s
+,ad_photo_played_2s
+,ad_photo_played_75percent
+,approx_pay_cost
+,approx_pay_count
+,approx_pay_ratio
+,cancel_like
+,click_conversion_ratio
+,conversion_cost
+,conversion_cost_by_impression_7d
+,conversion_num
+,conversion_num_by_impression_7d
+,conversion_num_cost
+,conversion_ratio
+,conversion_ratio_by_impression_7d
+,deep_conversion_cost
+,deep_conversion_cost_by_impression_7d
+,deep_conversion_num
+,deep_conversion_num_by_impression_7d
+,deep_conversion_ratio
+,deep_conversion_ratio_by_impression_7d
+,download_completed_cost
+,download_completed_ratio
+,download_conversion_ratio
+,download_installed
+,download_started_cost
+,download_started_ratio
+,event_24h_stay
+,event_24h_stay_by_conversion
+,event_24h_stay_by_conversion_cost
+,event_24h_stay_by_conversion_ratio
+,event_24h_stay_cost
+,event_24h_stay_ratio
+,event_ad_watch_10_times
+,event_ad_watch_10_times_cost
+,event_ad_watch_10_times_ratio
+,event_ad_watch_20_times
+,event_ad_watch_20_times_cost
+,event_ad_watch_20_times_ratio
+,event_ad_watch_5_times
+,event_ad_watch_5_times_cost
+,event_ad_watch_5_times_ratio
+,event_audition
+,event_consultation_valid_retained
+,event_consultation_valid_retained_cost
+,event_consultation_valid_retained_ratio
+,event_conversion_click_cost
+,event_conversion_click_ratio
+,event_credit_grant_first_day_app
+,event_credit_grant_first_day_app_cost
+,event_credit_grant_first_day_app_ratio
+,event_credit_grant_first_day_landing_page
+,event_credit_grant_first_day_landing_page_cost
+,event_credit_grant_first_day_landing_page_ratio
+,event_making_calls
+,event_making_calls_cost
+,event_making_calls_ratio
+,event_order_submit
+,event_pay_purchase_amount_one_day
+,event_pay_purchase_amount_one_day_by_conversion_roi
+,event_pay_purchase_amount_one_day_roi
+,event_pay_purchase_amount_three_day_by_conversion
+,event_pay_purchase_amount_three_day_by_conversion_roi
+,event_pay_purchase_amount_week_by_conversion
+,event_pay_purchase_amount_week_by_conversion_roi
+,event_pay_week_by_conversion
+,event_pay_week_by_conversion_cost
+,event_pay_weighted_purchase_amount
+,event_pay_weighted_purchase_amount_first_day
+,event_pre_component_consultation_valid_retained
+,event_three_day_stay_by_conversion
+,event_three_day_stay_by_conversion_cost
+,event_three_day_stay_by_conversion_ratio
+,event_wechat_qr_code_link_click
+,event_week_stay_by_conversion
+,event_week_stay_by_conversion_cost
+,event_week_stay_by_conversion_ratio
+,live_event_goods_view
+,live_played_3s
+,played_end
+,played_five_seconds
+,played_three_seconds
+,event_next_day_stay_new
+,event_next_day_stay_new_cost
+,event_next_day_stay_new_ratio
+,ad_show
+,event_credit_card_recheck
+,event_credit_card_recheck_first_day
+,event_no_intention
+,event_multi_pay_seven_day_by_conversion
+,event_multi_pay_seven_day_by_conversion_cost
+,mcb_left_time_perf_cpa_bid
+,mcb_left_time_perf_roi_ratio
+,mcb_all_day_perf_cpa_bid
+,mcb_all_day_perf_roi_ratio
+,live_room_avg_played_seconds
+,ad_live_share
+,ad_live_comment
+,live_played_started
+,live_played_started_cost
+,ad_live_follow
+,ad_live_follow_cost
+,simple_live_played_started
+,standard_live_played_started
+,conversion_component_impression
+,conversion_component_click
+,conversion_component_rate
+,ad_landing_page_impression
+,ad_app_download_half_impression
+)
         select report.advertiser_id as account_id,
                stat_date,
                project_id,
@@ -190,7 +300,117 @@ class AccountReport:
                ad_photo_played_2s_ratio,
                event_outbound_call_ratio,
                event_ad_watch_times,
-               event_pay_purchase_amount_one_day_by_conversion
+               event_pay_purchase_amount_one_day_by_conversion,
+                ad_photo_played_10s
+,ad_photo_played_2s
+,ad_photo_played_75percent
+,approx_pay_cost
+,approx_pay_count
+,approx_pay_ratio
+,cancel_like
+,click_conversion_ratio
+,conversion_cost
+,conversion_cost_by_impression_7d
+,conversion_num
+,conversion_num_by_impression_7d
+,conversion_num_cost
+,conversion_ratio
+,conversion_ratio_by_impression_7d
+,deep_conversion_cost
+,deep_conversion_cost_by_impression_7d
+,deep_conversion_num
+,deep_conversion_num_by_impression_7d
+,deep_conversion_ratio
+,deep_conversion_ratio_by_impression_7d
+,download_completed_cost
+,download_completed_ratio
+,download_conversion_ratio
+,download_installed
+,download_started_cost
+,download_started_ratio
+,event_24h_stay
+,event_24h_stay_by_conversion
+,event_24h_stay_by_conversion_cost
+,event_24h_stay_by_conversion_ratio
+,event_24h_stay_cost
+,event_24h_stay_ratio
+,event_ad_watch_10_times
+,event_ad_watch_10_times_cost
+,event_ad_watch_10_times_ratio
+,event_ad_watch_20_times
+,event_ad_watch_20_times_cost
+,event_ad_watch_20_times_ratio
+,event_ad_watch_5_times
+,event_ad_watch_5_times_cost
+,event_ad_watch_5_times_ratio
+,event_audition
+,event_consultation_valid_retained
+,event_consultation_valid_retained_cost
+,event_consultation_valid_retained_ratio
+,event_conversion_click_cost
+,event_conversion_click_ratio
+,event_credit_grant_first_day_app
+,event_credit_grant_first_day_app_cost
+,event_credit_grant_first_day_app_ratio
+,event_credit_grant_first_day_landing_page
+,event_credit_grant_first_day_landing_page_cost
+,event_credit_grant_first_day_landing_page_ratio
+,event_making_calls
+,event_making_calls_cost
+,event_making_calls_ratio
+,event_order_submit
+,event_pay_purchase_amount_one_day
+,event_pay_purchase_amount_one_day_by_conversion_roi
+,event_pay_purchase_amount_one_day_roi
+,event_pay_purchase_amount_three_day_by_conversion
+,event_pay_purchase_amount_three_day_by_conversion_roi
+,event_pay_purchase_amount_week_by_conversion
+,event_pay_purchase_amount_week_by_conversion_roi
+,event_pay_week_by_conversion
+,event_pay_week_by_conversion_cost
+,event_pay_weighted_purchase_amount
+,event_pay_weighted_purchase_amount_first_day
+,event_pre_component_consultation_valid_retained
+,event_three_day_stay_by_conversion
+,event_three_day_stay_by_conversion_cost
+,event_three_day_stay_by_conversion_ratio
+,event_wechat_qr_code_link_click
+,event_week_stay_by_conversion
+,event_week_stay_by_conversion_cost
+,event_week_stay_by_conversion_ratio
+,live_event_goods_view
+,live_played_3s
+,played_end
+,played_five_seconds
+,played_three_seconds
+,event_next_day_stay_new
+,event_next_day_stay_new_cost
+,event_next_day_stay_new_ratio
+,ad_show
+,event_credit_card_recheck
+,event_credit_card_recheck_first_day
+,event_no_intention
+,event_multi_pay_seven_day_by_conversion
+,event_multi_pay_seven_day_by_conversion_cost
+,mcb_left_time_perf_cpa_bid
+,mcb_left_time_perf_roi_ratio
+,mcb_all_day_perf_cpa_bid
+,mcb_all_day_perf_roi_ratio
+,live_room_avg_played_seconds
+,ad_live_share
+,ad_live_comment
+,live_played_started
+,live_played_started_cost
+,ad_live_follow
+,ad_live_follow_cost
+,simple_live_played_started
+,standard_live_played_started
+,conversion_component_impression
+,conversion_component_click
+,conversion_component_rate
+,ad_landing_page_impression
+,ad_app_download_half_impression
+
         from media_api.kuaishou_account_report_daily report
                  left join
              `jeecg-boot`.ctop_account_attribution_info sys
@@ -237,7 +457,116 @@ class AccountReport:
  ad_photo_played_75percent_ratio, key_action_ratio, event_ad_watch_times_cost, event_add_shopping_cart, key_action,
  event_multi_conversion, event_wechat_connected, event_dsp_gift_form, event_intention_confirmed,
  event_phone_get_through, event_multi_conversion_ratio, event_measurement_house, ad_photo_played_2s_ratio,
- event_outbound_call_ratio, event_ad_watch_times,event_pay_purchase_amount_one_day_by_conversion)
+ event_outbound_call_ratio, event_ad_watch_times,event_pay_purchase_amount_one_day_by_conversion, ad_photo_played_10s
+,ad_photo_played_2s
+,ad_photo_played_75percent
+,approx_pay_cost
+,approx_pay_count
+,approx_pay_ratio
+,cancel_like
+,click_conversion_ratio
+,conversion_cost
+,conversion_cost_by_impression_7d
+,conversion_num
+,conversion_num_by_impression_7d
+,conversion_num_cost
+,conversion_ratio
+,conversion_ratio_by_impression_7d
+,deep_conversion_cost
+,deep_conversion_cost_by_impression_7d
+,deep_conversion_num
+,deep_conversion_num_by_impression_7d
+,deep_conversion_ratio
+,deep_conversion_ratio_by_impression_7d
+,download_completed_cost
+,download_completed_ratio
+,download_conversion_ratio
+,download_installed
+,download_started_cost
+,download_started_ratio
+,event_24h_stay
+,event_24h_stay_by_conversion
+,event_24h_stay_by_conversion_cost
+,event_24h_stay_by_conversion_ratio
+,event_24h_stay_cost
+,event_24h_stay_ratio
+,event_ad_watch_10_times
+,event_ad_watch_10_times_cost
+,event_ad_watch_10_times_ratio
+,event_ad_watch_20_times
+,event_ad_watch_20_times_cost
+,event_ad_watch_20_times_ratio
+,event_ad_watch_5_times
+,event_ad_watch_5_times_cost
+,event_ad_watch_5_times_ratio
+,event_audition
+,event_consultation_valid_retained
+,event_consultation_valid_retained_cost
+,event_consultation_valid_retained_ratio
+,event_conversion_click_cost
+,event_conversion_click_ratio
+,event_credit_grant_first_day_app
+,event_credit_grant_first_day_app_cost
+,event_credit_grant_first_day_app_ratio
+,event_credit_grant_first_day_landing_page
+,event_credit_grant_first_day_landing_page_cost
+,event_credit_grant_first_day_landing_page_ratio
+,event_making_calls
+,event_making_calls_cost
+,event_making_calls_ratio
+,event_order_submit
+,event_pay_purchase_amount_one_day
+,event_pay_purchase_amount_one_day_by_conversion_roi
+,event_pay_purchase_amount_one_day_roi
+,event_pay_purchase_amount_three_day_by_conversion
+,event_pay_purchase_amount_three_day_by_conversion_roi
+,event_pay_purchase_amount_week_by_conversion
+,event_pay_purchase_amount_week_by_conversion_roi
+,event_pay_week_by_conversion
+,event_pay_week_by_conversion_cost
+,event_pay_weighted_purchase_amount
+,event_pay_weighted_purchase_amount_first_day
+,event_pre_component_consultation_valid_retained
+,event_three_day_stay_by_conversion
+,event_three_day_stay_by_conversion_cost
+,event_three_day_stay_by_conversion_ratio
+,event_wechat_qr_code_link_click
+,event_week_stay_by_conversion
+,event_week_stay_by_conversion_cost
+,event_week_stay_by_conversion_ratio
+,live_event_goods_view
+,live_played_3s
+,played_end
+,played_five_seconds
+,played_three_seconds
+,event_next_day_stay_new
+,event_next_day_stay_new_cost
+,event_next_day_stay_new_ratio
+,ad_show
+,event_credit_card_recheck
+,event_credit_card_recheck_first_day
+,event_no_intention
+,event_multi_pay_seven_day_by_conversion
+,event_multi_pay_seven_day_by_conversion_cost
+,mcb_left_time_perf_cpa_bid
+,mcb_left_time_perf_roi_ratio
+,mcb_all_day_perf_cpa_bid
+,mcb_all_day_perf_roi_ratio
+,live_room_avg_played_seconds
+,ad_live_share
+,ad_live_comment
+,live_played_started
+,live_played_started_cost
+,ad_live_follow
+,ad_live_follow_cost
+,simple_live_played_started
+,standard_live_played_started
+,conversion_component_impression
+,conversion_component_click
+,conversion_component_rate
+,ad_landing_page_impression
+,ad_app_download_half_impression
+)
         select report.advertiser_id as account_id,
                stat_date,
                `hour`,
@@ -379,7 +708,117 @@ class AccountReport:
                ad_photo_played_2s_ratio,
                event_outbound_call_ratio,
                event_ad_watch_times,
-               event_pay_purchase_amount_one_day_by_conversion
+               event_pay_purchase_amount_one_day_by_conversion,
+                ad_photo_played_10s
+,ad_photo_played_2s
+,ad_photo_played_75percent
+,approx_pay_cost
+,approx_pay_count
+,approx_pay_ratio
+,cancel_like
+,click_conversion_ratio
+,conversion_cost
+,conversion_cost_by_impression_7d
+,conversion_num
+,conversion_num_by_impression_7d
+,conversion_num_cost
+,conversion_ratio
+,conversion_ratio_by_impression_7d
+,deep_conversion_cost
+,deep_conversion_cost_by_impression_7d
+,deep_conversion_num
+,deep_conversion_num_by_impression_7d
+,deep_conversion_ratio
+,deep_conversion_ratio_by_impression_7d
+,download_completed_cost
+,download_completed_ratio
+,download_conversion_ratio
+,download_installed
+,download_started_cost
+,download_started_ratio
+,event_24h_stay
+,event_24h_stay_by_conversion
+,event_24h_stay_by_conversion_cost
+,event_24h_stay_by_conversion_ratio
+,event_24h_stay_cost
+,event_24h_stay_ratio
+,event_ad_watch_10_times
+,event_ad_watch_10_times_cost
+,event_ad_watch_10_times_ratio
+,event_ad_watch_20_times
+,event_ad_watch_20_times_cost
+,event_ad_watch_20_times_ratio
+,event_ad_watch_5_times
+,event_ad_watch_5_times_cost
+,event_ad_watch_5_times_ratio
+,event_audition
+,event_consultation_valid_retained
+,event_consultation_valid_retained_cost
+,event_consultation_valid_retained_ratio
+,event_conversion_click_cost
+,event_conversion_click_ratio
+,event_credit_grant_first_day_app
+,event_credit_grant_first_day_app_cost
+,event_credit_grant_first_day_app_ratio
+,event_credit_grant_first_day_landing_page
+,event_credit_grant_first_day_landing_page_cost
+,event_credit_grant_first_day_landing_page_ratio
+,event_making_calls
+,event_making_calls_cost
+,event_making_calls_ratio
+,event_order_submit
+,event_pay_purchase_amount_one_day
+,event_pay_purchase_amount_one_day_by_conversion_roi
+,event_pay_purchase_amount_one_day_roi
+,event_pay_purchase_amount_three_day_by_conversion
+,event_pay_purchase_amount_three_day_by_conversion_roi
+,event_pay_purchase_amount_week_by_conversion
+,event_pay_purchase_amount_week_by_conversion_roi
+,event_pay_week_by_conversion
+,event_pay_week_by_conversion_cost
+,event_pay_weighted_purchase_amount
+,event_pay_weighted_purchase_amount_first_day
+,event_pre_component_consultation_valid_retained
+,event_three_day_stay_by_conversion
+,event_three_day_stay_by_conversion_cost
+,event_three_day_stay_by_conversion_ratio
+,event_wechat_qr_code_link_click
+,event_week_stay_by_conversion
+,event_week_stay_by_conversion_cost
+,event_week_stay_by_conversion_ratio
+,live_event_goods_view
+,live_played_3s
+,played_end
+,played_five_seconds
+,played_three_seconds
+,event_next_day_stay_new
+,event_next_day_stay_new_cost
+,event_next_day_stay_new_ratio
+,ad_show
+,event_credit_card_recheck
+,event_credit_card_recheck_first_day
+,event_no_intention
+,event_multi_pay_seven_day_by_conversion
+,event_multi_pay_seven_day_by_conversion_cost
+,mcb_left_time_perf_cpa_bid
+,mcb_left_time_perf_roi_ratio
+,mcb_all_day_perf_cpa_bid
+,mcb_all_day_perf_roi_ratio
+,live_room_avg_played_seconds
+,ad_live_share
+,ad_live_comment
+,live_played_started
+,live_played_started_cost
+,ad_live_follow
+,ad_live_follow_cost
+,simple_live_played_started
+,standard_live_played_started
+,conversion_component_impression
+,conversion_component_click
+,conversion_component_rate
+,ad_landing_page_impression
+,ad_app_download_half_impression
+
         from media_api.kuaishou_account_report_hourly report
                  left join
              `jeecg-boot`.ctop_account_attribution_info sys