Today’s blog post involves me showing you the easiest way how to create an ads.txt file for your site.
Ads.txt is a simple, flexible, and secure method for publishers and distributors to declare who is authorized to sell their inventory, improving transparency for programmatic buyers.
AdSense provides a personalized ads.txt file that you can download from your account. The personalized ads.txt file includes your publisher ID. Your publisher ID must be included and formatted correctly for your ads.txt file to be verified. If there’s an ads.txt file present on your site and your publisher ID is missing from it, Google will reject all ad requests from your site.
Now let’s get to it.
How to create an ads.txt file for your site – Steps
- Sign in to your AdSense account.
- If there’s an alert on your homepage, click Fix now. Otherwise, click Sites.
- Click the Down arrow to open the “Create an ads.txt file for…” message.
- Click Download. Your ads.txt file is automatically downloaded.
- (Optional) 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.
- Upload your ads.txt file to the root directory of your site. The root directory of a site is the directory or folder following the top level domain (example.com/ads.txt).To verify that you published your file correctly, check that you successfully see your file’s content when you access the ads.txt URL (https://example.com/ads.txt) in your web browser. If you can see the file in your web browser, it’s likely that AdSense will successfully find it.
For the last step, if you’re unsure how to add an ads.txt file to the root directory of your site, click here to find a detailed explanation on how to do so. (Bluehost site owners, don’t miss out on this 😉)
RELATED POSTS
How to Add Ads.txt File to Root Directory on Bluehost
How to change Name Servers on Bluehost
Till next time!
~xx