AdSense Ads Not Showing on WordPress: Auto Ads or Plugin
Google’s own help pages say a site review usually takes a few days and sometimes two to four weeks, and that new ads can take up to an hour to appear after setup. A good share of “AdSense is not working” reports on WordPress are those two timings at work. The rest come from a short list of fixable causes: a missing or wrong ads.txt, code in the wrong place, cached pages, and ad units loaded in a hidden state.
Fixing the problem also means choosing how AdSense gets onto the site in the first place. There are three common routes: pasting code into the theme, relying on Auto ads, or managing units with a plugin such as Ad Inserter. Each one fails in its own typical way.
This guide walks through the causes in the order worth checking, with the time each check takes, then compares the three placement routes and shows what blank ad space costs while it lasts.
Why AdSense ads do not appear: the usual causes
The first cause is site status. Google checks every site for ownership and policy compliance before serving ads. Its help center says this usually takes a few days but can take two to four weeks. Until the site shows as ready in the AdSense account, ad units stay empty no matter how well the code is placed.
A new site can avoid the avoidable delays by preparing a few things before applying. None of these speeds up Google’s review, but each removes a reason for ads to stay blank afterwards:
- Ownership: the site is reachable on its final domain, with HTTPS.
- Content: real pages and posts, plus privacy and contact pages.
- Script: the AdSense code loads on every page, including archives.
- Ads.txt: the file exists at the root with the publisher ID line.
- Staff: ads hidden for logged-in users before anyone starts testing.
The second is ads.txt. Google calls the file not mandatory but highly recommended, and the account shows an alert when it is missing or does not authorise the publisher ID. The file must sit at the root of the domain, for example example.com/ads.txt, and contain a line in the form google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0 with the real publisher ID. Changes can take a few days to register, and up to a month for sites that make few ad requests.
The third is timing after setup. Google’s help says it can take up to an hour for ads to appear once the code is on the page and the site is ready. Many owners check after five minutes, see a blank space and start changing things that were already correct.
The fourth is code placement. The site-wide AdSense script must load on every page that shows ads. Units placed inside elements that are hidden when the page loads, such as collapsed tabs or menus, may never request an ad; Google’s documentation on unfilled units warns against loading units as initially hidden.
The fifth is account limits. Google may place an ad serving limit on an account, either while it assesses traffic quality or because of invalid traffic. Its help page says such limits typically last less than 30 days but can take longer.
Why are my AdSense ads not showing on WordPress?
The most common reasons are a site that AdSense has not marked as ready yet, a missing or incorrect ads.txt file, ads checked less than an hour after setup, the AdSense script missing from some pages, cached pages serving old HTML, or an ad serving limit on the account. Check them in that order.
The checks in order, with time for each
Working through causes in a fixed order saves hours of guessing. The table lists the checks from fastest and most common to slowest, with a realistic time for each.
| Step | What to check | Where | Time |
|---|---|---|---|
| 1. Site status | The site is listed and marked ready | AdSense account, Sites page | 2 min |
| 2. Account alerts | Ads.txt alerts, policy notices, ad serving limits | AdSense account and Policy center | 3 min |
| 3. Ads.txt | The file opens at the domain root and contains the correct publisher ID line | Browser, example.com/ads.txt | 2 min |
| 4. Script on every page | The AdSense script appears in the page source of posts, pages and archives | View source in a private window | 5 min |
| 5. Cache | The page cache and any CDN cache are purged after changes | Cache plugin, CDN dashboard | 3 min |
| 6. Unit placement | Units are not inside hidden elements and fit the content width | Page source and layout on a phone | 5 min |
| 7. Auto ads settings | Auto ads are on for the site, no page exclusion covers the page | AdSense account, Ads section | 3 min |
| 8. Waiting time | At least an hour since setup, a few days since ads.txt changes | Calendar | Not applicable |
The first seven checks take about 23 minutes in total. They catch nearly every case where ads are missing for a technical reason rather than a policy or approval reason.
Step 4 is the one most often skipped. A theme that loads the script only on single posts leaves archives and pages blank, and the page source makes that obvious in seconds.
Step 2 deserves care. An ad serving limit or policy notice cannot be fixed by changing code, and touching ad placements while one is active rarely helps. Reading the notice first saves pointless edits.
How do I check if ads.txt is working on WordPress?
Open yourdomain.com/ads.txt in a browser. The file should load as plain text and include the line google.com, your pub ID, DIRECT, f08c47fec0942fa0. If it loads, AdSense will likely find it. Changes can take a few days to register in the account, and up to a month on low-traffic sites.
Errors that keep ads blank, and their fixes
| Symptom | Likely cause | Fix |
|---|---|---|
| Blank space where every unit should be | Site not yet ready in AdSense | Wait for the review; it usually takes a few days and sometimes two to four weeks |
| Ads.txt alert in the account | File missing, in a subfolder, or with a wrong publisher ID | Place the file at the domain root with the exact publisher line |
| Ads on posts but not on pages or archives | Script loaded only by some templates | Load the script site-wide through the header |
| Changes not visible | Page or CDN cache serving old HTML | Purge caches after every change |
| Some units blank, others filled | Unfilled requests for that size or position | Try responsive units and positions higher in the content |
| Units inside tabs or accordions stay empty | Units loaded in a hidden state | Move units outside hidden elements |
| Auto ads never appear on some pages | Page exclusion or excluded area in Auto ads settings | Review exclusions in the account |
| Sudden drop to very few ads | Ad serving limit | Read the Policy center notice; limits typically last under 30 days |
One error deserves its own warning. Never click your own ads to test them. Google’s guidance tells publishers not to click their own live ads, even when they think it is fine, and repeated self-clicks are a classic route to account problems.
The same goes for friends and colleagues. Asking people to click ads to check them, or to support the site, counts as encouraging clicks, which Google lists among the forms of invalid traffic that can lead to limits or account action.
Checking the page source for the ad markup, or looking at the layout as a logged-out visitor, tells you everything a click would.
Three ways to place AdSense on WordPress
Many of the errors above trace back to how AdSense was added. The three common routes are compared below on the criteria that matter when ads go missing.
Pasting code into the theme is the oldest method. The script goes into the header template and units into post templates or widgets. It works, but every theme update risks overwriting it, a child theme is needed to keep it safe, and conditions such as “not on the contact page” mean writing PHP.
Auto ads is Google’s own route. The script goes on every page, Auto ads is switched on for the site in the account, and Google chooses positions and formats. Settings include intent-driven, overlay and in-page formats, ad load for in-page ads, page exclusions and excluded areas, and an option to run an experiment on half the traffic for 90 days before applying changes. Google says Auto ads re-analyse a page after it changes.
A placement plugin such as Ad Inserter puts the script in its header code section and each unit in a block with its own position and conditions. The free edition includes an ads.txt editor, insertion before or after paragraphs, images and comments, between posts and inside any HTML element, device detection and display conditions by category, URL, user role and more.
| Criterion | Code in the theme | Auto ads only | Placement plugin |
|---|---|---|---|
| Survives theme changes | Only with a child theme | Yes, if the script stays site-wide | Yes |
| Control over positions | Full, with coding | Limited to formats, exclusions and ad load | Full, without coding |
| Rules by page, category or user role | PHP conditions | Page exclusions | Built-in conditions |
| Ads.txt | Uploaded by FTP | Uploaded by FTP or a plugin | Built-in editor |
| Hidden for logged-in staff | PHP conditions | Not available | User role and logged-in conditions |
| Suits | Developers with a stable theme | Owners who want hands-off placement | Owners who want control without code |
The routes combine. A common setup uses Auto ads for anchor and vignette formats while a plugin places in-content units with precise paragraph rules. The plugin also keeps the script site-wide and hides ads from logged-in editors, which removes two of the causes in the checklist at once.
Why is AdSense Auto ads not working on WordPress?
Auto ads need the AdSense script on every page and Auto ads switched on for the site in the account. Check that no page exclusion or excluded area covers the page, that the site is marked ready, and that caches are purged. Google notes that ads can take up to an hour to appear.
Setting up AdSense through Ad Inserter
For owners who choose the plugin route, the setup follows a short sequence that also closes most of the causes above. It takes well under an hour with the free edition.
- Paste the site-wide AdSense script into the plugin’s header code section, so it loads on every page.
- Create ads.txt with the built-in editor, then open the file in a browser to confirm it loads.
- Put each manual ad unit into its own block and choose a position, such as after paragraph 2.
- Add conditions: exclude contact and legal pages, hide ads for logged-in administrators and editors.
- Split desktop and phone units with device detection, using client-side detection on cached sites.
- Purge caches and check pages as a logged-out visitor on a phone, without clicking any ad.
Step 4 does double duty. Hiding ads from logged-in staff keeps the layout check honest, since editors see the site differently anyway, and it removes the chance of accidental clicks from the team during daily work.
Auto ads can run alongside these blocks. Many publishers keep Auto ads for anchor and vignette formats and let the plugin handle in-content placement, where paragraph rules give more control over spacing than automatic placement.
After a week, review which blocks fill reliably. Units that stay blank in a particular position often fill better a few paragraphs higher, closer to where readers actually are.
How long does it take for AdSense ads to show on a new site?
Two waits apply. The site review usually takes a few days and can take two to four weeks before AdSense marks the site ready. Once it is ready and the code is in place, Google says ads can take up to an hour to appear. Ads.txt changes may take days to register.
What blank ads cost while they last
Blank ad space is lost revenue measured in days. Take a site with 30,000 page views a month and an RPM of $3, both assumptions: about $90 a month, or roughly $3 a day.
A forgotten script on archive pages that carry a third of the traffic costs about $1 a day, $30 a month, until someone views the page source. An ads.txt problem that leaves the account flagged for two weeks before anyone looks at the alert costs a share of that fortnight’s revenue. An ad serving limit triggered by staff clicking their own ads typically lasts under 30 days and can wipe out most of a month’s earnings.
Against that, the checks in the table take about 23 minutes once. A free placement plugin costs nothing; Ad Inserter Pro, which adds click fraud protection on the Freelancer tier and statistics on every tier, starts at €20 for two sites as a one-time licence with a year of updates.
For a site earning $90 a month, one avoided week of blank ads covers that licence. For larger sites the ratio is even more lopsided.
What is the best AdSense plugin for WordPress?
A placement plugin with an ads.txt editor, device detection and display conditions covers most needs. Ad Inserter’s free edition handles header scripts, paragraph positions and conditions such as hiding ads from logged-in staff. Its Pro edition adds statistics, click fraud protection, geotargeting and A/B tests from a €20 one-time licence.
Getting Ad Inserter Pro
For sites where the free placement plugin is not enough, Plugindock offers Ad Inserter Pro under GPL terms as version 2.8.12, updated March 17, 2026, in a 12.1 MB archive. The catalogue reports that each archive is scanned with ClamAV plus heuristic checks and states that every download is malware-scanned and test-installed on its own server before it is published. Pixeldrain and Buzzheavier mirrors back up the main download.
The page is useful reading for AdSense publishers in particular. Its section on AdSense handling covers the AdSense code generator, the ads.txt editor and AMP support, and its FAQ addresses cached pages, ad blockers and how the plugin handles Google AdSense.
Install notes and a manual update guide sit on the plugin page with the Pro build and AdSense notes. The vendor’s licence from €20 for two sites adds a year of updates and email support, keeping the plugin on the newest 2.8 release with its security fixes.
Does Ad Inserter work with cached pages and AdSense?
Yes. AdSense units load in the visitor’s browser, so they work on cached pages. For rules that depend on the visitor, such as country, cookies or referrer, Ad Inserter’s documentation says to set the block to client-side insertion. Purge the cache after changing blocks so visitors receive the new HTML.
Most missing AdSense ads come back after twenty minutes of checks and a little patience. Placing the script and units through a plugin, with ads.txt in the same place and staff excluded from seeing ads, keeps them from going missing again.
