This repository hosts a public ads.txt file used to comply with Google AdSense requirements for platforms that do not support direct ads.txt publishing (e.g., Ghost, etc.).
Some platforms do not allow uploading a custom ads.txt file. To work around this, we use the link to the raw ads.txt file in this GitHub repository in combination with a Worker on Cloudflare to redirect requests from /ads.txt to the file here.
Redirects are explained in Google Adsense's FAQ.
google.com, pub-9190930232339721, DIRECT, f08c47fec0942fa0
- Create a new repository with your ads.txt file.
- Grab the link to the raw file on GitHub.
- Setup a redirect/Cloudflare worker for yourdomain.tld/ads.txt to the raw file on GitHub.