The adomain verify gate inspects theDocumentation Index
Fetch the complete documentation index at: https://docs.pecta.ai/llms.txt
Use this file to discover all available pages before exploring further.
adomain array on every bid in the response. Advertisers are required by OpenRTB to declare which domains their creatives represent. Bidding agents that submit placeholder values like example.com or advertiserdomain.com — or that omit the field entirely — produce unusable signals for brand safety and supply chain auditing.
Usage
What the gate checks
For every bid inseatbid[].bid[], the gate validates each entry in bid.adomain:
- Missing adomain — the
bid.adomainarray is empty andrequireAdomainistrue→ fails with"bid has no adomain" - Placeholder domain — the domain matches a known test/placeholder value (case-insensitive) → fails with
"placeholder adomain: <domain>" - Invalid format — the domain does not match a valid hostname pattern → fails with
"invalid adomain format"
Built-in placeholder list
The following domains are always rejected:Options
When
true, any bid with an empty adomain array fails the gate. Set to false if your pipeline legitimately allows bids without declared advertiser domains.Additional domain strings to treat as placeholders. Values are lowercased before comparison, so
"TestDomain.COM" and "testdomain.com" are equivalent.Override the gate’s name in evaluation results and telemetry.
Example: failing bid
A bid agent under test that has not populated real advertiser data:advertiserdomain.com against the built-in placeholder set and returns: