rewrite of advertise service