|
@@ -26,9 +26,9 @@ def send_request(account_id):
|
|
|
unique_uuid = str(uuid.uuid4())
|
|
|
print("***********", "程序化高质量-Start, unique_uuid = ", unique_uuid, datetime.datetime.now(), "**************")
|
|
|
|
|
|
-# 1、获取已有的账号
|
|
|
+# 1、获取已有的账号, open_program_create 2是不限 1是程序化 0是自定义
|
|
|
sql = """
|
|
|
-select account_id from ctop_ai_kuaishou_advertiser_strategy where status = 1 and open_program_create = 1
|
|
|
+select account_id from ctop_ai_kuaishou_advertiser_strategy where status = 1 and open_program_create in (1,2)
|
|
|
"""
|
|
|
acc_df = pd.read_sql(sql, engine)
|
|
|
acc_list = [int(account_id) for account_id in acc_df['account_id'].unique()]
|