Sfoglia il codice sorgente

创意增加视频

ck 3 anni fa
parent
commit
17cd5681d3
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      app/api_data/cost_util.py

+ 2 - 2
app/api_data/cost_util.py

@@ -77,8 +77,8 @@ def get_adcreatives(account_id,access_token,flag,adc_ids,dt):  # 获取创意
                             image=d.get('image','')
                         elif 'image_list' in d.keys():
                             image =','.join(d.get('image_list'))
-                        elif 'short_video_struct' in d.keys():
-                            image = d['short_video_struct']["short_video1"]
+                        elif 'video' in d.keys():
+                            image = d['video']
                             is_video=1
                         else:
                             image = ''