additional-bids.py |
Endpoint to return signed additional bids in the appropriate response header.
Additional bids are returned using the "Ad-Auction-Additional-Bid" response
header, as described at
https://github.com/WICG/turtledove/blob/main/FLEDGE.md#63-http-response-headers.
This script generates an "Ad-Auction-Additional-Bid" response header for each of
the pre-formatted additional bid header values provided in a JSON list-valued
`additionalBidHeaderValues` query parameter.
All requests to this endpoint requires a "Sec-Ad-Auction-Fetch" request header
with a value of b"?1"; this entrypoint otherwise returns a 400 response.
|
2005 |
authorize-server-response.py |
|
469 |
ba-fledge-util.sub.js |
|
14030 |
ba-public-keys |
|
110 |
bidding-logic.sub.py |
function generateBid(interestGroup, auctionSignals, perBuyerSignals,
trustedBiddingSignals, browserSignals,
directFromSellerSignals,
crossOriginTrustedBiddingSignals) {{
{{{{GET[generateBid]}}}};
return {{
bid: {bid},
{bidCurrency}
{allowComponentAuction}
render: interestGroup.ads[0].renderURL
}};
}} |
3364 |
decision-logic.sub.py |
function scoreAd(adMetadata, bid, auctionConfig, trustedScoringSignals,
browserSignals, directFromSellerSignals,
crossOriginTrustedScoringSignals) {
// Don't bid on interest group with the wrong uuid. This is to prevent
// left over interest groups from other tests from affecting auction
// results.
if (!browserSignals.renderURL.endsWith('uuid={{GET[uuid]}}') &&
!browserSignals.renderURL.includes('uuid={{GET[uuid]}}&')) {
return 0;
}
{{GET[scoreAd]}};
return {desirability: 2 * bid, allowComponentAuction: true};
} |
2823 |
direct-from-seller-signals.py |
|
5533 |
empty.html |
|
16 |
fenced-frame.sub.py |
<!DOCTYPE html>
<html>
<head>
<!--- Allow injected scripts to use functions in fledge-util.sub.js --->
<base href="..">
<script src="/resources/testharness.js"></script>
<script src="/common/utils.js"></script>
<script src="resources/fledge-util.sub.js"></script>
</head>
<body>
<script>
{{GET[script]}}
</script>
</body>
</html>
|
819 |
fledge-util.sub.js |
|
45328 |
fledge_http_server_util.py |
Utility functions shared across multiple endpoints. |
5511 |
incrementer.wasm |
|
46 |
permissions.py |
Methods for the interest group cross-origin permissions endpoint. |
2259 |
real-time-report.py |
Handles POST request for reports.
Retrieves the report from the request body and stores the report in the
stash. If clear_stash is specified in the query params, clears the stash.
|
2713 |
redirect-to-trusted-signals.py |
|
1136 |
redirect.py |
|
518 |
request-tracker.py |
|
6469 |
service-worker-helper.js |
|
774 |
|
|
42 |
set-cookie.asis |
|
51 |
subordinate-frame.sub.html |
|
3933 |
|
|
38 |
trusted-bidding-signals.py |
|
6759 |
trusted-scoring-signals.py |
|
4834 |
update-url.py |
|
243 |
wasm-helper.py |
|
1352 |
worklet-helpers.js |
|
693 |