Repository navigation
secureSignals: add secureSignalsFromEids building GPT secure signals from cached EIDs - #339
Conversation
|
The local type is looser on purpose (cached EIDs are parsed from import type { EID, UID } from "iab-openrtb/v26";
// Cached EIDs are parsed from storage, so ORTB's required fields may be
// absent at runtime. Derived from EID so new/renamed ORTB fields flow through.
type SecureSignalEid = Partial<Omit<EID, "uids">> & Pick<EID, "source"> & { uids?: Array<Partial<UID>> };No behaviour change, and the existing tests (including Alternative, if you would rather not carry the runtime tolerance: use Sent using Claude |
|
should we include this in gpt.ts instead of on it's own ? |
|
…e helper to script-tag pages
…type installGPTSecureSignals Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
f8e15c0 to
1ac390d
Compare
…through Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Why
A new
secureSignalsFromEidsfunction would allow to filter cached EIDs and pass them to GPT secure signalsWhat Changed
secureSignalsFromEidsflattens EIDs into{ provider, id }pairs forinstallGPTSecureSignals, filtered bysources/inserters/matchersREADME.mdunder GAM secure signals.How to Test
Notes
Co-authored-by: Etienne Latendresse etienne.latendresse@optable.co