|
@@ -77,8 +77,8 @@ def get_adcreatives(account_id,access_token,flag,adc_ids,dt): # 获取创意
|
|
image=d.get('image','')
|
|
image=d.get('image','')
|
|
elif 'image_list' in d.keys():
|
|
elif 'image_list' in d.keys():
|
|
image =','.join(d.get('image_list'))
|
|
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
|
|
is_video=1
|
|
else:
|
|
else:
|
|
image = ''
|
|
image = ''
|