OpenX is my weapon of choice when it comes to serving ads. Although it is by far the best free application in its genre, it can be quite confusing to get around at first.
But before we go any further, let me explain a few basic concepts about ad serving.
As for any ad serving technology, there are two types of users: advertisers and publishers. The advertisers creates and manage campaigns in which he will add banners or text ads. On the other hand the publisher will define zones to which he will link banners.
The thing is that for most OpenX users, they will act as both the advertiser and publisher at the same time. If you want to display Google AdSense or Yahoo Search Marketing ads on your website, I highly doubt that Google or Yahoo will take the time to log in your ad server and add banners to their inventory. Instead you will retrieve banner codes from your Google AdSense account and add it to your advertising inventory.
So now you’re ready to header over your OpenX ad server and log into the administrative interface.
Adding An Advertiser & Creating A Campaign
Once logged in OpenX, click on the Inventory tab at the top. The first you log in, there will be a Default Advertiser. Click on the Delete link next to it to delete it.

For this example, we’ll add some Google AdSense ads our inventory. Click on Add new advertiser so you can add Google to your advertiser list. You don’t have fill all the fields. And since you’re not really giving access to Google, you don’t have to specify a username and password.

Click on Next when you’re done.
You should be now prompted to enter the information for this advertiser’s first campaign. Enter “AdSense” as the campaign name, leave all other parameters to their default value and hit Next.
Don’t select anything yet under the Linked Zones tab. Click on the Banner Overview tab and then on Add new banner.
Now go retrieve your AdSense unit code from your Google AdSense account. For this tutorial, I’ll use the classic 468×60 format.
Back in OpenX, select the HTML banner type. A textarea will appear for you to copy-paste your AdSense code into. You don’t have to provide a destination URL since this is handled by the AdSense code. Enter the ad dimension and a description.

Click on Save changes when you’re done.
So now you’ve just added a new advertiser, created a campaign and added a banner to your inventory.
Stay tuned as I’ll post how to add publishers and zones and how to display ads on your website.
Posted in Tutorials | 4 Comments
4 responses so far ↓
1. Response by : How To Use OpenX - Part 2 on May 8, 2008 at 1:08 am
[...] No Comments It’s been a while since I’ve posted the first part of this tutorial on How To Use OpenX! Well better late than never, in the second part of this tutorial I will show you how to manage [...]
2. Response by : akiyama on May 11, 2008 at 9:56 am
aha..this iz a very useful post.
i hate lurking at openX website and watcing the slideshow.
with this post i can just print then read it.
I’m using wordpress, will tht be a problem?
or where i should put the tag in my blog?
3. Response by : Stephane Brault on Jun 9, 2008 at 2:04 pm
Sorry for the late response.
To insert the OpenX invocation into Wordpress, you gotta know a little bit of HTML and how Wordpress themes are built.
Simply put, the banner will appear where you put the OpenX invocation code. So if you want your banner to be displayed in a table cell, well just paste the code in the appropriate cell.
4. Response by : What is SSI (Server Side Includes)? on Jun 25, 2008 at 12:00 am
[...] This way you could change a banner on your entire website just by altering banner.html (I know, I know, there are better ways of managing ads, like with OpenX). [...]
Leave a Comment