|
@@ -24,7 +24,7 @@ class CampaignHourlyReport:
|
|
def hourly_report(self):
|
|
def hourly_report(self):
|
|
try:
|
|
try:
|
|
sql = """select advertiser_id from media_api.kuaishou_campaign_report_hourly where
|
|
sql = """select advertiser_id from media_api.kuaishou_campaign_report_hourly where
|
|
- stat_date = {start_time} and cost>0 group by advertiser_id""".format(
|
|
|
|
|
|
+ stat_date = {start_time} and charge>0 group by advertiser_id""".format(
|
|
start_time=self.start_time)
|
|
start_time=self.start_time)
|
|
account_list = TidbConn.quary(self.conn, sql)
|
|
account_list = TidbConn.quary(self.conn, sql)
|
|
for account_id in account_list:
|
|
for account_id in account_list:
|