Artificial intelligence is creating different challenges for two of the internet’s biggest advertising businesses. Meta’s advertising revenue grew more than twice as fast as Google’s Search and other division in the third quarter, as improved targeting tools helped brands reach customers on Facebook and Instagram. Google, meanwhile, faces competition from chatbots that offer consumers another way to find information.

Meta reported advertising revenue of $63.1 billion, an increase of 26% from $50.1 billion a year earlier. Google’s search division generated $63.4 billion, up 12%. The 14 percentage point difference was Meta’s largest growth advantage since 2021, bringing the businesses close to equal in revenue. Google also collected $11 billion from YouTube during the quarter.

The shift reflects how AI is changing online activity. ChatGPT, Anthropic’s Claude and Meta’s recently launched Muse assistant are providing alternatives to conventional searches, with consumers clicking fewer links. Instagram users, meanwhile, are spending more time scrolling, expanding Meta’s opportunities to display advertisements. Emarketer analyst Nate Elliott told CNBC that consumers could change longstanding search habits if competing assistants prove better at finding what they need.

Meta’s advertising recovery follows a difficult period after Apple’s 2021 iOS privacy changes restricted its ability to target iPhone users. Its revenue declined in 2022, the only annual decrease in company history. Although Meta initially struggled to establish a consistent AI strategy and trailed OpenAI and Anthropic in frontier models, it has incorporated the technology into advertising tools designed to improve campaign efficiency.

One such product, the Meta AI business assistant, was introduced a year ago and works within Ads Manager. On last week’s earnings call, Chief Financial Officer Susan Li said advertisers following its recommendations achieved almost 5% more conversions and spent 9% more than comparable advertisers who did not adopt them. Li said syrup producer Simply Organic Maple recorded a 57% rise in purchases and a 36% reduction in cost per purchase using the assistant. Nearly 10 million advertisers used at least one Meta AI tool in the quarter.

Google is also integrating AI into advertising. Chief Business Officer Philipp Schindler said its Gemini models are being deployed throughout its advertising infrastructure to improve ad quality and provide additional tools. But AI Overviews and AI Mode increasingly deliver summaries instead of links to other websites. Although Google reported record search queries for the quarter, revenue growth is slowing, prompting UBS analysts to highlight renewed concerns about AI undermining the search business.

Heavy infrastructure spending has added to investor unease, pushing both companies into negative free cash flow. Alphabet shares plunged more than 12% following Wednesday’s disappointing earnings report, marking its worst market day and erasing about $500 billion in market value. Meta shares fell 14% in October after gaining 27% in September. Google forecasts capital expenditures of up to $205 billion this year, while Meta expects up to $145 billion.

Both companies are pursuing revenue beyond advertising. Meta, which receives 98% of sales from ads, is investing in models and agents to develop subscriptions. Google’s cloud division more than doubled quarterly revenue to $31 billion, supported by demand for infrastructure and its custom tensor processing units. Advertising now contributes less than two-thirds of Google’s revenue.

Even with that diversification, Wedbush analysts said Google’s ability to earn money from search remains central to its investment outlook. In a Thursday report, they argued that stronger share performance would likely require new advertising products and evidence that Google can monetize search as AI changes how consumers use it.