renyupeng vor 3 Jahren
Ursprung
Commit
ab303d297d

+ 3 - 2
Apietl/bytedance_etl/report/MaterialImageDailyReport.py

@@ -113,7 +113,7 @@ replace into application.bytedance_material_image_report_daily_dw(account_id, ma
                                                                   average_video_play, avg_rank,
                                                                   submit_certification_count, approval_count,
                                                                   first_order_count, first_rental_order_count,
-                                                                  commute_first_pay_count,image_url)
+                                                                  commute_first_pay_count,image_url,signature)
 
 select report.advertiser_id account_id,      #'账户ID'
        report.material_id,                   #头条素材id
@@ -303,7 +303,8 @@ select report.advertiser_id account_id,      #'账户ID'
        report.`first_order_count`,
        report.`first_rental_order_count`,
        report.`commute_first_pay_count`,
-       image.image_url
+       image.image_url,
+       image.signature,
 from media_api.bytedance_material_report_daily report
          left join
      `media_api`.bytedance_file_image_get image

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

@@ -133,7 +133,7 @@ class MateirialVideoDailyReport:
                            cma.plan_id,                       #编导id
                            cma.leader_id,                     #负责人id
                            su.org_code,                       #机构编码
-                           cmi.code signature,                #素材id
+                           video.signature,                #素材id
                            null chl_type,                       #渠道类型
                            clip.realname clip_name,           #剪辑名称
                            shot.realname shot_name,           #拍摄名称