def yesterday_rpt_get(self): yesterday_date = DateHandle.get_yesterday_date() yesterday_date_str = DateHandle.date_to_ustring(yesterday_date) start_date = yesterday_date_str end_date = yesterday_date_str adgroup_list = self._get_adgroup_list() base_rpt_list = self._rpt_adgroupkeyword_base_update(adgroup_list, start_date, end_date) BaseRptGet.keys_to_lower(self, base_rpt_list) return base_rpt_list
def yesterday_rpt_get(self): yesterday_date = DateHandle.get_yesterday_date() yesterday_date_str = DateHandle.date_to_ustring(yesterday_date) start_date = yesterday_date_str end_date = yesterday_date_str adgroup_list = self._get_adgroup_list() base_rpt_list = self._rpt_adgroupkeyword_base_update( adgroup_list, start_date, end_date) BaseRptGet.keys_to_lower(self, base_rpt_list) return base_rpt_list
def yesterday_rpt_get(self): yesterday_date = DateHandle.get_yesterday_date() yesterday_date_str = DateHandle.date_to_ustring(yesterday_date) start_date = yesterday_date_str #start_date = '2012-10-01' end_date = yesterday_date_str adgroup_list = self._get_adgroup_list() effect_rpt_list = self._rpt_adgroupkeyword_effect_update(adgroup_list, start_date, end_date) EffectRptGet.keys_to_lower(self, effect_rpt_list) return effect_rpt_list
def yesterday_rpt_get(self): yesterday_date = DateHandle.get_yesterday_date() yesterday_date_str = DateHandle.date_to_ustring(yesterday_date) start_date = yesterday_date_str #start_date = '2012-10-01' end_date = yesterday_date_str adgroup_list = self._get_adgroup_list() effect_rpt_list = self._rpt_adgroupkeyword_effect_update( adgroup_list, start_date, end_date) EffectRptGet.keys_to_lower(self, effect_rpt_list) return effect_rpt_list
def get_day_info(cls): RptAll.YESTERDAY = DateHandle.date_to_string( DateHandle.get_yesterday_date()) RptAll.ONE_WEEK_AGO = DateHandle.date_to_string( DateHandle.get_one_week_ago_date())
def get_day_info(cls): RptAll.YESTERDAY = DateHandle.date_to_string(DateHandle.get_yesterday_date()) RptAll.ONE_WEEK_AGO = DateHandle.date_to_string(DateHandle.get_one_week_ago_date())