Section650

Writing

TopicLeadership
Reading14 min

From SEO and AdSense to AI Search: How Digital Publishing Works

How digital publishing earns revenue, how search and social distribution work, and what AI search research suggests about discovery.

By Ka Lun Chan · Software architecture · Leadership / Learning / AI

When content could make a lot of money

Publishing used to run on a simple model: create useful content, rank in search, show visitors advertising and earn. It was never free money, because production had real costs and a visitor’s value depended on their intent and on advertiser demand. Now answer engines can serve a publisher’s expertise to someone who never visits, so the engineering has to account for an audience that doesn’t arrive on the site.

The publishing case study was a portfolio of titles competing with larger publishers. The engineering work covered the platform as well as how readers found its articles.

The model of that era was simple to state. Create useful content, rank in search, attract visitors, show them advertising, earn. Some publishers ran thousands of pages aimed at specific topics and queries, and a good article could keep bringing readers for years. Evergreen content was an asset that paid out monthly. Search engines were the largest traffic source most publishers had, and the traffic was free at the margin: you paid to produce the article once and nothing per visitor afterwards.

It was never free money, whatever it looked like from outside. Ranking was not guaranteed, and a competitor with better content or better technical hygiene could take a position you had held for a year. Production had real costs: writers, editors, photography, a CMS that worked, hosting that held up on a good day. And not all traffic was worth the same. A reader researching insurance, a mortgage or business software was worth far more to advertisers than a reader passing through an entertainment piece, so category, geography, advertiser demand and the reader’s intent all set the revenue per visitor. Two sites with the same traffic could have very different businesses.

Fig. 685-1The digital publishing revenue engine Where the money is made
  • Content creation to SEO
  • Content creation to SMO
  • Content creation to AEO / GEO
  • SEO to Website visit
  • SMO to Website visit
  • AEO / GEO to Website visit
  • AEO / GEO to Answer without a visit
  • Website visit to Display ads
  • Website visit to Affiliate
  • Website visit to Direct
  • Answer without a visit to Direct
  • Display ads to Profit
  • Affiliate to Profit
  • Direct to Profit

Answer engines and AI assistants can now serve your expertise to someone who never visits, which is why the Audience column has two boxes. The old model only had one.

How AdSense actually makes money

Google AdSense pays a publisher a share of what advertisers pay to show ads on the publisher’s pages. The publisher builds a site with original content, applies, is reviewed for eligibility and policy, adds Google’s ad code once approved, and ads are served to eligible visitors. Since early 2024 AdSense pays per impression, the display-advertising norm, rather than per click, and the publisher keeps about 68% of what the advertiser pays overall, stated as 80% of the sell-side revenue.

The vocabulary confuses people because half of it describes what advertisers pay and half describes what publishers earn.

Fig. 685-2 Advertising metrics, and which side of the market each one describes
TermMeansWhat it tells a publisher
CPCCost per clickWhat an advertiser pays when someone clicks. Mostly an advertiser-side number now.
CPMCost per thousand impressionsWhat an advertiser pays per thousand ad views. The buy side of display.
Page RPMRevenue per thousand page viewsEstimated earnings ÷ page views × 1,000. The publisher number that matters most.
Impression RPMRevenue per thousand ad impressionsSame idea per ad unit shown, so it moves with how many units a page carries.
CTRClick-through rateClicks ÷ impressions. Still reported; no longer what you are paid on.
ViewabilityShare of impressions actually seenAn ad below the fold that nobody scrolls to is an impression advertisers pay less for.
Fill rateAd requests that returned an adUnfilled slots earn nothing and still cost the page load.

Clicks no longer determine earnings directly. An ad that is shown and seen earns; an ad that is clicked earns the advertiser a visit. What a publisher can control is page RPM, and it moves with audience quality, geography, advertiser demand in the category, how much of the page a reader sees, and how cleanly the ads are implemented.

