Google Inc's shares surged over 16 per cent on Friday, adding about $65 billion to its market value, as strong growth in mobile ad revenue allayed concerns its YouTube business could be hurt by Facebook Inc's push into video.

The surge in the stock, which sent the Nasdaq composite index to a record high, came a day after Google reported better-than-expected revenue and profit for the first time in six quarters.

Google's Class A (with voting rights) shares surged 16.26 per cent to end at an all-time high of $699.62 , a day after reporting strong ad revenue growth. It was Google's largest one-day percentage gain since April 2008.

The company's Class C shares (without voting rights) ended at $672.93 .

Google's market capitalisation rose nearly $65 billion to $468.3 billion ($403 billion), according to S&P Dow Jones indices.

At least 24 brokerages raised their price targets on Google's stock by as much as $150 to as high as $800, with analysts also welcoming new Chief Financial Officer Ruth Porat's emphasis on disciplined spending.

Online video ads could be a $17 billion opportunity in the United States alone by 2017 and YouTube looks best positioned to benefit, Jefferies & Co analysts wrote in a note.

"Second, new CFO Ruth Porat will take a more disciplined approach to expense management and capital allocation - welcome news," they wrote.

Google said watch time for YouTube rose 60 per cent in the second quarter and the video service roped in more viewers aged 18-49 than any US cable network on mobile alone.

Google and Facebook are trying to woo big companies to market their products via online videos.

YouTube has an edge over Facebook as it has a more mature monetization platform that seems to attract the best content, Piper Jaffray analyst Gene Munster said.

Google said the gap was closing between mobile and desktop "cost per click" (CPC), or the average price of online ads.

Mobile CPCs are likely to exceed desktop CPCs in the long term, Munster said.

Google's CPCs fell 11 per cent in the quarter but that is not the complete story, Jefferies analysts said.

YouTube TrueView ads, where advertisers pay only when users don't skip an ad, cost less than traditional search ads.

Google's fast rampup of YouTube monetization is also hurting pricing, they said.

The company's advertising revenue rose 11 per cent to $16.02 billion. The number of paid clicks increased 18 per cent.

"This growth has steadily held in the mid-to-high teens since at least Q1:13," RBC analyst Mark Mahaney said. "Such consistency is a rarity, especially for a behemoth business ..."

Of 48 analysts covering the stock, 38 have "buy" or higher rating, while 10 have "hold." The median price target is $672, according to Thomson Reuters data.

comment COMMENT NOW