Apply one group as DIRECT or RESELLER per domain

An ad network often needs the same seller accounts to appear differently depending on whose site they run on: as DIRECT on the network's own domain, but as RESELLER — with a MANAGERDOMAIN= line — on the publisher domains it monetises.

You no longer need to maintain two duplicate groups for this. A single reuse group can render its records differently per domain, controlled by each domain's Relationship setting.

How it works

Each domain you apply the group to has a Relationship setting that decides how that group's records render on it — leave it as authored, force DIRECT, or flip to RESELLER with your manager-domain line:

What each Relationship mode does to a group's records: Inherit leaves them unchanged, Direct forces DIRECT, Reseller flips to RESELLER and adds a MANAGERDOMAIN line

1. Set the group Manager Domain

Open your group and go to Settings. In the ads.txt File section, set Manager Domain to the domain that manages this inventory (for an ad network, your own domain). This is the value emitted as MANAGERDOMAIN= on any domain you apply in Reseller mode. Leave it blank to disable.

Group Manager Domain setting

2. Choose a Relationship for each domain

On the group's Domains tab, every domain has a Relationship dropdown:

  • Inherit – each record renders exactly as authored on the group (the default, and how groups have always worked).
  • Direct – every record is forced to DIRECT on that domain.
  • Reseller – every record is forced to RESELLER on that domain, and your Manager Domain is added as a MANAGERDOMAIN= line.

Per-domain Relationship dropdowns

3. The records generate automatically

Apply the group as usual. On a domain set to Reseller, the group's records now appear as RESELLER with your MANAGERDOMAIN= line, while the same group on your own domain (set to Inherit or Direct) stays DIRECT — all from one group.

Generated RESELLER records with a MANAGERDOMAIN line

How it composes across domains

Groups are additive on a domain, so one partner can stay DIRECT everywhere while another is resold — each group carries its own Relationship per domain, and the generated ads.txt is the union of them all:

The same groups render DIRECT on the network's own domain, and RESELLER with a MANAGERDOMAIN line on a publisher domain

Already using two duplicate groups?

You can move across at your own pace. Switch each publisher from your old reseller group to the unified group in Reseller mode one domain at a time — the generated ads.txt is identical, so nothing your publishers serve changes during the switch. Once a domain is moved you can remove it from the old group.

Automating this? Both the Manager Domain and the per-domain relationship mode are available via the API — see group/edit and group/domain/relationship.

If you need a hand setting this up, please contact support.