If you are on a public network without using a VPN you open yourself up to MITM to inject something malicious
I basically expect that sort of attack to only be pulled off by a state actor or by a black hat convention for the lolz.
Ads injection is a relatively benign kind of tampering. It could be much more creative and sinister.