You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
get_products conversion to AdCP 3.1 drops collection_ref from installments #1895
When a seller's get_products response is converted for an AdCP 3.1 caller, each installment's collection_ref is dropped. Nothing takes its place. The drop happens at the 3.2 → 3.1 step of adcp.compat.versions.convert_payload, which the MCP tool caller runs on every response it returns to an older buyer. The loss is recorded as field_unavailable.
AdCP 3.1 has no collection_ref. Its installment names its parent collection with collection_id, which 3.1 describes as "Required when the product spans multiple collections". In 3.2 and later, collection_id is kept as the deprecated shorthand for one publisher namespace. So a 3.1 buyer of a product with several collections receives episodes that don't say which collection they belong to.
When an installment has collection_ref and no collection_id, the 3.2 → 3.1 step sets collection_id to collection_ref.collection_id before dropping collection_ref, at least when every collection of the enclosing product shares one publisher_domain, where the shorthand is unambiguous. Across several publishers the mapping could be ambiguous; recording that as a loss, as today, seems right there.
Workaround in the meantime
Our sales agent publishes collection_id beside collection_ref on each installment of a product whose collections share one publisher, so the field survives the conversion. On a product that spans several publishers, installments stay unmapped for 3.1 buyers.
Activity