ALEXANDRIA, Va.—Trial proceedings in the U.S. government’s antitrust case against Google’s advertising business have provided a rare window into internal company anxieties about its central role in the buying and selling of ad space online. The AlphabetGOOG0.86%increase; green up pointing triangle …