All docs
ads.txt, app-ads.txt and sellers.json
Publish correct ads.txt and app-ads.txt lines for Worksly, read a sellers.json entry, and validate your files so demand is not silently lost.
ads.txt and app-ads.txt declare who is authorized to sell your inventory. Buyers check these files before spending, so a missing or malformed line removes demand from your auction silently. This page shows the exact lines to publish for Worksly, how app-ads.txt differs, how to read the matching sellers.json entry, and how to validate.
Why these files matter
ads.txt is an IAB Tech Lab standard. Each line records an authorized relationship between a publisher and an exchange, and demand-side systems crawl these files to verify that the seller in a bid request is legitimate. Worksly enforces this in both directions: we verify your ads.txt before enabling full spend, and our quality system filters inventory whose authorization chain is incomplete. Keeping these files correct is one of the highest-value, lowest-effort things a publisher does.
ads.txt: the line to publish
For each web domain you register with Worksly, publish this line in the ads.txt file at the root of the domain:
worksly.io, YOUR_ACCOUNT_ID, DIRECT, 1bc3f09e77a2c401
The four fields, in order:
- Exchange domain:
worksly.io, the domain of the exchange (Worksly) that sells the inventory. - Publisher account ID: your account ID in Worksly’s systems.
- Relationship type:
DIRECTwhen Worksly controls the account directly, which is the case for accounts we open with you. - Exchange ID: Worksly’s own ID, the same on every publisher’s file:
1bc3f09e77a2c401.
A realistic complete file for a publisher also selling through Google:
google.com, pub-4182935746102958, DIRECT, f08c47fec0942fa0
worksly.io, 48219, DIRECT, 1bc3f09e77a2c401
The exact values for your account are in the Worksly dashboard under Settings → Inventory → ads.txt. Copy the generated line, because the IDs are account-specific.
app-ads.txt for apps
App inventory uses the same format, published as app-ads.txt at the root of the developer domain listed in your app store listing. If your store listing names examplemedia.com as the developer website, the file lives at https://examplemedia.com/app-ads.txt and the content is identical to your ads.txt lines for Worksly:
worksly.io, 48219, DIRECT, 1bc3f09e77a2c401
Two things to verify for apps: the developer domain in each store listing points where the file is published, and each app that carries the Worksly SDK belongs to an account whose ID appears in that file. A mismatch between store listing and published file is the most common cause of missing app demand.
Reading our sellers.json entry
sellers.json is the exchange-side counterpart: it publishes the sellers an exchange works with, so buyers can confirm that the account ID in your ads.txt matches a real, disclosed seller. The relevant excerpt from Worksly’s sellers.json for the account above would look like this:
{
"contact_email": "sellers@worksly.io",
"sellers": [
{
"seller_id": "48219",
"seller_name": "Example Media Group",
"is_confidential": 0,
"seller_type": "PUBLISHER",
"domain": "example.com"
}
]
}
What each field tells a buyer: seller_id matches your publisher account ID, the second field of your ads.txt line; seller_type of PUBLISHER means the account sells its own inventory; domain matches your registered site; and is_confidential of 0 means the account is publicly disclosed. If you ever see a bid request bearing your inventory that cannot be traced to a matching sellers.json entry, report it to your account team. That is what these systems exist to catch.
Reseller lines, briefly
You may also see RESELLER lines in your own files, added by partners who resell through another exchange. Unlike the DIRECT line, reseller entries are managed by the partner, and you should only add one when the partner gives you the exact line to publish, because the fourth field must be the reseller’s exchange ID. Your Worksly line is always DIRECT. If anyone instructs you to list Worksly as a RESELLER, check with your account team before publishing it.
Validate and monitor
- After publishing, check
https://yourdomain.com/ads.txtin a browser and confirm the file is served over HTTPS with the lines intact. - Use the dashboard’s ads.txt status under Settings → Inventory, which crawls your domains and flags missing, malformed or unreachable files.
- Re-check after any domain migration, CMS change or CDN rule change, a misconfigured redirect serves an HTML page, and that silently removes all your authorization.
- Watch the dashboard alerting: Worksly flags accounts whose ads.txt stops resolving, and demand pauses while authorization is unclear.
Ads.txt status in the dashboard updates within an hour of your file changing. If you published recently and the status has not moved, confirm the file is reachable from outside your network before contacting support.