You are here:   Table of contents / Monetize The App With Ads / Setting External Ad Networks

Add a file ads.txt | PWA

About ads.txt

ads.txt is an initiative from IAB Technology Laboratory.  
"The mission of the ads.txt project is simple: Increase transparency in the programmatic advertising ecosystem.
Ads.txt stands for Authorized Digital Sellers and is a simple, flexible and secure method that publishers and distributors can use to publicly declare the companies they authorize to sell their digital inventory."


The ads.txt project aims to prevent various types of fraud in advertising.

For more information, please check the link below:
https://iabtechlab.com/ads-txt-about/


1

Create an ads.txt file for your PWA for AdSense

1. Sign in  to your AdSense account.
2. In the alert on your homepage, click Fix now.
3. Click the Down arrow to open the "Create an ads.txt file for..." message.
4. Click Download. Your ads.txt file is automatically downloaded.

For more information, check the link below:
https://support.google.com/adsense/answer/7532444?hl=en


2

Add your publisher ID AdSense to an ads.txt file

1. Sign in  to your AdSense account.
2. In the alert on your homepage, click Fix now.
3. Click the Down arrow Down Arrowto open the "Add your publisher ID to these ads.txt files" message.
4. Click Copy.
5. Paste the line into each of your ads.txt files.
Your ads.txt file should now look like this, where pub-0000000000000000 is your own publisher ID :
google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0

For more information, check the link below:
https://support.google.com/adsense/answer/7532444?hl=en


3

Add your ads.txt file to your GoodBarber PWA

1. Go to the menu Settings > HEAD tag
2. Upload your file by clicking the link under "Upload your ads.txt file here"

picture