renyupeng 1 year ago
parent
commit
27601e4ffc

+ 1 - 1
Apietl/bytedance_etl/report/MaterialVideoDailyReport.py

@@ -314,7 +314,7 @@ class MateirialVideoDailyReport:
                            report.`first_order_count`,
                            report.`first_rental_order_count`,
                            report.`commute_first_pay_count`,
-                           video.video_url, cmi.cover_url
+                           ifnull(concat('http://i.snssdk.com/video/code/1/toutiao/',video.id),'-') as video_url, cmi.cover_url
                     from media_api.bytedance_material_report_daily report
                     left join
                     `media_api`.bytedance_file_video_get video

+ 1 - 1
Apietl/bytedance_etl/report/NewMaterialVideoDailyReport.py

@@ -151,7 +151,7 @@ select report.advertiser_id
        in_app_cart,
        in_app_pay,
        in_app_order,
-       video.video_url,
+       ifnull(concat('http://i.snssdk.com/video/code/1/toutiao/',video.id),'-') as video_url ,
        cmi.cover_url
 from media_api.bytedance_material_video_daily report
          left join

+ 1 - 1
Apietl/kwai_etl/report/MateirialVideoDailyReport.py

@@ -121,7 +121,7 @@ select report.advertiser_id
        product.id                                                                               as product_id,
        ca.id                                                                                    as advertiser_id,
        uc.company_id,
-       account_name,
+      cua.auth_name as  account_name,
        cp.project_name                                                                          as project_name,
        ca.name                                                                                  as advertiser_name,
        uc.company_name,