Skip to content

Convertain/ads-txt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ads.txt Redirect Repository

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.).

Purpose

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.

Current ads.txt Content

google.com, pub-9190930232339721, DIRECT, f08c47fec0942fa0

Usage

  1. Create a new repository with your ads.txt file.
  2. Grab the link to the raw file on GitHub.
  3. Setup a redirect/Cloudflare worker for yourdomain.tld/ads.txt to the raw file on GitHub.

About

Google Adsense

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published