How to Create an Adsterra Publisher Account: Step-by-Step Guide
A simple step-by-step guide to creating an Adsterra publisher account, adding your website, getting approved, and setting up your first…
A clean Adsterra WordPress setup is the difference between ads that earn and ads that cause trouble. Most problems come from where and how the code is pasted, not from Adsterra itself. Ads don’t show, they show twice, or they slow the whole site down.
I am Humair Ahmad. I run Adsterra on my own WordPress sites and teach this setup to my students. This guide shows the clean way to add Adsterra ads to WordPress, step by step, in plain English.
Not sure which units to create for your Adsterra WordPress site? My guide to Adsterra ad formats explained covers what each one does and where it fits.
Copy the code from the GET CODE button and paste it without any changes. Adsterra’s publisher terms don’t allow altering the ad tag without written consent, and even a missing character can stop ads from showing.
Avoid pasting codes into the visual editor or a normal paragraph block. These can change the code silently. Always use a code plugin, an ad plugin or a Custom HTML block.
| Ad format | Best method | Where it loads |
|---|---|---|
| Popunder | Header and footer plugin | Every page |
| Social Bar | Header and footer plugin | Every page |
| Native Banner | Ad plugin or Custom HTML block | After post content |
| Banner | Ad plugin, widget or Custom HTML block | In content or sidebar |
Popunder and Social Bar codes load on every page, so they belong in your site-wide header or footer.
Use one plugin for all site-wide codes in your Adsterra WordPress setup. When codes are spread across a plugin, the theme and a widget, it becomes hard to find and update them later.
For ads inside your content, an ad plugin like Ad Inserter or Advanced Ads gives you precise control.
Ad plugins let you move a banner with a few clicks instead of editing every post. That makes testing placements fast, which is how you find the layout that earns the most on your own site.
For a sidebar banner, go to Appearance > Widgets, add a Custom HTML block, paste the code and save. In the block editor you can do the same inside a post with a Custom HTML block.
This method is fine for one or two ads. For more than that, an ad plugin is easier to manage.
Some tutorials tell you to paste ad codes straight into header.php or footer.php. It works, but I don’t recommend it for an Adsterra WordPress site.
When your theme updates, those edits can be wiped out and your ads disappear without warning. A code plugin keeps your codes safe through theme updates and keeps them all in one place.
If you already edited theme files in the past, move those codes into a plugin. Delete them from the theme first so they don’t run twice.
If you are starting from zero, follow this order. It is the same simple routine I use with new students:
That is a complete Adsterra WordPress starter setup. Add a Social Bar or a Banner later, one at a time, so you can see what each change does.
Once your ads are live, the next job is visitors. My guide on how to get traffic for Adsterra covers safe sources. Also remember that most visitors browse on phones. On mobile, the sidebar usually drops below your content, so in-content and after-content placements matter more.
A fast site keeps visitors longer, and more page views mean more ad impressions. Speed is part of your Adsterra WordPress income, not a separate task.
On October 20, 2026, Adsterra launched its Ad Intelligence Engine. Publishers who joined before that date must replace each old code with the updated one from the Websites page. Don’t create new units, because your existing codes are already updated.
My step-by-step Adsterra ad code update guide shows exactly where to look on a WordPress site. You can also read Adsterra’s own announcement on the official Adsterra blog.
In my Adsterra AI Powered Batch 5 course, I show the full WordPress setup on screen: building the site, placing every format and testing which layout earns the most.
Not strictly, but it is the cleanest way. A header and footer plugin like WPCode handles Popunder and Social Bar, and an ad plugin like Ad Inserter or Advanced Ads handles banners.
In your site-wide header or footer, using the section Adsterra’s instructions name. Add it once only, because a second copy doesn’t double your income.
Test in an incognito window with your ad blocker off and clear your cache. If they still don’t show, re-copy the code from GET CODE and paste it into a Custom HTML block or code plugin.
Too many units can. Start with two or three, use caching, compress images to WebP and test with Google PageSpeed Insights after every change.
No. Adsterra’s publisher terms don’t allow altering the ad tag without written consent. Paste it exactly as given and adjust the placement around it instead.
A simple step-by-step guide to creating an Adsterra publisher account, adding your website, getting approved, and setting up your first…
Adsterra ad formats explained in plain English: Popunder, Social Bar, Native Banner, Banner and Smartlink, where each works best, and…
Adsterra minimum payout starts at $5. See every payment method, fee, payout date and 2-week hold, plus the best option…