The agreement could be announced Wednesday and gives Yahoo a greater role in search advertising, according to reportsMicrosoft and Yahoo have agreed to the terms of an online search and advertising deal that will be announced as soon as Wednesday, according to reports.