Hi guys,
Recently I've been getting an Red alert at the top of my Adsense account that says:
"Earnings at risk – One or more of your sites does not have an ads.txt file. Fix this now to avoid a severe impact on your revenue."
How do I add this ads.txt file to my shopify site? You can see the instructions here: https://support.google.com/adsense/answer/7532444?hl=en-GB
I searched this forum and someone asked this in 2017 but no one could answer it. https://community.shopify.com/c/Shopify-Discussion/How-to-add-an-Ads-txt-file-to-a-Shopify-site/td-p...
Solved! Go to the solution
Did you try the redirect method outlined in the post you linked?
Main issue is assets go on shopifys cdn with is a different domain that .myshopify.com
The work around suggested doesn't work for the required txt file, it only allows google to verify your domain. I've tried using the code they provide as a txt record as well but it did not work. This is so frustrating. I asked Shopify after Google instructed me to contact my domain administrator and they provided me the same link in the original question above. I tried it just to see if maybe it would work and it didn't. Disheartening that our own platform can't assist with this.
@CholeWess wrote:I've tried using the code they provide as a txt record as well but it did not work.
You mean as Domain TXT record in your domain ?
Or as a file you added to the shopify admin assets?
Is shopify your domain name registrar?
https://help.shopify.com/en/manual/domains/managing-domains/advanced-settings
Hi, we can solve this for you.
https://experts.shopify.com/prosale/domain-setup
We'll need your ads.txt file + full access to your store and Google will verify within 24-48 hours (or your money back!).
Clean, white-hat methods only - we do this on our own stores too.
This is an accepted solution.
Here is the solution to this issue:
Upload Adsense txt file to shopify assets folder
Shopify-Navigation-URL-Redirects
Creating Adsense txt redirect for shopify
Hope this helps everyone and please allow 24 - 48 hours for your Adsense account to approve your txt file has been uploaded to your domain server.
Your instructions are the most helpful one I've come across, I've been trying to solved this problem for my site for quiet sometime now. Thanks for your help really appreciate it.
User | Count |
---|---|
19 | |
18 | |
13 | |
11 | |
11 |