It's not illegal to use dominance in one market to enter another. That's called good business.
Antitrust requires monopoly, which google does not have. There are many competitive and successful ad networks and search engines, and there is no lock in to the search product.