Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion FLEDGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ Once the trusted bidding signals are fetched, each interest group's bidding func


```
generateBid(interestGroup, auctionSignals, perBuyerSignals, trustedBiddingSignals, browserSignals) {
generateBid(interestGroup, auctionSignals, perBuyerSignals, trustedBiddingSignals, browserSignals, sameSiteInterestGroups) {
...
return {'ad': adObject, 'bid': bidValue, 'render': renderUrl, 'adComponents': [adComponent1, adComponent2, ...]};
}
Expand All @@ -299,6 +299,7 @@ The arguments to `generateBid()` are:
'prevWins': [[time1,ad1],[time2,ad2],...],
}
```
* sameSiteInterestGroups: if the user is added to `interestGroup` on a single site, this argument contains a list of all other interest group objects added by that site; if the user is added to `interestGroup` on mutliple sites, this argument will be a empty list.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit/typos:

  • Capital I for the first "if"
  • added by that site -> added on that site
  • Instead of the whole phrase "if the user ....", maybe just say "otherwise"?
  • mutliple -> multiple
  • a empty list -> an empty list

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed, thanks.


The output of `generateBid()` contains four fields:

Expand Down