I am a google adsense publisher. I need to add my publisher ID with an ads.txt to my wbsite root. Do you know how i can do that?
Exact instructions on how to create, format and place an ads.txt file to your WordPress website. Includes screenshot of a sample ads.txt file you can use with AdSense code needed to comply with AdSense and other advertisers and ad networks.
Est. reading time: 4 minutes
This is related to your web host / origin server. Not to Cloudflare itself as much, but in case if there is an issue that you have added it successfully but Google AdSense says it cannot be loaded or some other issue because your Website is recently added to Cloudflare?
Please see here:
If you put a file on your server, Cloudflare will pass it along to your visitors. You didn’t post the domain name, so we can’t test this.
It’s possible to have a Cloudflare worker deliver this file for you, but it’s a tedious process that you shouldn’t have to go through for this situation.
Or try this one:
This is easy with our app called Quick. Quick lets you easily serve static pages on Cloudflare for free.
Go to Quick’s
install page after selecting the site you want to install it on.
Let’s say your site is www.yoursite.com. In Quick’s Route Configuration section, add the following:
Route Name: ads.txt
Route URL: www.yoursite.com/ads.txt
Page Template: [your ads.txt content]
Your ads.txt content should follow the same format as BuzzFeed’s ads.txt.
Press Install on all pages and navigate t…
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.