SAN FRANCISCO — Google is joining Facebook in banning advertising for Bitcoin and other cryptocurrencies.

Google, the largest provider of digital advertising on the internet, announced on Tuesday that it plans to change its advertising policy for certain financial services, including cryptocurrencies, starting in June. The new restriction would apply both to space on Google’s platforms, like YouTube, and to third-party websites where Google sells advertising space.

Facebook announced in January that it would ban all ads for Bitcoin and other cryptocurrencies in order to stop misleading and deceptive promotions. Together, Google and Facebook account for the majority of advertising on the internet in terms of revenue.

The short announcement on Google’s advertising policies page did not specify why Google planned to turn away that advertising. The company said the ban also applied to content related to cryptocurrencies “including but not limited to initial coin offerings, cryptocurrency exchanges, cryptocurrency wallets and cryptocurrency trading advice.”