Yahoo warns on weakening Web ad sales