Summary
The evaluate_agent_quality evaluator does not include buyer_ref in the create_media_buy tool call payload, causing validation errors on any seller agent that correctly requires this field.
Expected Behavior
The evaluator should include buyer_ref at both levels when calling create_media_buy:
- Top-level request:
buyer_ref (string, buyer's reference for the media buy)
- Per-package:
packages[].buyer_ref (string, buyer's reference for each package)
Per the AdCP spec, buyer_ref is the buyer's own reference identifier used for idempotency and reconciliation. Seller agents that enforce this as required (which is correct behavior) will reject the evaluator's test calls.
Actual Behavior
The evaluator sends:
{
"brand": {"domain": "test.example.com"},
"start_time": "2026-05-01T00:00:00Z",
"end_time": "2026-05-31T00:00:00Z",
"packages": [{
"product_id": "...",
"pricing_option_id": "...",
"budget": 1000
}]
}
No buyer_ref at the top level or package level.
Impact
create_media_buy scenario fails
full_sales_flow scenario fails
creative_inline scenario fails
Fix
Add buyer_ref to the evaluator's create_media_buy test payload at both the top level and inside each package.
Summary
The
evaluate_agent_qualityevaluator does not includebuyer_refin thecreate_media_buytool call payload, causing validation errors on any seller agent that correctly requires this field.Expected Behavior
The evaluator should include
buyer_refat both levels when callingcreate_media_buy:buyer_ref(string, buyer's reference for the media buy)packages[].buyer_ref(string, buyer's reference for each package)Per the AdCP spec,
buyer_refis the buyer's own reference identifier used for idempotency and reconciliation. Seller agents that enforce this as required (which is correct behavior) will reject the evaluator's test calls.Actual Behavior
The evaluator sends:
{ "brand": {"domain": "test.example.com"}, "start_time": "2026-05-01T00:00:00Z", "end_time": "2026-05-31T00:00:00Z", "packages": [{ "product_id": "...", "pricing_option_id": "...", "budget": 1000 }] }No
buyer_refat the top level or package level.Impact
create_media_buyscenario failsfull_sales_flowscenario failscreative_inlinescenario failsFix
Add
buyer_refto the evaluator'screate_media_buytest payload at both the top level and inside each package.