Jens Oliver Meiert

Evangelists, Focus on Standard Ad Code

Post from January 7, 2007 (↻ April 6, 2021), filed under .

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:

<IFRAME SRC="http://ad.de.doubleclick.net/adi/SNIP/B1713703;sz=728x90;ord=[timestamp]?" WIDTH=728 HEIGHT=90 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no BORDERCOLOR='#000000'>
<SCRIPT language='JavaScript1.1' SRC="http://ad.de.doubleclick.net/adj/SNIP/B1713703;abr=!ie;sz=728x90;ord=[timestamp]?">
</SCRIPT>
<NOSCRIPT>
<A HREF="http://ad.de.doubleclick.net/jump/SNIP/B1713703;abr=!ie4;abr=!ie5;sz=728x90;ord=[timestamp]?">
<IMG SRC="http://ad.de.doubleclick.net/ad/SNIP/B1713703;abr=!ie4;abr=!ie5;sz=728x90;ord=[timestamp]?" BORDER=0 WIDTH=728 HEIGHT=90 ALT="Click Here"></A>
</NOSCRIPT>
</IFRAME>

It’s the code, uncensored except for “SNIP,” we used to receive from ad partners. To ensure quality, we had (and my former colleagues probably still have) to rework every ad that came to us. It made all our attempts harder to output valid code.

This ad code mess 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 use the code they receive from advertising partners, like DoubleClick or Falk. That code sucks. It’s one of the brakes in the process of getting larger sites to use higher quality code, and join the web standards cause.

I don’t want to mention Google here. Although sophisticated in certain applications, their frontend code is bad much of the time. Hopefully, Ian and Co. bring change; my suggestions to get Google’s AdSense code fixed didn’t go anywhere.

I urge us members of Web Standard Project, Webkrauts, and other standards-oriented organizations to focus on ad providers in our work, too. Let’s start by lobbying the Interactive Advertising Bureau?

Was this interesting? Feel free to tweet this, or to invite me for a coffee! Thank you!

About Me

Jens Oliver Meiert, on April 29, 2020.

I’m Jens Oliver Meiert, and I’m a web developer (engineering manager) and author. I love trying things, sometimes including philosophy, art, and adventure. Here on meiert.com I share some of my views and experiences.

If you have questions or suggestions about what I write, please leave a comment (if available) or a message.

Comments (Closed)

  1. On January 10, 2007, 17:29 CET, Robert Wellock said:

    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.

  2. On January 14, 2007, 16:52 CET, David Storey said:

    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.

    David Storey
    Chief Web Opener, Opera Software

  3. On January 14, 2007, 20:32 CET, Jens Oliver Meiert said:

    Robert, hope dies last!

    David, that’s great news!

    I might need a hand but I’ll try to get Falk and Co. aboard.

Read More

Have a look at the most popular posts, possibly including:

Cover: CSS Optimization Basics.

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. Available at Amazon, Google Play Books, and Leanpub.

Stay up-to-date? Follow me by feed or on Twitter.

Looking for a way to comment? Comments have been disabled, unfortunately.

Found a mistake? Email me, jens@meiert.com.

You are here: HomeArchive2007 → Evangelists, Focus on Standard Ad Code

Last update: April 6, 2021

“Work is love made visible.”