How can I download the Ads.txt file from Google Adsense?

epoll24
Excursionist
44 0 8

Hi all,

So I'm trying to add the Google Adsense Ads.txt file into Shopify. My issue is that I can't find where to generate/download the Ads.txt file on Adsense. All of the tutorials teach you how to upload the file but I simply haven't even been able to download the Ads.txt file from Adsense. See the attached screenshot that shows no way to download the ads.txt file.

Screen Shot 2023-02-11 at 5.55.08 PM.png

Replies 5 (5)

pawankumar
Shopify Partner
429 43 77

Hi,
I think,
This article: https://support.google.com/adsense/answer/7532444?hl=en
on google support can help you to resolve your issue.
Please check if it helps!
Thanks!

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan

ViktorShtodler
Shopify Partner
2 0 3

Here's how you can do it:

  1. Log in to your Shopify account and go to the Online Store section.
  2. Click on the Themes option and then click on the Actions button next to your current theme.
  3. Select Edit Code from the drop-down menu.
  4. In the left-hand menu, click on the "Templates" folder and then click on "Add a new template".
  5. In the pop-up window, select a template to create: robots.txt
    Screenshot_01.jpg
  6. Copy and paste the following code into the robots.txt at the bottom::

    google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0

    Replace "pub-0000000000000000" with your unique AdSense publisher ID. Screenshot_02.jpg

  7. Save the file and you're done!

    It may take a few days for the changes to take effect, but once they do, your AdSense ads should start displaying correctly.
clarksc3
Visitor
1 0 1

So Robot.txt is the same a Ads.txt file?

I believe Adsense requires the Ads.txt

TrinitySkys
Shopify Partner
7 0 3

Your awesome thank you!

mestylinspirit
Visitor
3 0 0

I have done this, and it has been a week, and it still says that it can't be found. Help!