예제 #1
0
    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
예제 #2
0
    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
예제 #3
0
    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
예제 #4
0
    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
예제 #5
0
 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())
예제 #6
0
 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())