Publisher Codes

Publisher Code

In the box below is an example publisher code. Try inserting this into a web page or HTML document to see the script's contextual serving abilities in action. If you do not have a webpage, try writing a few words related to one of the ads in the system (such as a paragraph about ringtones) in a text editor such as Notepad and pasting the publisher code into the same document. Save it with a .html extension, and try viewing it in your web browser. You should see an ad related to the words you wrote appear in your browser window. The corresponding ad in the Ad Reporting page will show increased impressions (and clicks, if you've clicked on it).

Try refreshing the page several times and you'll eventually notice a different ad come up. This ensures all ads have a chance to deliver, keeping your ad delivery on quota and your advertisers happy.

Although this code is for 728x90 graphical ads, the system is capable of supporting multiple ad sizes and types, including all IAB sizes as well as text ads and flash banners.