demo · v130
Bid request probe
Protected Audience Bidding & Auction Services (B&A) moves the per-bid computation from the browser into Trusted Execution Environments (TEEs) on cloud servers. Configure up to 4 buyers, call navigator.getInterestGroupAdAuctionData(), and send the encrypted payload to the local seller endpoint. This page does not score bids or select a winner without a real TEE service.
Configure buyers:
Configure buyers and click "Call browser API".
// Chrome 130: Protected Audience B&A Services
// Browser collects encrypted interest group data
const { requestId, request } = await navigator.getInterestGroupAdAuctionData({
seller: 'https://ssp.example',
coordinatorOrigin: 'https://coordinator.example',
buyers: [
{ origin: 'https://buyer-a.example', maxSize: 65536, targetSize: 4096 },
{ origin: 'https://buyer-b.example', maxSize: 65536, targetSize: 4096 },
],
});
// Seller sends to B&A server — all bidding happens in TEE
const serverResponse = await fetch('https://ssp.example/ba-auction', {
method: 'POST',
body: request,
});
// Browser runs the auction with the server's encrypted response
const { value: adFrame } = await navigator.runAdAuction({
seller: 'https://ssp.example',
interestGroupBuyers: ['https://buyer-a.example', 'https://buyer-b.example'],
serverResponse: await serverResponse.arrayBuffer(),
requestId,
});