The firm’s results underlined how AI is flowing through to its financials, improving how ads are targeted to its billions of ...