Google shares are higher in after-hours trade after the company reported stronger than expected sales and earnings.