Amazon, the e-commerce giant frequently criticized by President Trump, posted lower-than-expected revenue in the three months through September despite substantial gains in its advertising and cloud computing businesses.

Sales at the e-commerce giant grew 29 percent to $56.6 billion, slightly less than the $57 billion that analysts expected. Net income rose sharply to $2.8 billion, the company said in a statement on Thursday.

Sales of the Seattle-based firm's cloud services rose 46 percent to $6.7 billion, while subscription services like Amazon Prime generated $3.7 billion. Revenue from Amazon's advertising business — which aims to challenge the dominance of Facebook and Google — pushed sales of other services up 122 percent to $2.5 billion.

Founder Jeff Bezos highlighted the success of Amazon's business-supply service, which he says reached $10 billion in annual sales across eight countries.

"Amazon Business is adding customers rapidly, including large educational institutions, local governments, and more than half of the Fortune 100," he said in a statement.

Amazon has faced significant pressure since Trump took office over its product-delivery system, for which the president says it doesn't pay the U.S. Postal Service enough. A recent study found that the Postal Service could actually lose revenue if it were to charge higher prices to deliver Amazon products.

Trump has also attacked Amazon founder Jeff Bezos and the Bezos-owned Washington Post.