While continuing to refine my multilingual A Tour of Go site recently, I ran into a seemingly counterintuitive problem:
Google AdSense Auto Ads were enabled and the ad script was loading correctly, but display ads never appeared on the lesson pages.
What was stranger was that, from a human perspective, the page clearly had a large blank area.
At first glance, it seemed like a perfect spot for a display ad.
In reality, however, no matter how long I waited or how many times I refreshed, standard page display ads never appeared in those blank spaces.
This became the starting point for a subsequent series of adjustments to A Tour of Go involving ads, SPA, SEO, and Prerendering.
The page clearly has this much blank space
What initially struck me as odd was the lesson page itself.
A Tour of Go uses a split-column layout:
The left side contains the lesson text, while the right side holds the code editor and its output.
Some lessons have shorter content, so after the main text on the left ends, a very noticeable large blank space is left behind.

In the screenshot, the red-boxed area is quite large.
If judged solely by human vision, placing a rectangular ad here would seem perfectly fine.
So, my initial, natural thought was:
Were AdSense Auto Ads not enabled at all?
Or was the ad code failing to load correctly?
First, confirm that Auto Ads itself is enabled
First, I checked the Google AdSense dashboard.
The site’s Auto Ads were indeed enabled.

This meant the problem could not simply be explained as:
“Forgot to turn on Auto Ads.”
At least from the AdSense configuration perspective, Google was permitted to automatically find suitable ad placements.
However, the dashboard showing “Enabled” alone did not prove that the ad code was actually working correctly on the browser side.
So, I continued by checking the network resources actually loaded by the page.
adsbygoogle.js also loaded successfully
I opened the browser developer tools and searched for adsbygoogle in the Network tab.
You can see:
pagead2.googlesyndication.com
adsbygoogle.js
HTTP 200
At this point, I could rule out the two most obvious issues:
- Auto Ads were not turned off;
- The main AdSense script had not failed to load entirely due to network or page configuration issues.
Yet, standard display ads were still missing from the page.
This was where the problem started to get interesting.
“Looking like it has blank space” does not equal “an ad slot exists in the DOM”
Initially, I had subconsciously made an assumption:
A large white area on the browser page means Google can insert an ad there.
I later found that this assumption did not hold.
What the browser ultimately displays is a two-dimensional image.
When Google determines whether an ad can be inserted, it is not looking at this “screenshot,” but rather at the actual HTML, DOM structure, and CSS layout.
In other words:
What humans see are blank pixels; what the ad system sees are elements, containers, positioning relationships, and document flow.
The two are not the same thing.
This point is especially evident in A Tour of Go.
A Tour of Go is not a standard article page
To further confirm this, I looked directly at the official A Tour of Go:
https://go.dev/tour/welcome/3I used the official page as a structural reference because my multilingual version has consistently tried to follow the upstream A Tour of Go lesson architecture, rather than reimplementing an entirely different page.
After opening the developer tools, you can see that the main lesson body roughly has the following hierarchy:
ng-view
└── #editor-container
├── .relative-content
│ └── #left-side
│ └── .relative-content
│ └── .slide-content
└── #right-side
In the image, the left .slide-content is selected.
The browser also uses a blue area to highlight the actual layout space this element occupies.
This screenshot made it easier for me to understand the previous phenomenon:
The fact that there appears to be a lot of white space on the page does not mean that these areas form a standard, continuous document flow suitable for inserting ads in the DOM.
A Tour of Go is essentially an interactive course application, not a traditional blog post.
It has its own:
- split-column layout;
- editor area;
- relative positioning relationships;
- page height calculations;
- SPA page transitions;
- fixed interactive lesson structure.
In this layout, “there is no text in a certain position right now” and “there is a container here where Google can safely insert a display ad” are two completely different concepts.
Why visual blank space might not become an ad slot
Traditional article pages are usually simpler:
Body text
Body text
Body text
Ad
Body text
Body textAll content flows from top to bottom along the normal document flow.
If Google inserts an ad between two block-level elements, the page generally just needs to extend naturally downward.
But the A Tour of Go lesson page is not structured that way.
It is closer to:
┌─────────────────┬─────────────────┐
│ │ │
│ Lesson text │ Code editor │
│ │ │
│ │ │
│ Visual blank │ Run output │
│ │ │
│ │ │
└─────────────────┴─────────────────┘The “blank space” generated here after the left-side text ends actually still belongs to the overall split-column layout.
It is not simply:
<p>End of text</p>
Nothing here
<footer>So even if a person looking at the screenshot thinks:
You could fit at least one 300×250 ad here.
Google’s automated layout logic will not necessarily reach the same conclusion.
The ad system must also consider what happens after a new element is inserted in this position:
- whether it will break the existing layout;
- whether the container has stable dimensions;
- whether the ad is within a normal visible area;
- whether the page still looks reasonable after being re-laid out;
- whether there are conflicts with other page elements;
- whether the current structure is suitable for automatically creating an ad node.
This is why relying solely on “the page still has blank space” to determine whether Auto Ads should display is unreliable.
At this point, the scope of the problem has clearly narrowed
After this round of checks, I could at least confirm:
Auto Ads enabled
↓
adsbygoogle.js loaded successfully
↓
Page has large visual blank spaces
↓
Standard display ads still do not appearTherefore, the problem could no longer be simply attributed to AdSense not working.
The more reasonable direction became:
The original DOM and page layout of A Tour of Go did not provide an in-page display ad slot that Google Auto Ads could properly utilize.
It should be noted that this does not mean I could know precisely from the browser side why Google internally rejected a specific position.
Google’s automated ad decision-making is a black box.
So a more accurate statement would be:
Based on the actual phenomenon and page structure, Auto Ads did not identify the blank spaces seen by the human eye as suitable positions for automatically inserting standard display ads.
As of my continued troubleshooting later on, I still never actually saw Auto Ads automatically insert standard page display ads on these lesson pages.
Therefore, simply waiting for Google to “eventually find a spot on its own” was no longer a reliable solution.
This raises an even bigger question
If the original A Tour of Go page structure was unsuitable for Auto Ads, then the most straightforward solution seemed to be:
Modify the page structure.
I could even take it a step further and consider:
Abandoning the existing SPA altogether and turning each lesson into a traditional standalone page.
This way:
- the page structure would be closer to a standard article;
- clicking next would reload the page each time;
- AdSense could re-execute;
- SEO would also become more straightforward.
From an advertising perspective, this route is actually quite tempting.
But A Tour of Go is not a website built for ads.
My version would need to track and sync with the upstream golang/website long-term.
If I significantly altered the upstream page architecture for AdSense, I would be solving an ad problem today, but potentially adding long-term maintenance costs in the future.
So, the problem started to shift here.
The initial question was just:
Why are there no ads despite having so much blank space?
By the end of the troubleshooting, what truly needed deciding had become:
Is it worth abandoning A Tour of Go’s original SPA architecture just for AdSense?
This also became the architectural choice I needed to make in the next phase.

