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
Add new reporting signal script-errors #494
Comments
I agree we could improve the reporting capabilities in this area. One possible was is an extension I touched on here. I wanted to mention a couple ways this could be reported with today's reporting APIs: With
With
Note that |
An easy route may be to have more reject-reasons. We already fill some in automatically for currency errors, so it shouldn't be too hard to do it for some other kinds of errors. |
@michaelkleber @JensenPaul @morlovich It has been discussed in the WICG call from 17/01/2024 that we could use the Priv Agg API to track down the share of errors and then use down sampled We would need more triggers in the Private Aggregation API to be able to extract exceptions for example. currently we do what has been advised here:
Linked to ticket #632 |
Another point on using Private Aggregation API for real time monitoring. It seems like the timeframe granularity when a report could be received would be 1h which seems too long for real time monitoring: |
The explainer of the private Aggregation API allows to retrieve latency signals of buyer/seller scripts:
script-run-time
: milliseconds of CPU time that the calling function required, when called.signals-fetch-time
: milliseconds required to fetch the trusted bidding or scoring signals, when called fromgenerateBid()
or scoreAd() respectivelyOne signal that is missing is the number of client side errors that occurred inside
computeBid
,reportResult
andreportWin
functions.Today one can pass some technical information of what happened inside the scripts to
forDebuggingOnly.reportAdAuctionWin()
orforDebuggingOnly.reportAdAuctionLoss()
functions. However this requires that the buyer actual participates in the auction. IncomputeBid
the buyer could decide based on some targeting filter that he doesn't want to bid at all. If a Javascript error happens in there it means no feedback will ever be given that the script failed and it might be a missed opportunity for the buyer.While this is not an issue if it fails for every auction, because in this case the buyer would just see that he doesn’t participate in any auction anymore, it could be more complicated in some edge case where the buyer will just notice some decrease of the participation rate and doesn’t know why it happens.
We propose to add an additional signal
script-errors
that would allow to retrieve the number of client side errors per interest group owner and percomputeBid
orreportWin
/reportResult
.The text was updated successfully, but these errors were encountered: