|
@@ -205,6 +205,7 @@ class GetTargetAndAssemblyParameters(object):
|
|
|
campaign_info_to_db['message'] = response_data['message']
|
|
|
campaign_info_to_db['status'] = response_data['code']
|
|
|
res = -1
|
|
|
+ raise Exception("账户 %s,新建广告计划失败,详细:%s!" % (self.account_id, str(response_data)))
|
|
|
|
|
|
# 3、写入计划层级的操作表
|
|
|
df = pd.DataFrame.from_dict(campaign_info_to_db, orient='index').T
|