tianle91.github.io

Are Ad Exchanges similar to Stock Exchanges?

Ad exchanges sit between people who want to buy ads (advertisers) and those who wish to sell their ad spots (publishers). They help publishers maximize the value of each ad spot by collecting bids and ads from advertisers.

ad exchange role

Online ad exchanges feel like stock exchanges. After all, they’re fast, automated, have huge daily volumes and have “exchanges” in their name.

ad exchanges logos

Similarly, there are also large-cap “stocks” made up by prime internet properties such as YouTube, Facebook, Instagram, Twitter wherein one can find users who might be interested in something you’d like to sell. In the follow sections, we’ll look at a couple of features which make ad exchanges a uniquely different beast compared to stock exchanges.

What’s different?

Quantity has a quality of its own, and we can really see that in ad markets.

Ad opportunities are diverse

Here are some numbers to set a baseline for the size of a market:

Now, how many ads are there in a day? We don’t have specific numbers but let’s try to think about the problem with a few key numbers:

Multiplying the above brings us to about 400 billion ads per day, easily dominating all the other markets we looked at above.

This quantity of ads is spread across the total number of active internet users (400 million) and the pages they viewed in a day (100), bringing us to about 10 ads per user, page pair. In comparison, Nasdaq had 33 million trades on 2023-11-09 over less than 2,500 stocks, which gives us 10,000 trades per stock. Thus, the number of trades to number of assets (stocks, or user-page pairs) for Nasdaq is 1000x that for online ads.

Nasdaq trades are a thousand times less diverse than that in ad markets.

They’re also cheap

On the other hand, advertising revenue in the US is $480 billion in 2022. This figure is reached in a single day on Nasdaq, where the trading volume for 2023-11-09 is already 240 billion USD.

  Daily Revenue Daily Number of Trades Revenue per Trade
Internet Ads $1.3 billion 400 billion $0.003 (Multiply by 1000 to get a CPM of $3. But in reality CPMs can range between $0.30 and $3)
Nasdaq $240 billion 33 million $7000

The amount of revenue per Nasdaq trade is 1 million times greater than that of an internet ad.

And vanish faster than the latest internet fad

Stock delistings are rare and usually makes the news but internet fads come and go every week. Ad opportunities vanish faster you can say “Mississippi” five times.

Pages need to load quickly to avoid losing users. Pages that take more than 5 seconds to load can lose more than 50% of users (source). Therefore, publishers are incentivized to minimize the time spent on loading ads (for revenue) to maximize the time allocated to generating content (for retention).

For real-time bidding, the response deadline is about 100ms (source), which is on the same scale of high-frequency stock trading. However, there’s generally no need to sell a stock within milliseconds (as is the case for ads) and sell orders can be active for days on the stock exchange.

Ads have to settle within milliseconds compared to hours or days for stocks.

TLDR

Compared to stock trades:

  1. Ad opportunities are 1,000x more diverse
  2. But brings in 1,000,000th of revenue
  3. And ads have to settle within milliseconds compared to hours or days.

What does it mean for the ad market?

It immediately follows from the above that pricing this many ads quickly and cheaply is not a easy problem to solve (humans need not apply). As such, the online ad industry has converged on the following solutions:

What do advertisers need to do?

The main character in Mad Men is a creative directive at an advertising agency whose job is to create advertisement campaigns. He appeals to the collective consciousness and leverages human desires to drive sales. It’s a story of intrigue, excitement and personal growth which makes for excellent TV.

advertisers

These days, online advertisers still need to answer the same questions:

On top of that, the modern internet advertising landscape has become a lot more metrics driven. Let’s look at a couple of metrics which measure the success of an advertising campaign.

These core metrics all depends on the amount paid for an impression. This is therefore arguably the most important question:

How much should I pay for an ad?

Demand-side concerns

Basically there are three problems to solve on the demand-side:

  1. Creative generation (what does the ad look like?) This step has historically required the most manual involvement (e.g. via ad agencies). However, recent advances in Machine Learning has made it possible to automate parts of the ad generation process. Even more of it can be automated if the advertising platform is also a content platform where the thing you’re advertising already has some organic reach.
  2. Targeting (what does the ideal user look like?) Similar to the above, this can be automated if there’s already some engagement with users. Otherwise, this step would require human intuition and some skill in campaign management.
  3. Bidding (how much should I pay?) Often times, this is difficult for individual advertisers to influence directly. Typically, ad platforms have metrics driven offerings such as CPC (wherein advertisers are charged based on the number of clicks) or CPM (charging based on number of impressions) which incentivizes bidding to maximize the desired outcome.

Platforms typically take on the bidding risk

A platform charging by impressions or clicks typically take on the spread between the bidding logic and bidding outcomes. This means that even though their revenue depends on the bidding outcome (i.e. impressions or clicks), the ad platform cannot directly control the outcome. Therefore, if their bidding algorithms fail to deliver on the promised CPC or CPM metrics, they’ll take on the extra cost (and profit if they over deliver).

Ad platforms are therefore incentivized to optimize spend.

Bidding algorithms are usually very simple

Bids can be adjusted based on a variety of factors such as device type, time of day or whether a user is in a specific location (source). These influence the final bid value in a multiplicative way, as follows:

bid_value = starting_bid * adjustment_factor_A * adjustment_factor_B * ...

Typically, demand-side platforms (which advertisers interact with) run these algorithms and send bids to ad exchanges. Some even allow advertisers to modify these algorithms themselves.

The main advantages of this method are:

However, there are limits to how this method can be extended. Typically, more sophisticated optimizations can be learned offline and fed into the bidding algorithms via lookup tables for the factors and their associated adjustments.

What about publishers?

websites

Publishers’ concerns are mainly:

As far as I can tell, the ad market is not that interesting on the supply side since publishers’ strategies to optimize their outcome is generally aligned with their own reason for being - namely to produce interesting content that engages strongly with users on their platform.

The only interesting ad-related piece that publishers need to figure out is ad scoring.

That being said, this is just an optional piece since publishers always have the option to auction the ad slot to the highest bidder. Publishers may also offload the work to supply-side platforms.

What does an ad exchange do?

We now have the following pieces of an ad market from the demand and supply sides:

ad exchange

The role of an ad exchange is therefore to put everything together and match advertisers with publishers. But how exactly does that happen?

In the Protected Audience Webinar, the Chrome team describes a future in which auctions can be conducted without individually-identifiable information ever leaving the user’s browser. They also showed the steps required to connect Publishers (who host a website), Buyers (who help advertisers buy ads) and Sellers (who help publishers connect to buyers).

protected audience overview

These steps in the middle of the sequence diagram are particularly insightful in describing the role of Publishers, Buyers, Sellers and Ad Exchanges in conducting an auction. Note that Ad Exchanges are not in the diagram because the Protected Audience API, but the diagram shows the roles in the current online advertising landscape.

Step Description Currently done by
4 Find all participating buyers. Ad exchanges
5, 6 Use bidding signals and bidding logic to generate bid value. Buyers
7, 8 Use scoring signals and scoring logic to generate score. Sellers
9 Choose the highest scoring bid from sellers’ scores, concluding the auction. Ad Exchanges

Finally, we should note that the role of an ad exchange is to make sure that all these steps are executed within a pre-determined amount of time (in milliseconds). This is done by optimizing the list of bidders and enforcing restrictions on the time taken for bidding and scoring algorithms.

The plan now is to offload much of the Ad Exchange functionality to users’ Chrome browsers in the name of privacy. Maybe the users will be happy enough with the privacy aspect that they’ll ignore the fact that they’re literally running ad auctions to sell ads to themselves?

But that’s another topic for another day.