Net profit totaled $20.6 billion.
Earnings per share totaled $30.69, beating analysts' forecast of $27.48.
The company also faces two lawsuits filed by groups of state attorneys general.
Google has denied the accusations in the suits.
Google’s dominance in web search and digital advertising has also drawn the attention of Congress.
“We are committed to approaching it constructively,” he told Wall Street analysts during a conference call.
Google’s prowess is intimidating.
The advertising business, in turn, generates almost all of the company’s sales.