Anheuser-Busch InBev, the world’s largest brewer, says its third-quarter profits rose as the takeover of new brands and higher selling prices offset the impact of lower sales volumes.

The company, based in Leuven, Belgium, said Thursday that net profit was up 31 percent to $2.37 billion, from $1.81 billion in the same period a year earlier. The gain largely reflects the company’s $20 billion purchase in June of the 50 percent of Mexico’s Grupo Modelo it didn’t already own.