-
Notifications
You must be signed in to change notification settings - Fork 765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need to do cookie sync for all bidders when passing empty bidders #341
Comments
We chatted offline about this... I think it makes sense, with a few caveats. MotivationAMP pages include one element for Auctions, and another totally separate element for Usersyncs. The OptionsThere are a few implementation options and tradeoffs we can consider. Sync all biddersAs @jaiminpanchal27 suggested, we could expose an API which returns Usersyncs for every bidder. Require AMP pages to list BiddersThe existing endpoint supports this already. A major drawback is that publishers need to remember to update the bidder list on their pages whenever they add or remove one from their Stored Request. Resolve usersyncs from Stored Request ID(s)We could allow Pubs to send in their Stored Request ID when generating usersyncs. We would need to support multiple IDs, since the If we added this, we could parse the Stored Requests to figure out which bidders are currently needed, and return the syncs for just those Bidders. This has the minor drawback that pubs need to put the Stored Request ID on their AMP pages in two places (auction & usersync), which is vulnerable to typos. @mkendall07 also points out that Pubs may want to "seed" their page with syncs from a new Bidder before they add that bidder to the auctions. Use case summaryIn the long term, the cookie sync endpoint should support:
Next stepsI think we should first work out an API which satisfies all of the known use-cases, and work backwards from there to make a feature we can implement now. It's the best way (that I know of) to minimize the chance of breaking changes later. |
My thoughts on the use case summary above: The current motivation for expanding the cookie sync is to support AMP. The list of bidders is done on a per It was also noted that @mkendal07 can see a use case for a bidder list that is not identical to the stored request being used on the page. I see two solutions to this problem.
For 2. we need to choose if the second fetcher returns the bidder list in an |
Agreed.
Suggesting a third option here: Could we just support Seems to me much simpler than the other two. |
That is a possibility too. The down side is again we need to edit code on page to update the preload bidders. Also from an optimization perspective, the more work for this that we can push off of PBS the better. But perhaps we should determine what is the maximum level of effort we will want to support here, and then aim for that. We can save a few cycles with either/or lists, but it shouldn't be a big hit to merge lists. |
Adds support for missing "bidders" == all bidders. Empty bidders still return no syncs. Does not implement any stored request loading discussed in #341 Fixes an error message typo in the AMP code.
* First commit for cookie sync all bidders (Issue #341) Adds support for missing "bidders" == all bidders. Empty bidders still return no syncs. Does not implement any stored request loading discussed in #341 Fixes an error message typo in the AMP code. * adds a documentation page * removes "uuid" from cookie syncs (immediate deprecation) * splits new test into TestCookieSyncEmptyBidders() and TestCookieSyncNoBidders()
The basic functionality here was implemented in #354. Since the To sync all the bidders, you can omit the |
* First commit for cookie sync all bidders (Issue prebid#341) Adds support for missing "bidders" == all bidders. Empty bidders still return no syncs. Does not implement any stored request loading discussed in prebid#341 Fixes an error message typo in the AMP code. * adds a documentation page * removes "uuid" from cookie syncs (immediate deprecation) * splits new test into TestCookieSyncEmptyBidders() and TestCookieSyncNoBidders()
* First commit for cookie sync all bidders (Issue prebid#341) Adds support for missing "bidders" == all bidders. Empty bidders still return no syncs. Does not implement any stored request loading discussed in prebid#341 Fixes an error message typo in the AMP code. * adds a documentation page * removes "uuid" from cookie syncs (immediate deprecation) * splits new test into TestCookieSyncEmptyBidders() and TestCookieSyncNoBidders()
* move config * update helm config * delete eks specific config * move stored requests * disable hooks * set up mspai config + test plan * disable execution plan * add new dockerfile for mspai * only keep one imp config for testing * update domain * rename account id * add workflow * update ECR path * disable cross platform * checkout submodules = true * rename workflowe * update image repo address * update checkout action * update aws account id * update account id * resolve comments * setup kafka topic and update schema id * adjust resource and k8s config
In Amp RTC config example we will be using Amp-iframe to do the pixel syncs. But we don't know the bidders so we would like to have cookie sync status for all the bidders.
Request like this should return status for all bidders
The text was updated successfully, but these errors were encountered: