OptionaltimeoutOptionalsignalCaller cancellation for the complete discovery operation. The same signal
is used for every direct, authoritative-location, ads.txt, and manager
request, so AbortSignal.timeout(...) is an absolute operation deadline
rather than a fresh budget per hop. timeoutMs remains the ceiling for
each individual request. Once aborted, discovery returns an invalid
structured result and does not start a later fallback request.
OptionalmaxMaximum response body bytes for adagents.json and ads.txt fetches (default 256 KiB).
OptionaluserOptional User-Agent suffix (validated via validateUserAgent).
OptionallogLogger level (default 'warn').
OptionalurlBuild the URL for a domain + well-known path pair. Defaults to
https://{domain}{path}. Provide a custom builder to point the
validator at a loopback test server (http://...), an internal
mirror, or a CDN-rewriting host.
Per-request timeout in ms (default 10_000).