def update(self, adgroup_id, default_price, nonsearch_max_price, is_nonsearch_default_price, online_status, campaign_id, nick=None):
        '''xxxxx.xxxxx.adgroup.update
        ===================================
        更新一个推广组的信息，可以设置默认出价、是否上线、非搜索出价、非搜索是否使用默认出价'''
        request = TOPRequest('xxxxx.xxxxx.adgroup.update')
        request['adgroup_id'] = adgroup_id
        request['default_price'] = default_price
        request['nonsearch_max_price'] = nonsearch_max_price
        request['is_nonsearch_default_price'] = is_nonsearch_default_price
        request['online_status'] = online_status
        request['campaign_id'] = campaign_id
        if nick!=None: request['nick'] = nick
        self.create(self.execute(request), fields=['success','result','success','result_code','result_message'], models={'result':ADGroup})
        return self.result