After you create an ads.txt/app-ads.txt file, have your webmaster upload the file to your root domain.
google.co.ukwould be considered a root domain as "
co.uk" is on the public suffix list
maps.google.co.ukwould not be considered a root domain, because "
maps" is a prefix
www.google.co.ukwould not be considered a root domain, because "
www" is a prefix.
If you have more than one root domain, an
app-ads.txt file must be uploaded to each root domain individually.
In Ad Manager, click Admin Ads.txt management and confirm that an a
app-ads.txt file has been uploaded to each of your domains.
Examples of ads.txt/app-ads.txt files
Publishers working with Google products should always use
google.com as the domain name, with their publisher ID. For example:
google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0
google.com, pub-0000000000000000, RESELLER, f08c47fec0942fa0
Publishers working with other non-Google products should list their SSP or exchange domain names, with their seller account IDs. For example:
greenadexchange.com, 12345, DIRECT, AEC242
blueadexchange.com, 4536, DIRECT
silverssp.com, 9675, RESELLER
What if the
app-ads.txt file is hosted on a subdomain?
Google crawls and enforces
app-ads.txt files placed on subdomains, where one exists, and is referenced from the
app-ads.txt file on the root domain.
The Ad Manager
ads.txt management tool does not yet show a list of crawled subdomains.