The AdTech auction, from request to impression
Trace the main handoffs across publisher, exchange, DSP, and ad server.
Exchange engineering
An OpenRTB integration can fail even when the JSON is syntactically valid. Testing should verify semantics, eligibility, required fields, and the behavior expected by both sides.
OpenRTB messages describe an advertising opportunity and the response describes a potential bid. The exact fields and requirements depend on the specification version and implementation. Always validate against the version actually used by the exchange and DSP.
Test that the request contains the expected impression object, media information, placement or publisher context, device information, auction identifiers, and any required supply-chain or consent signals. Check data types as well as presence. A field with the wrong meaning can be more damaging than a missing optional field.
Validate that the bid identifies the impression it is answering, contains a usable price and creative reference, and follows the exchange's rules for media type and markup. Confirm that macros and notification URLs are handled according to the integration contract.
Separate technical rejection from business no-bid. A DSP may reject an opportunity because of geography, device, format, budget, brand-safety rules, floor price, or campaign eligibility. Capture the reason when the integration exposes one; do not infer it solely from an empty response.
Maintain positive cases, negative cases, malformed requests, unsupported media types, missing required fields, high-floor opportunities, and consent-restricted opportunities. Store sanitized fixtures so changes to the exchange or bidder can be tested repeatedly.
Match seatbid.bid.impid to a requested impression, inspect price and currency, ad markup or creative reference, and supported media type. Separate protocol validity from campaign eligibility.
Create one valid request/response pair and variants with unknown impid, malformed price, unsupported media type, and response after timeout. Record which validator detects each failure.
A valid bid response is not proof of win, billing, or rendered impression. Those are downstream stages.
Purpose. This exercise turns the guide into a reproducible investigation. The scenario is synthetic and is provided for learning, not as evidence of a production incident. Begin with a banner bid request with one impression, a currency restriction, a floor, and a tmax deadline. The question to answer is not merely whether a component is present, but whether the relevant system behavior can be demonstrated with a traceable set of observations. Record the environment, configuration version, test date, and which participant owns each piece of evidence before drawing a conclusion.
Suppose the bidder responds with a price below the declared floor and an unexpected currency. Write down the expected behavior in one sentence and the observed behavior in another. Avoid diagnosing the entire system from a final dashboard number: many upstream failures collapse into the same visible symptom. Start at the earliest boundary that can be independently verified, then follow the transaction toward the user-visible outcome. Treat a missing log entry as an unknown until logging coverage is confirmed. A negative result is meaningful only if the test could have observed a positive one.
For this investigation, validate the request assumptions, inspect bid.price and bid.cur, then check the exchange decision and no-bid behavior. Preserve raw samples and a normalized summary separately. Redact identifiers that could expose real users, partner credentials, proprietary bid details, or account-specific configuration. Label every timestamp with its time zone and specify whether it is client time, server receipt time, or reporting time. Keep an explicit column for missing information. This makes the exercise repeatable and prevents an apparent mismatch from being explained away by undocumented assumptions.
First, freeze the test conditions: choose a known placement or request fixture, record configuration hashes, and ensure that unrelated releases are not running. Next, build fixtures for floor equality, below-floor bids, unsupported currency, expired responses, and missing creative attributes. Repeat the baseline at least twice to check whether the observation is stable. Change one variable at a time and record both the intended change and the actual request payload produced by the system. If a result changes, repeat the original baseline before attributing causality. Where production experiments could affect revenue or privacy, use synthetic fixtures or a non-billable test environment instead.
One useful distinction is between configured, requested, accepted, and counted. A setting can exist without appearing in a network request; a request can reach a partner without being accepted; and an accepted auction event can fail to become a billable impression. In this topic, the DSP returning HTTP 200 does not mean the exchange accepted the bid. Build a small decision table that identifies the system responsible for each transition and the observable proof needed to confirm it. When two dashboards disagree, compare their event definitions before comparing totals.
Create one known-good fixture and at least three deliberate failure fixtures: a missing required input, a syntactically acceptable but semantically wrong value, and a delayed or partially unavailable dependency. For each fixture, specify the expected validation message, whether the system should fail open or fail closed, and whether any downstream report should change. Record what happens if the same request is retried, if a partner returns no response, and if the response arrives after the decision deadline. These checks reveal whether a diagnostic method is robust or only succeeds for a happy-path demonstration.
Conclude the investigation with four fields: confirmed observation, leading hypothesis, disconfirming evidence, and next smallest experiment. A useful outcome can be “insufficient evidence” when a partner-controlled log is unavailable. partner-specific deal logic and exchange policies may override simplified examples. If the issue cannot be reproduced, document what was attempted and what instrumentation would make the next occurrence diagnosable. Do not claim a performance improvement until the outcome metric and comparison population are defined in advance.
Takeaway: A high-quality technical investigation should be repeatable by another engineer. Keep the fixture, expected output, observed output, and limits of inference together so that a reader can test the claim rather than merely accept it.