A hypothetical example makes the point about volume. A site with 100,000 monthly page views at a page RPM of $5 earns about $500 a month: 100,000 divided by 1,000, times five. The same site at a page RPM of $15 earns $1,500 from the same traffic. Doubling traffic in a low-value category is often harder, and less profitable, than improving the value of the traffic you already have. That is also why a publisher cannot read its own earnings from a traffic chart.

Implementing it is mostly not technical. Build a site with original, useful content and clear navigation. Add a privacy policy and a way to contact you. Make it work on a phone. Check the technical SEO basics below. Apply, and once approved add the verification or ad code, configure where ads appear, and put a consent flow in front of them where consent rules apply, which for visitors in the EEA and UK means a Google-certified consent management platform. Then monitor earnings and policy compliance, because approval can be withdrawn.

The technical part is small and easy to get wrong. On a React or Astro site, load the AdSense script once, asynchronously, from the document head, and render each ad unit as a component that reserves its own space so the page does not jump when the ad arrives. Layout shift is a Core Web Vitals metric and an ad that pushes the article down as it loads is the most common cause of it on publisher sites.

React ad unit
// index.html, once:
// <script async crossorigin="anonymous"
//   src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-XXXX">
// </script>

import { useEffect, useRef } from 'react';

export function AdUnit({ slot }) {
  const ref = useRef(null);
  useEffect(() => {
    const el = ref.current;
    if (!el || el.dataset.loaded) return;
    try {
      (window.adsbygoogle = window.adsbygoogle || []).push({});
      el.dataset.loaded = '1';
    } catch (e) {
      // script blocked or not loaded yet; the slot stays empty
    }
  }, []);
  return (
    <ins
      ref={ref}
      className="adsbygoogle"
      style={{ display: 'block', minHeight: 280 }}
      data-ad-client="ca-pub-XXXX"
      data-ad-slot={slot}
      data-ad-format="auto"
      data-full-width-responsive="true"
    />
  );
}

Initialize each ad unit once, reserve its space and keep it away from interactive controls. The implementation should account for consent, layout shifts and the publisher’s policy requirements.

Affiliate marketing: paid for an action

Affiliate marketing pays a publisher when a reader completes a defined action after following the publisher’s link: a purchase, a qualified lead, a subscription, a registration. The chain is advertiser, affiliate network, publisher, visitor, conversion, with the network tracking the link and paying the commission, although some programs run directly between an advertiser and a publisher with no network in between.

The compensation models follow the action. Cost per sale pays a share of a purchase. Cost per lead pays for a form that an advertiser accepts as qualified. Cost per acquisition is the general term for either. Revenue share pays a percentage of what the customer spends, sometimes recurring for as long as they stay a customer, which is why software subscriptions are the affiliate category publishers like best.

The tracking is where the engineering lives. A link carries an identifier for the publisher and often for the specific page. A cookie, or a server-side record, remembers who sent the visitor for an attribution window of days or weeks. When the advertiser records a conversion, the network matches it to the identifier, holds it for validation, and reverses it if the order is refunded or the lead is rejected. Attribution is imperfect by design now: browsers restrict third-party cookies and shorten first-party ones, privacy tools strip identifiers, and two networks will count the same month differently. A publisher that reconciles its own click logs against the network’s reports learns a lot about which half of its traffic is being credited.

Another hypothetical. A product comparison page draws 10,000 visitors. Five percent click an affiliate link, 500 clicks. Three percent of those clicks convert, 15 sales. At an average commission of $40 that page earned $600. Change the conversion rate to one percent and it earned $200 from the same traffic; change the commission to $120 and it earned $1,800. Affiliate revenue is a product of two rates and a price, and the page’s job is to move the rates by being genuinely useful to someone deciding.

Implementing it: pick products your readers consider, research programs that carry them, apply to the network or the direct program, and get approved tracking links. Then publish comparisons and tutorials that would be worth reading with the links removed. Disclose clearly. Track outbound clicks yourself, measure conversions where the network reports them, watch commissions and reversals, and improve the pages on what readers needed rather than what paid. On disclosure, the FTC’s Endorsement Guides, updated in 2023, require it to be hard to miss and easy to understand: “paid link” next to the link is adequate, “affiliate link” on its own is not, and a disclosure hidden behind a “more” link does not count. Editorial independence is the whole asset. The moment readers suspect the recommendation is for sale, the rates in that example fall and do not come back.

