The parent company of Google on Thursday reported earnings and revenue that beat analyst expectations.