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:
Log in to Blogger: Go to Blogger and sign in with your Google account.
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.
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.
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 Sites → Fix Issues if your site is flagged for missing ads.txt).
Example of a typical ads.txt code:
Replace
pub-1234567890123456with your actual publisher ID from AdSense.Save Your Changes:
- Click Save to apply the changes.
Verify the Ads.txt File:
- Visit your blog's ads.txt file URL to confirm it's working. The URL will look like this:
- Replace
yourblog.blogspot.comwith your actual blog's URL.
- Visit your blog's ads.txt file URL to confirm it's working. The URL will look like this:
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
Post a Comment