Evangelists, Focus on Standard Ad Code
Post from January 7, 2007 (↻ September 21, 2020), filed under Web Development.
This and many other posts are also available as a pretty, well-behaved ebook: On Web Development.
Here’s ad code of a kind I see way too often:
And it’s also the code, uncensored except for “SNIP,” we used to receive from ad partners. We had (and my former colleagues probably still have) to rework each and every ad that has come to us. It has made all our attempts harder to output at least valid code.
This freak show needs to stop. While at GMX we tried to talk to ad companies to use standards-compliant code, nobody seems to talk about this important aspect in public. Monetized websites take it easy and like to use the standard ad code they receive from advertising partners like DoubleClick or Falk. That code sucks. It’s one of the brakes in the process to get larger sites use higher quality code, and join our cause.
I don’t want to mention Google here. Their frontend code is bad much of the time, though sophisticated in certain applications. Hopefully, Ian and Co. bring improvement; my former proposals to improve Google’s AdSense code didn’t go anywhere.
If you have a question or suggestion about what I write, please leave a comment or a message.
It will be a tall order to say the least getting any of those companies to even consider creating something remotely clean. There are very few advertisement inclusion companies that seem to have anything even remotely resembling non-proprietary HTML.
It doesn’t score well on the accessibility side either anyway good luck with trying to “convert” them.
We have a problem in Opera, where flash ads served by doubleclick are sometimes displayed twice when plug-ins are not available (such as devices and phones) or switched off. I’m in the process of getting a DoubleClick contact, so I’ll bring this issue up with them as well. I can’t promise anything, but well try to get them to use more valid code.
Chief Web Opener, Opera Software
Have a look at the most popular posts, possibly including:
Perhaps my most relevant book: CSS Optimization Basics (2018). Writing CSS is a craft. As craftspeople we strive to write high quality CSS. In CSS Optimization Basics I lay out some of the most important aspects of such CSS. (Also available in a bundle with Upgrade Your HTML and The Web Development Glossary.)
Looking for a way to comment? Comments have been disabled, unfortunately.