Profits also increased, to just under $35 billion, as Google Search proved resistant to AI-powered alternatives.