How to Add your AdSense publisher ID to an ads.txt file

Copy of Google Adsense Fix Missing Ads.txt File BLOG 1024x576 1024x585
Copy of Google Adsense Fix Missing Ads.txt File BLOG 1024x576 1024x585

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.

Note: It may take a few days for your changes to be reflected in AdSense. If your site doesn’t make many ad requests it may take up to a month.

Create an ads.txt file for your site

  1. Sign in to your AdSense account.
  2. In the alert on your homepage, click Fix now.
  3. Click the Down arrow Down Arrow to open the “Create an ads.txt file for…” message.
  4. Click Download. Your ads.txt file is automatically downloaded.
  5. 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.
Note: If you’re using another ad network, remember to add that network to your ads.txt file. Contact your ad network for their ads.txt information.

Add your publisher ID 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

 

 

Be the first to comment

Give Feedback About This Article