"Foreign firms in China should respect China's laws and regulations, and respect China's public customs and traditions, and assume the corresponding social responsibilities, and of course Google is no exception," Chinese foreign ministry spokesman Ma Zhaoxu said.
Till now, China's foreign ministry distanced itself from the ongoing dispute.
Even though Ma did not speak about the censorship issue, he said that China is the biggest victim of hacking.
This comes a week after the Internet major threatened to pull out of the country. Google said that it along with other companies were targets of sophisticated cyber-spying from China.
Besides this, the company said that it does not want to censor its Chinese google.cn search site any more.
This dispute is expected to further intensify the rift between United States and China. The relationship between the two countries is already at odds due to various issues such as value of the Chinese yuan, trade, US arms sales to Taiwan, and climate change policy.