As the government wraps up its case, it has built a picture of how Google has become dominant among companies that buy and sell ads online.