app-ads.txt Setup
Every app monetized with Ezoic needs an app-ads.txt file at the root of the developer website listed on its App Store, Google Play, or Roku store page (for example, https://example.com/app-ads.txt). It tells buyers which companies are authorized to sell your app's ad inventory. A missing or incomplete file causes most programmatic demand to be filtered out.
Ezoic hosts an up-to-date app-ads.txt for each of your sites at:
https://go.ezodn.com/m/apps/app-ads.txt?d=[YOUR_DOMAIN].com
New lines are added automatically as your apps are approved and set up with Google Ad Manager and other demand partners. Point your developer website at this file so you never have to copy lines by hand.
[YOUR_DOMAIN].com with the site your apps are registered under in your Ezoic dashboard. Put the redirect or file on the developer website from your store listing, which can be a different domain.
Choose Your Setup Method
1. Server Redirects (Recommended)
For users with server access:
Apache (.htaccess):
Redirect 301 /app-ads.txt https://go.ezodn.com/m/apps/app-ads.txt?d=[YOUR_DOMAIN].com
Nginx:
server {
location = /app-ads.txt {
return 301 https://go.ezodn.com/m/apps/app-ads.txt?d=[YOUR_DOMAIN].com;
}
}
PHP:
<?php
header('Location: https://go.ezodn.com/m/apps/app-ads.txt?d=[YOUR_DOMAIN].com', true, 301);
exit;
?>
2. Automated Updates (Advanced)
For automatic daily updates:
curl -L "https://go.ezodn.com/m/apps/app-ads.txt?d=[YOUR_DOMAIN].com" > app-ads.txt
3. Copy the Lines Manually
Copy the lines shown on the app-ads.txt card of the Mobile Apps page in your Ezoic dashboard into /app-ads.txt on your developer website. If the file already exists, append the lines and keep its other entries. Repeat whenever new lines appear.
Test Your Setup
- Visit
https://[YOUR_DEVELOPER_WEBSITE]/app-ads.txtin your browser - Verify you see a list of authorized sellers, including a
google.comline once your app is set up in Google Ad Manager - Clear your website cache if the file doesn't appear immediately
Store and buyer crawlers can take a few days to pick up a new or changed app-ads.txt.