Where to place Ads.txt code for AdSense on blogspot?

Adding an ads.txt file to your Blogspot (Blogger) blog for AdSense is a straightforward process. Here's how you can do it:


Steps to Add Ads.txt in Blogger:

  1. Log in to Blogger: Go to Blogger and sign in with your Google account.

  2. Go to Settings:

    • From the Blogger dashboard, select the blog where you want to add the ads.txt.
    • Scroll down in the left-hand menu and click on Settings.
  3. Enable Custom ads.txt:

    • In the Settings section, scroll down to the Monetization section.
    • Look for the option Enable custom ads.txt.
    • Toggle the switch to turn it on.
  4. Add the Code:

    • After enabling custom ads.txt, you'll see a field labeled Custom ads.txt or Ads.txt Content.
    • Copy and paste the code provided by Google AdSense (you can find it in your AdSense account under SitesFix Issues if your site is flagged for missing ads.txt).

    Example of a typical ads.txt code:

    rust
    google.com, pub-1234567890123456, DIRECT, f08c47fec0942fa0

    Replace pub-1234567890123456 with your actual publisher ID from AdSense.

  5. Save Your Changes:

    • Click Save to apply the changes.
  6. Verify the Ads.txt File:

    • Visit your blog's ads.txt file URL to confirm it's working. The URL will look like this:
      arduino
      http://yourblog.blogspot.com/ads.txt
    • Replace yourblog.blogspot.com with your actual blog's URL.

Tips:

  • Ensure the ads.txt code is accurate and exactly as provided by Google to avoid any issues with ad serving.
  • Changes may take a few days to reflect in your AdSense account.

Comments

Popular posts from this blog

How fast do search engines index links on a page?

How well do older people understand technology?

How to generate dynamic html sitemap page for blogspot