The deal also provides a share of revenue for the city if ad sales are unusually strong.
Yahoo's ad sales were $190 million in the first quarter.
The ad sales increased by 38 percent from a year ago.
Company officials say ad sales are up 34 percent so far this year.
No one would argue that ad sales is hard work.
The advertising staff was told this morning to halt new ad sales.
Combined local and national ad sales rose 9 percent in December from a year earlier, the bureau reported.
Yahoo, by contrast said its ad sales increased 22 percent.
Anna's friend, Mary is in ad sales for a local newspaper.
In the fourth quarter, revenue from ad sales was $545.5 million, up 178 percent.