Create a correct app-ads.txt file for AdMob, Meta Audience Network, Unity Ads, AppLovin and other ad networks, or paste an existing file to find the errors that cause "app-ads.txt not found" or "not verified" warnings.
app-ads.txt (short for Authorized Sellers for Apps) is a plain text file that tells advertisers which companies are allowed to sell ad space inside your mobile apps and games. It was created by the IAB Tech Lab as the app version of ads.txt for websites. Each line names an ad network, your account ID on that network and the type of relationship you have with it. Ad buyers download this file from your developer website and compare it with the ad requests they receive. If a request comes from a seller that is not listed, many buyers simply refuse to bid.
For indie developers this matters in a very practical way. When AdMob cannot find or verify your app-ads.txt file, you will see warnings in the dashboard and your fill rate and eCPM can drop because a share of demand will not buy unverified inventory. The free app-ads.txt generator above creates a correctly formatted file in seconds, and the validator checks an existing file for the small mistakes that break verification.
pub- followed by 16 digits. Do not use an App ID or an ad unit ID. Those start with ca-app-pub- and contain a tilde or slash.app-ads.txt and upload it to the root folder of your website.Every record is one line with up to four comma-separated fields:
google.com, pub-1234567890123456, DIRECT, f08c47fec0942fa0
google.com, facebook.com or unity.com.pub- ID.DIRECT if you control the account yourself, or RESELLER if another company sells your inventory for you. AdMob lines use DIRECT. Meta asks for RESELLER.f08c47fec0942fa0 and Meta's is c3e20eee3f780d68.Lines that start with # are comments. The file can also contain variables such as OWNERDOMAIN=mystudio.com or CONTACT=support@mystudio.com. Unity documents the owner domain variable in its app-ads.txt guide, so it is worth adding if you use Unity Ads.
The file must live in the root of the domain listed as your developer website in the store, for example https://mystudio.com/app-ads.txt. A file inside a folder, such as /files/app-ads.txt, will not be found. According to Google's AdMob help, the crawler tries HTTPS first and then HTTP, ignores the www. and m. prefixes when it picks the hostname, and follows redirects.
public_html with the File Manager or FTP.After upload, open the URL in a private browser window. You should see plain text, not an HTML page, a download prompt or a 404 error.
Google says crawling and verification can take up to 24 hours, and changes to your Google Play listing can also take up to a day to be detected. In AdMob, open Apps, choose View all apps, select the app-ads.txt tab and use "Check for updates" to request a new crawl once the file is live. Meta recommends waiting 24 hours after updating the file before you run its authentication again.
The crawler could not reach the file. Check that the developer website in your store listing is correct, that the file sits in the root folder, that the name is exactly app-ads.txt in lowercase and that your server does not block bots with a firewall or a security plugin.
The file was found but your AdMob line is missing or wrong. The most common causes are using the ca-app-pub- App ID instead of the pub- ID, a typo in the 16 digits, or adding a space inside the ID.
DIRCT or Direct-Reseller.app-ads.txt.txt or as an HTML page.An unverified file is only one reason for an AdMob ad serving limit. Invalid traffic, clicking your own ads and new accounts can also trigger limits. Fix app-ads.txt first because it is the easiest problem to solve, then review the rest of your setup in our guides.
pub- ID, DIRECT and the TAG ID f08c47fec0942fa0.It is not technically required to show ads, but AdMob strongly recommends it, many buyers avoid unverified inventory and Unity says it is required for its banner ads. In practice every monetized app should have one.
No. One file on your developer website covers every app that lists that website. If you publish apps under different developer websites, each domain needs its own file.
The file must be at the root of the host listed in your store listing. Use the same domain in the store and on your server, and do not rely on a subfolder.
No. The generator and validator run entirely in your browser. Nothing is sent to our servers.
Building a new game? Name it with our Game Name Generator, write the store listing with the Game Description Generator, check keywords with the ASO Keyword Checker and create a policy with the Privacy Policy Generator.
Get a ready-to-publish Unity or Buildbox project with AdMob already integrated, set up app-ads.txt with this tool and start earning faster.
Browse Source Codes