For Google, they figured out it's ads... So is it ok?

Ostensibly not, if it is outlawed.