,

Google AdSense Ads.txt Generator

Google AdSense Ads.txt Generator

Ads.txt Generator For Google AdSense

Enter your Google AdSense Publisher ID below. (Can be founder under Account Information)
[FORMAT: pub-0000000000000000]



How To Use Ads.txt Generator For Google AdSense?

This tool will generate the Ads.txt file based on your Publisher ID, for your Google AdSense account.

To use generate the Ads.txt using this tool, follow these steps:

STEP 1: Login To Your AdSense Account

Go to google.com/adsense and sign in, if not already signed in.

STEP 2: Get Your Publisher ID

After signing in to your AdSense account, go to the “Account” option from the left sidebar menu.

You will find your AdSense Publisher ID at the very top of the page that opens.

Google AdSense Publisher ID

STEP 3: PUT YOUR PUBLISHER ID IN THE GENERATOR

Copy your publisher ID from the AdSense dashboard and paste it in the AdSense Ads.txt Generator (at the top of this page) and hit the “Generate Ads.txt” button.

Your Ads.txt file will be generated. Now, click on the copy button to copy the code.

STEP 4: PASTE THE CODE IN A TXT FILE

Now that you have successfully obtained the code for your Ads.txt file, simply open Notepad (or any other text editor of your choice), paste the code into it and save the file with the name “Ads.txt”.

And That’s It!

Congrats! You’ve successfully generated the Ads.txt file required for your Google AdSense account! Now you can use that file anywhere you want.

If you have any doubt regarding this process, feel free to comment down below! Do consider sharing this free tool with others on your favourite social media site! 🙂

Have a great day ahead!

About The Author

Anirban is a full-stack developer and an SEO expert. He has 6 years of experience in web development and software engineering. With a passion for writing, he has been blogging since 2017.

10 thoughts on “Google AdSense Ads.txt Generator”

  1. Hi.
    I have genetated my ads. Txt.
    I use Blogger. Should I paste in as it is in my html (head) section?

    I did this earlier and on adsense, still got ads. Txt not found.

    Reply
    • You need to go to Blogger Settings, and under Monetization, turn ON “Enable custom ads.txt”. Then paste the code inside the Custom ads.txt field and save it.

      Reply
      • Hi Anirban, thanks for your response.
        I have earlier done that. Even before applying for adsense and I got ads txt not found.

        Then I decided to add the ads txt into my html head section. Maybe that will work.

        Reply
        • Hi Jude,

          You should generate it only when you have the correct publisher ID available to yourself. After you place it in the proper place, as mentioned in my last response, you can verify the same by visiting [your-site.com]/ads.txt.

          Reply
          • Hi.
            I verified and got this:

            google.com, pub-115XXXXXXXXX, DIRECT, f08c47fec0942fa0

            I guess this means I did the right thing..

          • Yes, if you see the correct code on your-site.com/ads.txt (assuming that there are actual numbers in place of those XXs), it means your ads.txt is set up correctly. Now simply wait for Adsense to detect the change, and the notice will go away.

Leave a Comment

Love The Article? You Can