How to Create an ads.txt or app-ads.txt File for Your Site or App
The ads.txt (for websites) and app-ads.txt (for apps) files help ensure that your ad inventory is sold only through authorized partners. This improves transparency and helps protect you from unauthorized or counterfeit inventory sales.
Clickio provides an ads.txt validator tool directly in the platform, allowing you to create, validate, and update your ads.txt or app-ads.txt file in just a few minutes.
Follow the steps below to create or fix your ads.txt/app-ads.txt file.
1. Sign in to your Clickio account and go to the Ads.txt tab.
2. Locate the site or app with the status Need to fix.
3. Click on the site or app name to open the Ads.txt Site Dashboard.
4. Check the current status:
- If you see No ads.txt found, follow the steps below to create one.
- If you see Ads.txt was found but it doesn’t contain all required data, follow this guide to update your file.
5. Copy all required Clickio lines shown in the dashboard.
You can also download the full ads.txt file directly from the platform.
6. If you work with other ad networks (e.g., Google AdSense or AppLovin), make sure to add their authorized lines as well. You can find them in your ad network’s documentation or dashboard.
7. Upload your ads.txt or app-ads.txt file:
- For websites: place it in the root domain (for example, https://domain.com/ads.txt).
- For mobile apps: upload the app-ads.txt file to your app’s developer website domain, as listed in the app store (for example, https://yourappdomain.com/app-ads.txt).
8. Go back to your Ads.txt Site Dashboard and click Update.
9. Once the status changes to Ads.txt is correct, your setup is complete.
Tips for Publishers and App Developers
-
Always make sure your ads.txt or app-ads.txt file is publicly accessible in your browser.
Example: open https://domain.com/ads.txt or https://yourappdomain.com/app-ads.txt to confirm.
- Keep your file up to date: if you add or remove ad partners, update it accordingly.
- Incorrect or missing ads.txt lines can reduce ad demand and revenue, as many DSPs only buy inventory from authorized sellers.