Authorized Digital Sellers, or ads.txt is an IAB initiative that helps ensure that your digital ad inventory is only sold through sellers (such as AdSense) who you’ve identified as authorized. Creating your own ads.txt file gives you more control over who’s allowed to sell ads on your site and helps prevent counterfeit inventory from being presented to advertisers.
We strongly recommend that you use an ads.txt file watch above video. It can help buyers identify counterfeit inventory and help you receive more advertiser spend that might have otherwise gone toward that counterfeit inventory.
Fix ads.txt issues in AdSense
If there’s an issue with ads.txt on your site, you’ll see an alert in your AdSense account. To prevent severe impact to your revenue, follow the steps below to fix the issue.
Create an ads.txt file for your site
- Sign in to your AdSense account.
- In the alert on your homepage, click Fix now.
- Click the Down arrow to open the “Create an ads.txt file for…” message.
- Click Download. Your ads.txt file is automatically downloaded.
- Upload the file to the root level domain of your site (for example, https://example.com/ads.txt).Root levels are one level down from what’s listed in the public suffix list. For example, “google.co.uk” is a root domain of “co.uk” but “maps.google.co.uk” is not. See the IAB ads.txt specification.
Add your publisher ID to an ads.txt file
- Sign in to your AdSense account.
- In the alert on your homepage, click Fix now.
- Click the Down arrow to open the “Add your publisher ID to these ads.txt files” message.
- Click Copy.
- 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
Give Feedback About This Article