May 28, 2022
Let's start with the simplest ad serving scenario: when the owner of the website - aka the publisher - sells their ad space to an advertiser. This is called a direct buy, since the advertiser has bought the ad space directly from the publisher. It's not a very common scenario because it takes effort from both the publisher and the advertiser. The publisher has to employ people to handle selling and serving the ads, and the advertiser, or more likely the advertiser's ad agency, has to make individual deals with every site they want their ads displayed on. Still, it is the most straight forward from an ad serving point-of-view.
Here's how it works:
There can be more servers involved in this scenario. For instance, the creative assets for the ad might be hosted on a Content Delivery Network (CDN). The ad code might also include tags for other advertising rellated platforms, for things like viewability or ad fraud. The publisher's web server, and the ad servers for the publisher and the advertiser are the main players, though.
As I mentioned before, direct buys aren't that common these days. Programmatic advertising is much more common, which is when software is used to manage the selling and buying of ad space on a publisher's web site. There are four main types of programmatic advertising: open auctions, private marketplaces or auctions (where advertisers need an invitation to participate), preferred deals (where there isn't an auction, but the publisher doesn't reserve inventory for the advertiser, and the advertiser simply has the option to buy it), and programmatic direct (where there also isn't an auction, but the publisher does reserve the inventory for the advertiser, who has agreed to buy it).
I'm not going to outline how each of these types of programmatic deals are served, since I'd likely bore you to tears. However, I will go over the most common scenario in the next section, open auctions. It's what people most often mean when they talk about programmatic advertising.
This involves an auction being run for the ad space with the advertiser's software making bids to buy the ad space. One of the terms you'll frequently see used interchangeably with open auctions is Real-time Bidding or RTB. In this scenario, the advertiser is using a software platform to bid on the ad inventory, and that platform is called a Demand-Side Platform or DSP. The publisher is using their own software platform to sell the ad inventory, tnat their platform is called a Sell-Side Platform or SSP.
So here's how this scenario works:
Just like before, there can be other systems involved in this scenario, such as ad exchanges, CDNs, Customer Data Platforms (CDP), and so on and so on. If you'd like to see all of the various platforms that can be involved in online advertising, LUMA partners publishes a series of charts called Lumascapes that try to organize the madness. Fair warning, you might end up with a headache squinting at all of the little entries on these charts, though.
Finally, if you're curious about what an ad tag looks like, here are two examples. The first is an example of one of the most common Publisher Ad Tags, the Google Publisher Tag (GPT):
If you'd like to learn more about the GPT, the Google Ad Manager Help Center has a helpful "Overview of Google Publisher Tag" article.
The code for an advertiser's tag can come in a variety of formats. Among others, it could be the HTML code for an iframe or JavaScript code for the advertiser's ad server. When it's JavaScript for a simple image ad, it tends to follow a format like the following:
If you made it through all of this, I'm impressed! How ads are served isn't exactly the most thrilling of topics. There is a lot going on behind the scenes, though, which I think does make it interesting. I hope this was useful as an introduction to that world.
Thanks for reading!