From b299b01fa4b249c2cceaa1104e4e64501e6f7166 Mon Sep 17 00:00:00 2001 From: Maks Orlovich Date: Mon, 8 May 2023 14:09:53 -0400 Subject: [PATCH 01/16] First cut at doc changes --- FLEDGE.md | 47 ++++++++++++++++++++++++++--- FLEDGE_extended_PA_reporting.md | 2 ++ Proposed_First_FLEDGE_OT_Details.md | 3 ++ 3 files changed, 48 insertions(+), 4 deletions(-) diff --git a/FLEDGE.md b/FLEDGE.md index 416dd35b8..018b6a83f 100644 --- a/FLEDGE.md +++ b/FLEDGE.md @@ -29,12 +29,14 @@ See [the in progress FLEDGE specification](https://wicg.github.io/turtledove/). - [3.3 Metadata with the Ad Bid](#33-metadata-with-the-ad-bid) - [3.4 Ads Composed of Multiple Pieces](#34-ads-composed-of-multiple-pieces) - [3.5 Filtering and Prioritizing Interest Groups](#35-filtering-and-prioritizing-interest-groups) + - [3.6 Currency Checking](#36-currency-checks) - [4. Browsers Render the Winning Ad](#4-browsers-render-the-winning-ad) - [5. Event-Level Reporting (for now)](#5-event-level-reporting-for-now) - [5.1 Seller Reporting on Render](#51-seller-reporting-on-render) - [5.2 Buyer Reporting on Render and Ad Events](#52-buyer-reporting-on-render-and-ad-events) - [5.2.1 Noised and Bucketed Signals](#521-noised-and-bucketed-signals) - - [5.3 Losing Bidder Reporting](#53-losing-bidder-reporting) + - [5.3 Reporting in Multi-Currency Auctions](#53-multi-currency-reporting) + - [5.4 Losing Bidder Reporting](#54-losing-bidder-reporting) ## Summary @@ -239,6 +241,10 @@ const myAuctionConfig = { 'https://www.another-buyer.com': 345, '*': 456, ...}, + 'perBuyerCurrencies': {'https://example.co.uk': 'GBP', + 'https://example.fr': 'EUR', + '*': 'USD'}, + 'sellerCurrency:' : 'CAD', 'componentAuctions': [ {'seller': 'https://www.some-other-ssp.com', 'decisionLogicURL': ..., @@ -279,6 +285,8 @@ Optionally, `sellerExperimentGroupId` can be specified by the seller to support Optionally, `perBuyerPrioritySignals` is an object mapping string keys to Javascript numbers that can be used to dynamically compute interest group priorities before `perBuyerGroupLimits` are applied. See [Filtering and Prioritizing Interest Groups](#35-filtering-and-prioritizing-interest-groups) for more information. +Optionally, `perBuyerCurrencies` and `sellerCurrency` are used for [currency-checking](#36-currency-checks). `sellerCurrency` is also used to [homogenize reporting in multi-currency auctions](#53-multi-currency-reporting). + Optionally, `resolveToConfig` is a boolean directing the promise returned from `runAdAuction()` to resolve to a `FencedFrameConfig` if true, for use in a ``, or if false to an opaque `urn:uuid` URL, for use in an `