|
@@ -50,5 +50,16 @@ def auto_create_creative_job():
|
|
response_dict["data"] = rest
|
|
response_dict["data"] = rest
|
|
return response_dict
|
|
return response_dict
|
|
|
|
|
|
|
|
+@app.route('/autoCreateCreativeJob')
|
|
|
|
+def auto_create_creative_job():
|
|
|
|
+ response_dict = ResultDictUtils.common_success_dict
|
|
|
|
+ account_id = request.args.get("accountId")
|
|
|
|
+ if 0 == account_id or account_id is None:
|
|
|
|
+ return ResultDictUtils.params_error_dict
|
|
|
|
+ rest = aiAutoCreateCreativeJob.auto_create_job(account_id)
|
|
|
|
+ response_dict["data"] = rest
|
|
|
|
+ return response_dict
|
|
|
|
+
|
|
|
|
+
|
|
if __name__ == '__main__':
|
|
if __name__ == '__main__':
|
|
app.run(host='0.0.0.0',port=8079,debug=True)
|
|
app.run(host='0.0.0.0',port=8079,debug=True)
|