Not just Google, but also Facebook, Apple, Microsoft, etc. Apple is probably worse than others because, while the likes of Google, Facebook, and Microsoft derive revenues from China, Apple is also highly reliant on China for the manufacturing of its hardware products.
Despite China blocking access to Google from within China, businesses in China still buy advertisements from Google. Lots of entertainment content produced by businesses in China is available on Google's YouTube.