// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Information about a Bidding and Auction server style auction.
// https://github.com/WICG/turtledove/blob/main/FLEDGE_browser_bidding_and_auction_API.md
dictionary AdAuctionDataBuyerConfig {
unsigned long targetSize;
};
dictionary AdAuctionDataConfig {
required USVString seller;
// TODO(crbug.com/40278958): Make `coordinator` required.
USVString coordinatorOrigin;
unsigned long requestSize;
record<USVString, AdAuctionDataBuyerConfig> perBuyerConfig;
};
dictionary AdAuctionData {
required Uint8Array request;
required USVString requestId;
};