Skip to content

Breza/adstxt

Repository files navigation

adstxt

Fraud is a major problem in online advertising. The ads.txt standard (PDF) allows publishers to add a layer of trust by publishing a list of all ad networks in which they participate. Publishers post a specially formatted text file to domain.com/ads.txt (for example nytimes.com/ads.txt, washingtonpost.com/ads.txt, etc). That file

Installation

This package is not available on CRAN. You can install the latest version from GitHub with:

# install.packages("devtools")
devtools::install_github("Breza/adstxt")

Usage

The function adstxt() is the heart of the package. Given a URL, it will return a tibble with data from the ads.txt file for that site. If no ads.txt file is found, it will return NA.

nyt <- adstxt("http://nytimes.com")

This project is under active development, so feel free to lend a hand! There's a Contributor Code of Conduct to help keep things civil.

About

adstxt

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published