Skip to content

DoneMeta

Defined in: wire.ts:85

Terminal metadata. Everything a client needs to attribute the impression it is about to report.

campaignId: string

Defined in: wire.ts:90

Campaign actually served (may differ from the requested one after surface resolution).


contentSource: "generated" | "cached" | "static"

Defined in: wire.ts:103

W5. Whether the copy in this stream was generated for this request, replayed from cache, or stored static content. Trust chrome keys off this.


optional contextApplied?: string[]

Defined in: wire.ts:113

Context rules that actually changed the output. Empty array means context was read but changed nothing.


optional contextHash?: string

Defined in: wire.ts:135

Canonical declared-context hash that participated in resolution. Feeds attribution and the rung-3 promotion report.


optional conversation?: unknown

Defined in: wire.ts:124

Conversational-ad config passthrough. Shape owned by the conversation service.


optional ctaAction?: string

Defined in: wire.ts:115

Resolved CTA destination.


optional ctaType?: string

Defined in: wire.ts:117

CTA behaviour class (link, modal, conversation…).


optional degraded?: "quota" | "spend-cap" | "upstream" | "timeout"

Defined in: wire.ts:108

W8. Present only when the server fell back to deterministic static serving. Absent means full service.


optional resolvedFrom?: "pinned" | "surface" | "context"

Defined in: wire.ts:130

How the served campaign was chosen: an explicit variant pin, surface resolution, or declared-context resolution. Absent means pinned on older edges.


optional staticHandoffUrl?: string

Defined in: wire.ts:119

QR/handoff target for physical surfaces.


variantId: string

Defined in: wire.ts:95

Variant the ε-greedy resolver picked. Clients MUST pin this on every subsequent call in the page view.


optional variantName?: string

Defined in: wire.ts:97

Human label for the variant, for the Ledger and Studio.