SEO: the foundation of organic traffic

Technical SEO makes it easier for search engines to discover, evaluate and display pages. The editorial and engineering decisions behind it are covered in the companion publishing article.

Technical SEO is a checklist, and the checklist is most of the job. Semantic HTML with one heading hierarchy per page. A title and meta description that say what the page is for. A canonical URL on every page, so syndicated and parameterized copies do not compete with the original. Open Graph metadata, which social platforms read. An XML sitemap that lists what you want indexed and nothing else, and a robots file that does not accidentally block it. JSON-LD structured data describing the article, its author and the organization. Server-side rendering or static generation, because a page whose content only exists after JavaScript runs is a page some crawlers see empty, and the ones that render it do so later and less often. Correct status codes: a missing page returns 404, a moved page redirects once, and nothing returns 200 with an error message in it. On the publishing platform, re-platforming from WordPress to Rails was partly about getting every one of these under engineering control, and organic traffic grew by half.

Google Search Console is where you find out whether any of it worked: which queries show your pages, where they rank, what is indexed and what was excluded and why, and which Core Web Vitals are failing on which templates. It is free, it is the search engine’s own view, and a publisher that does not read it weekly is guessing.

SMO: distribution you don’t own

Social platforms changed distribution because they did not wait for someone to search. Facebook, Instagram, LinkedIn, Reddit, YouTube and smaller communities could put an article in front of people who had not asked for it, and for a while that was a traffic source as large as search for some titles. Social media optimization is the work of making content discoverable, engaging and shareable inside those platforms, and it differs from SEO in one important way: search captures demand that already exists, social has to create interest where there was none.

The implementation starts with the same metadata. Open Graph tags and a preview image sized for each platform decide whether a shared link looks like something or like a grey box. After that it is editorial: a summary written for the platform instead of pasted from the article, participation in the communities where readers are, and the restraint to post something only when it is useful there. Being new is not a reason on its own. Posting the same link to every platform at once produces a feed nobody follows. The same article can become a chart, a thread, a short video and a discussion prompt without becoming spam, if each format serves the people on that platform. Measure it with UTM parameters on the links and the platform’s own analytics, and compare referral traffic to what it costs to produce. On the publishing platform, treating social distribution as a product feature rather than an editorial afterthought grew social traffic and social engagement by half each.

AEO and GEO: visibility without the visit

Answer engine optimization (AEO) is the practice of making information clear, accurate and easy to extract into a direct answer, for search features, voice assistants and AI tools that answer a question rather than list links. Generative engine optimization (GEO) is the practice of making your expertise discoverable, accurately represented and cited by AI systems that synthesize answers from many sources. Both are industry terms for ways of working, not ranking systems with guarantees.

AEO in practice is information architecture. Take an article about cloud infrastructure costs. Instead of a broad introduction, give it a section headed with the question people ask, “What is cloud cost optimization?”, followed by a two-sentence answer that stands on its own, then the examples, then the deeper technical material. Add a short FAQ for the questions readers ask, in semantic HTML, with sources for any fact that could be checked. That structure serves a person skimming on a phone and a machine extracting an answer equally well, and it is how the posts on this site are built, including this one. FAQ markup does not create rich results or AI citations by itself, whatever anyone selling it says.

GEO adds the question of whether an AI system will trust and credit you. The practices that seem to matter are the ones that would have mattered to a careful human editor: original, experience-based content that says something the generic articles cannot; a clearly identified author and organization, consistently described everywhere; descriptive headings and precise definitions; concrete examples and evidence; links to authoritative sources; information kept current; and pages that relevant crawlers can read. Measure AI referral traffic where your analytics can see it, and evaluate visibility knowing that many mentions produce no visit at all. Original experience is the one thing a generated article cannot copy, and it is why a page written by someone who did the work still has a place in a world that can generate ten thousand pages about the same topic by lunch.

