|
@@ -111,7 +111,8 @@ class MateirialVideoDailyReport:
|
|
average_video_play, avg_rank,
|
|
average_video_play, avg_rank,
|
|
submit_certification_count, approval_count,
|
|
submit_certification_count, approval_count,
|
|
first_order_count, first_rental_order_count,
|
|
first_order_count, first_rental_order_count,
|
|
- commute_first_pay_count,video_url, cover_url)
|
|
|
|
|
|
+ commute_first_pay_count,video_url, cover_url,
|
|
|
|
+ shot_leader_id, shot_leader_name)
|
|
select
|
|
select
|
|
report.advertiser_id account_id, #'账户ID'
|
|
report.advertiser_id account_id, #'账户ID'
|
|
report.material_id, #头条素材id
|
|
report.material_id, #头条素材id
|
|
@@ -314,7 +315,9 @@ class MateirialVideoDailyReport:
|
|
report.`first_order_count`,
|
|
report.`first_order_count`,
|
|
report.`first_rental_order_count`,
|
|
report.`first_rental_order_count`,
|
|
report.`commute_first_pay_count`,
|
|
report.`commute_first_pay_count`,
|
|
- ifnull(concat('http://i.snssdk.com/video/code/1/toutiao/',video.id),'-') as video_url, cmi.cover_url
|
|
|
|
|
|
+ ifnull(concat('http://i.snssdk.com/video/code/1/toutiao/',video.id),'-') as video_url, cmi.cover_url,
|
|
|
|
+ cma.shot_leader_id,
|
|
|
|
+ cma.shot_leader_name
|
|
from media_api.bytedance_material_report_daily report
|
|
from media_api.bytedance_material_report_daily report
|
|
left join
|
|
left join
|
|
`media_api`.bytedance_file_video_get video
|
|
`media_api`.bytedance_file_video_get video
|