Ban comes after Google said it would not help platforms sell ads alongside content that condone the conflict in Ukraine.