The deal between Yahoo and WPP Group, the advertising holding company, will give WPP’s clients a broader swath of Web sites where they can aim their messages.