Google will stop serving political advertisements in the European Union ahead of new regulation taking effect.