Method 1: Add AdSense Code via Blogger Layout (Recommended)
This is the easiest and safest way.
-
Log in to Blogger
-
Go to Layout
-
Click Add a Gadget
-
Choose HTML/JavaScript
-
Paste your Google AdSense ad code
-
Click Save
-
Drag the gadget to the position you want (sidebar, footer, etc.)
-
Click Save arrangement
Done. The ad will appear once AdSense approves and starts serving ads.
Method 2: Add AdSense Code Inside a Post (In-Content Ads)
Use this if you want ads inside blog posts.
-
Go to Posts → New Post
-
Switch editor to HTML view
-
Paste the AdSense code where you want the ad to appear
-
Switch back to Compose view (optional)
-
Publish or update the post
Tip: Place ads between paragraphs, not at the very top.
Method 3: Add AdSense Auto Ads (Site-Wide)
This enables Google to place ads automatically.
-
Go to Google AdSense → Ads → Auto ads
-
Copy the Auto Ads code
-
In Blogger, go to Theme
-
Click Edit HTML
-
Find </head>
-
Paste the AdSense code right above </head>
-
Click Save
Auto ads will start appearing across your site.
Common Issues & Fixes
How to Find the <head> Tag in Blogger
Many users get stuck because they don’t know where the <head> tag is. Follow these steps carefully.
-
In Blogger, go to Theme
-
Click Edit HTML
-
You will see a long code editor
Now use one of these ways:
-
Press Ctrl + F (Windows) or Cmd + F (Mac)
-
Type </head> and press Enter
-
Blogger will highlight the line automatically
You should see something like this near the top of the code:
</head>
Paste your Google AdSense code directly ABOVE this line.
Important notes:
-
Do not delete or edit the <head> or </head> tags
-
Paste the code between existing scripts, not inside another script
-
If you don’t see <head> immediately, always search using </head> — it’s easier to find than <head>
After pasting the code:
-
Click Save
-
Wait a few minutes, then check your site
Important: Be Extra Careful When Editing Theme Code
When editing the Theme → Edit HTML section, you are modifying your site’s core code. A small mistake can break the layout or cause errors.
Please keep these precautions in mind:
-
Do not delete anything unless you are 100% sure
-
Only paste the AdSense code exactly as provided
-
Never edit or remove existing <head> or </head> tags
-
Make sure the AdSense code is not pasted inside another script
-
Avoid adding extra spaces or characters accidentally
Before saving:
-
Double-check that the code is pasted above </head>
-
If possible, copy the original code first as a backup
If your site looks broken after saving:
Take your time. There’s no rush — careful editing prevents problems later.