Type Alias ExpectedReportingMembership
ExpectedReportingMembership:
| { kind: "media_buy_ids" }
| { kind: "all_media_buys"; requiredMediaBuyIds?: string[] }
Type Declaration
- { kind: "media_buy_ids" }
- { kind: "all_media_buys"; requiredMediaBuyIds?: string[] }
-
kind: "all_media_buys"
-
OptionalrequiredMediaBuyIds?: string[]
Which media buys an expected period covers, and so how an obligation's
media_buy_idsare matched.media_buy_ids(the default whenmembershipis omitted): the buyer registered an exact buy set (scope: { media_buy_ids }), so the obligation must carry exactlymediaBuyIds, and its coverage must equal the expectedcoverage.all_media_buys: the buyer registeredscope: { all_media_buys: true }, so the seller freezes the set atperiod.end. The buyer cannot pin it in advance, so the period matches on its identity alone and pinningmediaBuyIdsorcoverageis a configuration error. To be definitive the obligation has to carry valid coverage evidence whose partition equals its ownmedia_buy_ids,scope_resolved_atandcoverage.evaluated_atat the instantperiod.end, and meetcoverageRequirement; a failure is a blocking reason on the matched obligation, never a missing period.[]is an explicitly evaluated zero-buy period. SetrequiredMediaBuyIdsonly to buys that unambiguously belong (seller-confirmed beforeperiod.start, flight covering the whole period). One the seller did not freeze is a blocking per-buy issue inObligationReconciliation.issues(REPORTING_SCOPE_MEMBER_MISSING): the obligation still matches for the buys it lists, but the result is not definitive and the omitted buy must never be treated as reported.