Google released the earnings results from its second fiscal quarter after closing bell tonight, posting non-GAAP earnings of $6.99 per share on $17.7 billion in revenue, an 11% increase from last year. Analysts had been looking for earnings of $6.70 per share and revenue of $17.7 billion. In the same quarter last year, the internet giant posted earnings of $5.98 per share on $15.96 billion in revenue.

Google Inc Stock Surges After Earnings Beat

Key metrics from Google’s earnings report

In constant currency, Google’s total revenues increased 18% year over year. GAAP earnings for Class A and B shares was $4.93 per share, while GAAP earnings for Class C stock were $6.43 per share. The company reported $7 billion in operating cash flow for the quarter.

Traffic acquisition costs increased slightly year over year to $3.78 billion. For Google Network Members, Traffic acquisition costs were $2.432 billion, a slight increase from last year, while costs to distribution partners were $945 million.

Google reported an 18% year over year increase and 7% sequential increase in aggregate paid clicks. Paid clicks on Google websites increased 30% from last year and 10% from last quarter. Paid clicks on Google Network Members’ websites declined 9% year over year and 2% quarter over quarter.

Aggregate cost per click fell 11% from last year and 4% from last quarter. Cost per click on Google websites fell 16% year over year and 5% quarter over quarter, while cost per click on Google Network Members’ websites declined 3% from last year and last quarter.

Google’s earnings by segment

Google Websites revenue increased 13% year over year and 4% quarter over quarter to $12.4 billion, while revenue from Google Network Members’ websites rose 2% year over year and 1% sequentially to $3.6 billion. Total ad revenues climbed 11% year over year and 3% quarter over quarter to $16.023 billion. Other revenues were $1.7 billion, a 17% increase from last year and a 3% decline sequentially.

Google reported that its headcount increased from 48,584 at the end of last year’s second quarter to 57,148 at the end of this year’s second quarter.

As of this writing, Class A shares of Google were up 7.44% at $645.62 per share.