Adding AdSense to Your Site

Harry · 15 Sep 2026 · 1 views

Connect and verify your site

Create an AdSense account, add your site, and place the small verification snippet Google gives you in your page <head>. Google then reviews the site (this can take days to a couple of weeks) before ads start showing.

Add ads.txt

Create a file at https://yoursite.com/ads.txt listing Google as an authorised seller of your ad inventory. It protects your revenue from ad fraud, and AdSense will nag you until it is present:

google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0

Use the exact line AdSense shows you (with your publisher ID).

Auto ads vs manual units

  • Auto ads: paste one code snippet and Google automatically places ads where it predicts they will perform. Easiest to start; less control over placement.
  • Manual ad units: you create each ad unit (display, in-article, in-feed) and drop its code exactly where you want it. More work, more control – best once you know your layout.

A common approach is Auto ads first, then switch key pages to manual units once you see what earns.

Key points

  • Add the verification snippet to your <head> and wait for review.
  • Publish an ads.txt file with your publisher line.
  • Auto ads are the fastest start; manual units give you control.
  • You can mix both as you learn what performs.
Share this post:

Comments (0)

Please login or register to comment.