This doesn't pass a cursory sniff test: Web traffic is 17% of Internet traffic, so even if we accept 25% of that is ads (I'm dubious) that would be 4.5% of traffic. That would add up to 0.3% of emissions.
As per your link, many of those other categories listed such as Video and Social media also contain as much as, if not more, advertisement load than perhaps even pure 'web traffic'.
The article was using the % of advertising resources in web pages – which came to 24% – as a proxy for the overall advertising resources across all internet traffic (which is difficult to accurately ascertain).
So, yes, this is a rough approximation... and the actual % of advertising resources on all internet traffic may be more or less.
However it is stating all digital advertising may be the cause 2% of global carbon emissions, not just due to the advertising on web pages.
That's a bad way to estimate that, unless one's goal is to come up with an absurdly high number which doesn't pass the sniff test. In which case they succeeded. It doesn't.
I can't find a monetary breakdown of online vs. other, but by total advertising costs, I see 1.5%. So if online is not dominant I agree that they are high but close, maybe within the order of magnitude.
The article was using the % of advertising resources in web pages – which came to 24% – as a proxy for the overall advertising resources across all internet traffic (which is difficult to accurately ascertain).
So, yes, this is a rough approximation... and the actual % of advertising resources on all internet traffic may be more or less.
However it is stating all digital advertising may be the cause 2% of global carbon emissions, not just due to the advertising on web pages.