Translate

Search This Blog

Thursday, 27 March 2025

How to fix ads.txt for blogspot

 To fix the issue for your Blogspot (Blogger) site, follow these steps:

  1. Sign in to Blogger: Log in to your Blogger account.

  2. Access Settings: Go to the "Settings" section in your Blogger dashboard.

  3. Enable Custom : Under "Monetization," find the option to enable the custom file and turn it on.

  4. Add Code: Copy the code provided by your AdSense account. It typically looks like this:

    google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0
    

    Replace pub-0000000000000000 with your AdSense publisher ID.

  5. Save Changes: Paste the code into the custom field and save your changes.

  6. Verify: To ensure the file is working, visit https://yourblogurl.com/ads.txt in your browser. You should see the code you added.

It might take a few days for the warning in your AdSense dashboard to disappear. 

No comments: