NelworksNelworks

Finance / Season 2 / EP07

Why Online Ads Are High-Frequency Trading

Shez

Marketing is so romantic, Kurumi.

Shez

This is art. Emotion. Creating a connection between the human soul and... carbonated sugar water.

Kurumi

It's about latency arbitrage and statistical regression.

Shez

Hah! Next you'll tell me that a quant is behind all of this.

Shez

That billboard is there because a Creative Director had a vision and a dream! Math nerds like you just don't get it.

Shez

Forty cents! She priced running shoes twice this week!

Shez

Sixty — she's twenty-six, she has a saved cart!

Shez

One-ten for the slot, I'll take her whole screen—

Kurumi

The billboard was somebody's vision. The ad on your phone is that room, and it finishes before your screen does.

Kurumi

This 300x250 pixel box.

Kurumi

In the 200 milliseconds it took for your webpage to load, an Auction happened.

Kurumi

This happens 100 billion times a day.

Kurumi

It is Real-Time Bidding (RTB).

Shez

They... traded me? Like a pork belly future?

Kurumi

Yes. You are the Commodity.

Kurumi

The website (Publisher) is the Exchange. The Advertiser is the Trader.

Kurumi

And just like HFT, humans are too slow to trade this.

Kurumi

We write algorithms called DSPs (Demand Side Platforms) to do the bidding.

Shez

So... AdTech is just FinTech for people?

Kurumi

It is High-Frequency Trading where the asset class is Attention.

Kurumi

In finance: P(price up | market data).

Kurumi

In ads: P(click | your data).

Kurumi

The math (Logistic Regression, Gradient Boosting) is Identical.

Shez

So if I can build a model to predict stock prices...

Kurumi

You can build a model to predict who buys sneakers.

Kurumi

Why do you think Google hires so many Physics PhDs? To choose the font color?

Shez

But wait. In stocks, we look for 'Undervalued Assets.'

Shez

What is an 'Undervalued Asset' in ads?

Kurumi

Arbitrage.

Kurumi

Buying high-value intent in a low-value place.

Kurumi

This user is looking for a $1 Million divorce attorney. She is valuable.

Kurumi

But right now, she is reading a 'Funny Cat Blog.'

Kurumi

The 'Cat Blog' sells ad space for pennies ($0.001).

Kurumi

The Smart Quant buys that space for $0.002.

Kurumi

And serves her a Divorce Attorney Ad worth $50.00 to the law firm.

Shez

Buy low (Cheap Site), Sell high (Expensive User)!

Kurumi

It is the classic Spread.

Kurumi

We extract value from the mispricing of the context.

Shez

This explains why the internet is so fast.

Kurumi

It explains why the internet is free. The trading floor funds the web. Your activity and doomscrolling habits pays for the whole thing.

Shez

But Kurumi... in Finance, we have 'Market Makers' who provide liquidity.

Shez

Who provides liquidity here?

Kurumi

Ad Networks (Google/Meta).

Kurumi

Google matches the Buyer (Advertiser) and Seller (Website) instantly.

Kurumi

They take a cut. Just like a Stock Exchange.

Shez

So Google is basically the NYSE of eyeballs?

Kurumi

Yes. And you are the ticker symbol.

Shez

So, the 'Quant Tech Tree' branches out?

Kurumi

The root is Math. The branches are Industries.

Kurumi

A Quant can work in any of these.

Kurumi

The variables change. The equation stays the same.

Kurumi

Same shape either way: maximise E[payoff], subject to constraints.

Shez

I don't need to learn Marketing. I just need to learn to predict clicks.

Kurumi

Marketing is just storytelling.

Kurumi

AdTech is engineering that lets the audience hear the story.

Kurumi

If you can master the Order Book, you can master the Ad Server.

Kurumi

It's all just buying low and selling high in milliseconds.

Shez

Look! It changed!

Kurumi

Someone else won the auction.

Shez

Is there a Sharpe Ratio for ads?

Kurumi

Good question...

Shez

Wait. Stocks persist. I can hold them. This… disappears in seconds.

Shez

In finance, inventory is shares. You hoard them, portfolio value grows. What's the inventory in ads?

Kurumi

User activity, user generated content (UGC), and advertiser's commitment.

Kurumi

But you're asking the right question. The half-life of attention and content is very short. You only have a few seconds to capture it and make a profit out of it.

Kurumi

A page visit and an impression is a perishable inventory. Like airline seats. Like hotel nights. Like electricity.

Kurumi

At any point of time, your attention liquidity is equal to number of users currently on the website. Your profit opportunity is to exhaust your advertiser's commitment from these liquidity ASAP.

Shez

So there's no hoarding? No equivalent of holding stock?

Kurumi

You hoard commitments. You hoard User Generated Content (UGC).

Kurumi

Advertisers pre-commit budgets. Publishers pre-commit supply. There is no inventory risk.

Kurumi

But you have the internet. You have tons of users and user generated content (UGC). All of them demand data storage and bandwidth. That is inventory risk.

Kurumi

If your advertising targeting algorithm is bad, the ad demand collapses — you're holding unsellable impressions.

Kurumi

If your users create trash content, the attention supply collapses — your advertisers overpay for junk traffic and you waste money hosting user's content.

Kurumi

This is the AdTech version of bag-holding.

Kurumi

Also, stocks are identical tokens. Attention and content isn't.

Kurumi

The first impression is discovery.

Kurumi

The second is reminder.

Kurumi

The third is noise.

Kurumi

Each exposure changes the asset.

Kurumi

This is Attention Saturation. Marginal value decays with every repeat.

Shez

So ads aren't like shares… They're more like—

Kurumi

Options with theta decay.

Kurumi

If you don't act quickly, the value expires.

Kurumi

If you act too often, you destroy it.

Kurumi

Showing the 'best performing ad' repeatedly isn't optimization.

Kurumi

It's dilution.

Kurumi

That's why AdTech that simply ranks users is going to fail. It must rank moments. Every impression is a one-off auction with a decaying payoff curve.

Kurumi

First impressions matter.

Kurumi

And advertisers have spent trillions to learn that lesson.

Shez

So what's the equivalent of a portfolio?

Kurumi

Campaign allocation.

Kurumi

Each medium has different variance. Different decay curves. Different fraud exposure.

Kurumi

You don't want all your spend in one channel. That's concentration risk.

Kurumi

Same math. Different asset.

Shez

So AdTech pays for user's hosting and content, and tries to make back the cost by selling back tourists' attention to advertisers...

Kurumi

Exactly like how market-making quants bear inventory risks while trying to find sellers and buyers for stocks.

Kurumi

Latency matters as much as artistic vision. If it wasn't for quants, internet won't be free, creators won't be able to monetize their content, and advertisers won't be able to reach their target audience.

Shez

So, who wants to sponsor our next episode?

Kurumi

(fufufu) We might not even need to ask if we have enough data about our users.