How SEO, SMO, AEO and GEO work together

Fig. 685-3 Four distribution strategies, one article
StrategyPrimary goalTypical outcome
SEOOrganic search visibilitySearch traffic to your pages
SMOSocial visibility and engagementReach, shares and referral traffic
AEOClear, extractable answersAnswer visibility, with or without a click
GEOBeing cited by generative AI systemsMentions, citations and some referrals

They overlap more than the acronyms suggest, and the mistake is to run them as four disconnected content programs with four owners and four backlogs. One strong, original article, with a clear structure, credible information, correct technical implementation and a thoughtful distribution plan, supports all four. The structure that helps an answer engine extract a definition helps a reader skim. The metadata that makes a search result accurate makes a social preview accurate. The author credibility that earns a citation earns a share.

The publishing economics have changed

The search-funded model still exists. More competition and answer surfaces that may satisfy a search without a click add uncertainty to the economics.

A publisher that depends heavily on organic search should know what happens when that source declines.

The engineering behind a profitable platform

The engineering scope for a publisher can include editorial workflows, caching and rendering, ad integration, consent and measurement. Capacity planning and cloud cost covers the operating side.

A website that earns advertising revenue is not necessarily profitable. The simplified test is operating contribution: advertising revenue plus affiliate revenue plus other revenue, minus direct operating costs, where direct costs include hosting, content production, software services and whatever else is attributable to running the site. A page that earns $5 per thousand views and costs $6 per thousand to serve and produce is a page losing money at any scale.

Performance can affect what it costs to serve a page and whether the reader stays. See the publishing case study for the re-platform and its reported outcomes.

How the business model changes the site

Content serves different purposes on different sites. A calculator, product guide and race announcement need different measures of usefulness.

Useful Little Tools illustrates a tool-first model. Its explanations are useful when they help someone use a calculator or interpret the result.

What the engineering team needs to consider

Through all the changes in search, social, advertising and AI, one principle held: content creates business value only when it reaches the right audience and serves a real purpose for them.

A fast site still needs an audience, a way to reach it, a working revenue model and a cost structure that supports the business.

Short answers

How does Google AdSense make money for a publisher?

A publisher builds a site with original content, applies, is reviewed, and adds Google’s ad code once approved. Ads are served to eligible visitors, advertisers pay through the ad ecosystem, and the publisher keeps a share, about 68% overall. AdSense pays per impression, so earnings depend on page RPM: estimated earnings divided by page views, times a thousand.

What is the difference between CPM, CPC and RPM?

CPM and CPC describe what advertisers pay, per thousand impressions or per click. RPM describes what a publisher earns per thousand: Page RPM per thousand page views, impression RPM per thousand ad impressions. A publisher manages RPM; the advertiser-side numbers are inputs to it.

How does affiliate marketing differ from display advertising?

Display advertising pays for impressions. Affiliate marketing pays for a defined action after a reader follows your link: a sale, a qualified lead, a subscription. A tracking identifier and a cookie or server-side record attribute the conversion within a window, the network validates it, and reversals follow refunds. Disclosures must be clear: the FTC accepts “paid link”; “affiliate link” alone is not enough.

How do SEO, SMO, AEO and GEO differ?

SEO earns organic search visibility and traffic. SMO earns social reach and referral traffic. AEO makes answers clear and extractable for search features and assistants, sometimes without a click. GEO aims at being cited accurately by generative AI systems. One well-structured, original, credible article supports all four.

Why is a site with advertising revenue not necessarily profitable?

Because operating contribution is advertising plus affiliate plus other revenue minus direct operating costs: hosting, content production, software services and other attributable expenses. A page that earns less per thousand views than it costs to produce and serve loses money at any scale, which is why performance and infrastructure work affect both sides of the formula.

Distribution, revenue and operating cost

Publishing gives a practical test for technical decisions: how will readers discover the page, and what will it cost to serve?

Bring distribution, revenue and operating cost into the discussion while the platform decisions are still open.

Case study: the publishing platform