Google parent Alphabet Inc last night posted a surge in profit and revenue as its core advertising business continued to grow at an extraordinary rate.

Problems such as an advertiser boycott of YouTube appeared to have little impact on the company. 

Alphabet's profit beat Wall Street estimates and rose 29% to $5.43 billion, a performance that analysts called exceptional for a company so large.

Like its rival Facebook, Google has aggressively shifted the focus of its business to mobile advertising. 

The two companies accounted for 99% of the industry growth in digital advertising in 2016, Pivotal Research said in a report this week, demonstrating market power that some advertisers complain amounts to a duopoly.

Google is expected to command a 61.6% share of the search ad market worldwide in 2017, up from 60.6% in 2016, according to research firm eMarketer. 

Mobile ads command lower prices than desktop ads, but growing volume is more than making up the difference, analysts said. 

"Our great properties - like Search, Maps, YouTube and Google Play - are the 'prime time' for the mobile world, where people are actively engaged and interested," Google's chief executive Sundar Pichai said. 

Google's revenue rose 22.2% to $24.75 billion from $20.26 billion in the quarter ended March 31. 

Paid clicks, where an advertiser pays only if a user clicks on ads, rose 44%. Analysts on average had expected a rise of 29.7%, according to FactSet StreetAccount. 

The company said its net income rose to $5.43 billion, or $7.73 per share, from $4.21 billion, or $6.02 per share, a year earlier. 

Analysts on an average had expected a first-quarter profit of $7.34 per share, according to Thomson Reuters. 

Alphabet's chief financial officer Ruth Porat said during the earnings call that "YouTube revenues continue to grow at a significant rate," dispelling concerns about the possible impact of an advertiser boycott of the video service. 

YouTube had come under fire for ads appearing alongside videos carrying homophobic or anti-Semitic messages, prompting a number of companies to suspend their digital ads on the video service.

Google's non-advertising revenue, which consists mainly of the cloud computing business, the Pixel smartphones and the Play store, also grew dramatically in the quarter, jumping 49.4% to $3.1 billion. 

Google has long trailed Amazon.com and Microsoft in the burgeoning market for cloud computing. 

But since the arrival in late 2015 of veteran enterprise computing executive Diane Greene, who leads the business, Google has begun winning many more major deals, Pichai said during the call.

"We’re seeing a meaningful shift, and this momentum is resulting in a fast-growing business," Pichai said.

Meanwhile, Alphabet's "Other Bets" - separate business units including the Waymo self-driving car business, Google Fiber, thermostat-maker Nest and the life sciences firm Verily - continued to post large losses and modest revenues. 

Revenues from Alphabet’s "Other Bets" climbed to $244m, up from $165m in the year-ago quarter; Nest, Verily and Fiber accounted for the bulk of that, Porat said on the call. 

But losses widened to $855m from $774m the same time last year. 

Alphabet CEO Larry Page released a letter last night defending the two-year-old Alphabet structure, which he said had achieved its objective of giving investors greater visibility into Google’s performance while empowering entrepreneurs in other parts of the company. 

"With the change to Alphabet, oversight has been easier because of increased visibility," Page wrote.

"We have streamlined efforts where it made sense and in other areas we have seen places to double down," he added.