How to Add Google AdSense to a WordPress Site
To add Google AdSense to a WordPress site, create an AdSense account, submit your site for approval, then either paste your AdSense auto ads code into your theme's header or use a plugin like Site Kit by Google to handle the connection. Once approved and the code is live, Google automatically places and optimizes ads across your pages. The whole process takes 15–30 minutes to set up, though AdSense approval itself can take anywhere from a few days to a couple of weeks.
What You Need Before You Start
Before you touch a single line of code, make sure you have three things in place:
- A live WordPress site with real, original content — at least 10–15 published posts is a reasonable starting point.
- A Google account you’ll use to register for AdSense.
- A site that meets AdSense program policies — no prohibited content, a clear privacy policy page, and an About page are the basics Google looks for during review.
Google does not publish an exact checklist for approval, but in practice, thin sites and brand-new domains with minimal traffic tend to get rejected or held up. Build out your content first, then apply. It saves frustration.
Step 1 — Create Your Google AdSense Account
Go to adsense.google.com and sign in with your Google account. Click Get started, enter your website URL, select your country, and accept the terms. Google will then give you a small snippet of JavaScript — your AdSense verification code. Copy it. You’ll need it in the next step.
At this stage your account is pending. You have to prove site ownership before Google fully activates it.
Step 2 — Add the AdSense Code to Your WordPress Site
You have a few ways to do this. Pick the one that matches your comfort level.
Option A: Use Site Kit by Google (Easiest)
Site Kit is a free official plugin from Google that connects WordPress to AdSense, Search Console, Analytics, and PageSpeed Insights in one place.
- In your WordPress dashboard, go to Plugins → Add New and search for “Site Kit by Google.”
- Install and activate it, then follow the setup wizard to connect your Google account.
- When you reach the AdSense step, Site Kit automatically places the verification code and, after approval, can enable Auto ads site-wide with one toggle.
This is the method we’d recommend to most beginners — it handles the technical parts and keeps everything in one dashboard.
Option B: Paste the Code Manually via a Plugin
If you’d rather not install Site Kit, use a header/footer injection plugin like Insert Headers and Footers (by WPBeginner) or WPCode.
- Install and activate the plugin.
- Navigate to its settings and paste your AdSense code into the header section (inside the
<head>tag). - Save. The code will load on every page of your site automatically.
This approach works well and doesn’t tie you to any single Google plugin.
Option C: Edit Your Theme’s header.php (Advanced)
If you’re comfortable editing theme files, go to Appearance → Theme File Editor → header.php and paste the AdSense code just before the closing </head> tag. Save.
One caution: if you update your theme, a non-child theme edit will be overwritten. Use a child theme or stick to Options A or B unless you know what you’re doing.
Step 3 — Verify Ownership and Wait for Approval
Once your code is live, go back to your AdSense dashboard and click the button to confirm your code is in place. Google will then crawl your site and begin its review. This typically takes a few days to a couple of weeks. You’ll receive an email when your account is approved — or if there’s an issue to fix.
During the waiting period, keep publishing content. A site that’s actively growing looks healthier to reviewers than one that’s been sitting static.
Step 4 — Enable and Configure Your Ads
Once approved, you have two main approaches to displaying ads:
Auto Ads
Auto ads let Google automatically decide where and how often to show ads across your site. It’s the lowest-effort option and works surprisingly well on content-heavy sites. You enable it with one toggle inside your AdSense account under Ads → By site.
Manual Ad Units
For more control, create individual ad units inside AdSense (display, in-article, in-feed, etc.), copy the ad code, and place it in your WordPress theme or via a widget/shortcode plugin like Advanced Ads or Ad Inserter. Manual placement lets you put ads in high-visibility spots — like just below your post title or at the end of your content — which often performs better than leaving it entirely to Auto ads.
In practice, many site operators run Auto ads as a baseline and add a few manual units in key positions on top of that.
What Affects How Much You Actually Earn
This is where honesty matters. AdSense pays you a share of what advertisers bid for clicks (CPC) and impressions (CPM). Advertiser bids vary widely by niche, keyword, and audience geography. Finance and legal keywords attract higher advertiser competition than, say, general entertainment. US and UK traffic commands higher bids than most other regions. None of these figures are fixed — they shift with advertiser demand and seasonality.
What that means practically: you don’t control CPC. What you do control is the quality and volume of your traffic, the relevance of your content to high-demand topics, and how well your ad placements are positioned. Those are the real levers.
For context on what a well-built content site can be worth, the sites we’ve built and sold on Flippa — including PainBalance.org ($4,200), QuoteDB.org ($3,500), and DayToDayRecipes.com ($8,000) — were all AdSense-monetized niche sites built on WordPress. The value came from consistent organic traffic to well-targeted content, not from chasing high CPCs.
If you want to skip the technical setup entirely and get a site that’s already structured for AdSense approval, MoneyManifest.net builds done-for-you AdSense-ready WordPress sites from the ground up.
Common Mistakes That Slow Down Approval or Kill Earnings
- Applying too early. A site with five posts and no traffic is a common rejection reason. Build first, apply later.
- Missing a privacy policy. AdSense requires one because of cookie and data disclosures. Add a privacy policy page before you apply.
- Clicking your own ads. This is a policy violation that can get your account terminated. Don’t do it, not even to test.
- Too many ads on thin pages. More ads don’t equal more money if your content is short and your bounce rate spikes. Relevance and user experience come first.
- Ignoring mobile. Most organic traffic is mobile. Test your ad layout on a phone. Ads that cover content or break your layout can trigger a policy issue.
Your Next Steps
Getting AdSense connected is just the beginning. The actual work — and the actual earnings potential — lives in building content that ranks for keywords people are searching. If you haven’t mapped out your keyword strategy yet, start with our guide on how to do keyword research for free. And if you’re still figuring out what tools your site actually needs, the post on what tools you need to start a niche website is worth a read before you go any further.
Key takeaways
- Apply to AdSense only after your site has real content — 10–15 solid posts is a reasonable baseline before submitting.
- The easiest way to add AdSense to WordPress is the free Site Kit by Google plugin, which handles code placement and connects your other Google tools.
- Auto ads are the lowest-effort option; manual ad units in key positions (below the title, end of post) often improve performance on top of that.
- AdSense earnings depend on your niche, traffic volume, and audience geography — there is no guaranteed income, and advertiser CPC rates vary and change over time.
- Never click your own ads and always include a privacy policy — both are non-negotiable for keeping your AdSense account in good standing.
Frequently asked questions
How long does Google AdSense approval take for a WordPress site?
Approval typically takes anywhere from a few days to a couple of weeks after you place the verification code and submit for review. Sites with thin content or very new domains can take longer or get rejected — building out your content before applying speeds up the process.
Do I need a plugin to add AdSense to WordPress?
No, but a plugin makes it significantly easier. You can paste your AdSense code directly into your theme's header.php file, but using a plugin like Site Kit by Google or Insert Headers and Footers is safer and survives theme updates without extra effort.
Can I use AdSense on a free WordPress.com site?
Not on a free WordPress.com plan — AdSense requires you to control your site's code, which means you need a self-hosted WordPress.org site on your own hosting. This is one of the main reasons most serious site builders use self-hosted WordPress from the start.
What is the difference between Auto ads and manual ad units in AdSense?
Auto ads let Google automatically choose where and how often to display ads across your site with minimal setup. Manual ad units give you precise control over placement — you create specific ad formats in AdSense and embed them in exact spots on your pages using a plugin or theme code. Many site operators use both together.
Helpful resources
- Google AdSense Help: Get started with AdSense
- Google AdSense Program Policies
- Site Kit by Google — Official Plugin Page
- Google Search Central: How Google Search Works
Want a site like this built for you?
We build done-for-you AdSense sites — domain, 50 articles, SEO, and approval help — for a one-time $499. We’ll first send you 3 real sites we built and sold on Flippa.
This article is general educational information about websites and Google AdSense, not financial advice or a guarantee of income. AdSense earnings depend on your niche, traffic, and effort, and vary widely. CPC figures are advertiser bid estimates that change over time. Always review Google's current AdSense program policies before building.
See 3 real sites we built & sold
Enter your email and we'll send you three AdSense sites we built and flipped on Flippa — plus the simple model behind them.
No spam — just the 3 examples and the breakdown.