-
Notifications
You must be signed in to change notification settings - Fork 246
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
Spec update for ad size entries in ScoringBrowserSignals and BiddingBrowserSignals. #1141
Conversation
The spec also misses the requestedSize for biddingBrowserSignals. I think we should add that to the spec as well. |
scoreAd. The Protected Audience explainer claims the browserSignals argument of scoreAd function should contain an optional field of renderSize. However, it is found that this has not been implemented. See: https://github.com/WICG/turtledove/blob/main/FLEDGE.md#:~:text=%27renderSize%27%3A%20%7Bwidth%3A%20100%2C%20height%3A%20200%7D%2C%20/*%20if%20specified%20in%20the%20bid%20*/ This CL implements this optional field to match what the explainer claims. See: WICG/turtledove#1088 Spec PR: WICG/turtledove#1141 Explainer PR: WICG/turtledove#1145 Bug: 333628467 Change-Id: I95d5ebb7ddbbeb50d0ac3618e22ed1e228ec32a1
scoreAd. The Protected Audience explainer claims the browserSignals argument of scoreAd function should contain an optional field of renderSize. However, it is found that this has not been implemented. See: https://github.com/WICG/turtledove/blob/main/FLEDGE.md#:~:text=%27renderSize%27%3A%20%7Bwidth%3A%20100%2C%20height%3A%20200%7D%2C%20/*%20if%20specified%20in%20the%20bid%20*/ This CL implements this optional field to match what the explainer claims. See: WICG/turtledove#1088 Spec PR: WICG/turtledove#1141 Explainer PR: WICG/turtledove#1145 Bug: 333628467 Change-Id: I95d5ebb7ddbbeb50d0ac3618e22ed1e228ec32a1
scoreAd. The Protected Audience explainer claims the browserSignals argument of scoreAd function should contain an optional field of renderSize. However, it is found that this has not been implemented. See: https://github.com/WICG/turtledove/blob/main/FLEDGE.md#:~:text=%27renderSize%27%3A%20%7Bwidth%3A%20100%2C%20height%3A%20200%7D%2C%20/*%20if%20specified%20in%20the%20bid%20*/ This CL implements this optional field to match what the explainer claims. See: WICG/turtledove#1088 Spec PR: WICG/turtledove#1141 Explainer PR: WICG/turtledove#1145 Bug: 333628467 Change-Id: I95d5ebb7ddbbeb50d0ac3618e22ed1e228ec32a1
scoreAd. The Protected Audience explainer claims the browserSignals argument of scoreAd function should contain an optional field of renderSize. However, it is found that this has not been implemented. See: https://github.com/WICG/turtledove/blob/main/FLEDGE.md#:~:text=%27renderSize%27%3A%20%7Bwidth%3A%20100%2C%20height%3A%20200%7D%2C%20/*%20if%20specified%20in%20the%20bid%20*/ This CL implements this optional field to match what the explainer claims. See: WICG/turtledove#1088 Spec PR: WICG/turtledove#1141 Explainer PR: WICG/turtledove#1145 Bug: 333628467 Change-Id: I95d5ebb7ddbbeb50d0ac3618e22ed1e228ec32a1
Add requestedSize and add the algorithm to convert an AdSize to a dict. This PR is ready for another look, thanks! @qingxinwu Explainer update is done in #1145. |
Co-authored-by: qingxinwu <[email protected]>
Co-authored-by: qingxinwu <[email protected]>
Co-authored-by: qingxinwu <[email protected]>
Review comments resolved, thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@domfarolino Ready for review. Thanks!
Co-authored-by: Dominic Farolino <[email protected]>
Co-authored-by: Dominic Farolino <[email protected]>
Co-authored-by: Dominic Farolino <[email protected]>
scoreAd. The Protected Audience explainer claims the browserSignals argument of scoreAd function should contain an optional field of renderSize. However, it is found that this has not been implemented. See: https://github.com/WICG/turtledove/blob/main/FLEDGE.md#:~:text=%27renderSize%27%3A%20%7Bwidth%3A%20100%2C%20height%3A%20200%7D%2C%20/*%20if%20specified%20in%20the%20bid%20*/ This CL implements this optional field to match what the explainer claims. See: WICG/turtledove#1088 Spec PR: WICG/turtledove#1141 Explainer PR: WICG/turtledove#1145 Bug: 333628467 Change-Id: I95d5ebb7ddbbeb50d0ac3618e22ed1e228ec32a1
scoreAd. The Protected Audience explainer claims the browserSignals argument of scoreAd function should contain an optional field of renderSize. However, it is found that this has not been implemented. See: https://github.com/WICG/turtledove/blob/main/FLEDGE.md#:~:text=%27renderSize%27%3A%20%7Bwidth%3A%20100%2C%20height%3A%20200%7D%2C%20/*%20if%20specified%20in%20the%20bid%20*/ This CL implements this optional field to match what the explainer claims. See: WICG/turtledove#1088 Spec PR: WICG/turtledove#1141 Explainer PR: WICG/turtledove#1145 Bug: 333628467 Change-Id: I95d5ebb7ddbbeb50d0ac3618e22ed1e228ec32a1
scoreAd. The Protected Audience explainer claims the browserSignals argument of scoreAd function should contain an optional field of renderSize. However, it is found that this has not been implemented. See: https://github.com/WICG/turtledove/blob/main/FLEDGE.md#:~:text=%27renderSize%27%3A%20%7Bwidth%3A%20100%2C%20height%3A%20200%7D%2C%20/*%20if%20specified%20in%20the%20bid%20*/ This CL implements this optional field to match what the explainer claims. See: WICG/turtledove#1088 Spec PR: WICG/turtledove#1141 Explainer PR: WICG/turtledove#1145 Bug: 333628467 Change-Id: I95d5ebb7ddbbeb50d0ac3618e22ed1e228ec32a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5447954 Reviewed-by: Caleb Raitto <[email protected]> Commit-Queue: Xiaochen Zhou <[email protected]> Reviewed-by: Dominic Farolino <[email protected]> Cr-Commit-Position: refs/heads/main@{#1294870}
scoreAd. The Protected Audience explainer claims the browserSignals argument of scoreAd function should contain an optional field of renderSize. However, it is found that this has not been implemented. See: https://github.com/WICG/turtledove/blob/main/FLEDGE.md#:~:text=%27renderSize%27%3A%20%7Bwidth%3A%20100%2C%20height%3A%20200%7D%2C%20/*%20if%20specified%20in%20the%20bid%20*/ This CL implements this optional field to match what the explainer claims. See: WICG/turtledove#1088 Spec PR: WICG/turtledove#1141 Explainer PR: WICG/turtledove#1145 Bug: 333628467 Change-Id: I95d5ebb7ddbbeb50d0ac3618e22ed1e228ec32a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5447954 Reviewed-by: Caleb Raitto <[email protected]> Commit-Queue: Xiaochen Zhou <[email protected]> Reviewed-by: Dominic Farolino <[email protected]> Cr-Commit-Position: refs/heads/main@{#1294870}
…ze field to browserSignals of scoreAd., a=testonly Automatic update from web-platform-tests Protected Audience: Add missing renderSize field to browserSignals of scoreAd. The Protected Audience explainer claims the browserSignals argument of scoreAd function should contain an optional field of renderSize. However, it is found that this has not been implemented. See: https://github.com/WICG/turtledove/blob/main/FLEDGE.md#:~:text=%27renderSize%27%3A%20%7Bwidth%3A%20100%2C%20height%3A%20200%7D%2C%20/*%20if%20specified%20in%20the%20bid%20*/ This CL implements this optional field to match what the explainer claims. See: WICG/turtledove#1088 Spec PR: WICG/turtledove#1141 Explainer PR: WICG/turtledove#1145 Bug: 333628467 Change-Id: I95d5ebb7ddbbeb50d0ac3618e22ed1e228ec32a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5447954 Reviewed-by: Caleb Raitto <[email protected]> Commit-Queue: Xiaochen Zhou <[email protected]> Reviewed-by: Dominic Farolino <[email protected]> Cr-Commit-Position: refs/heads/main@{#1294870} -- wpt-commits: 3c8f88bb2b952e67e70a7a896ef6b0cf259603f0 wpt-pr: 45802
…ze field to browserSignals of scoreAd., a=testonly Automatic update from web-platform-tests Protected Audience: Add missing renderSize field to browserSignals of scoreAd. The Protected Audience explainer claims the browserSignals argument of scoreAd function should contain an optional field of renderSize. However, it is found that this has not been implemented. See: https://github.com/WICG/turtledove/blob/main/FLEDGE.md#:~:text=%27renderSize%27%3A%20%7Bwidth%3A%20100%2C%20height%3A%20200%7D%2C%20/*%20if%20specified%20in%20the%20bid%20*/ This CL implements this optional field to match what the explainer claims. See: WICG/turtledove#1088 Spec PR: WICG/turtledove#1141 Explainer PR: WICG/turtledove#1145 Bug: 333628467 Change-Id: I95d5ebb7ddbbeb50d0ac3618e22ed1e228ec32a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5447954 Reviewed-by: Caleb Raitto <[email protected]> Commit-Queue: Xiaochen Zhou <[email protected]> Reviewed-by: Dominic Farolino <[email protected]> Cr-Commit-Position: refs/heads/main@{#1294870} -- wpt-commits: 3c8f88bb2b952e67e70a7a896ef6b0cf259603f0 wpt-pr: 45802
…ze field to browserSignals of scoreAd., a=testonly Automatic update from web-platform-tests Protected Audience: Add missing renderSize field to browserSignals of scoreAd. The Protected Audience explainer claims the browserSignals argument of scoreAd function should contain an optional field of renderSize. However, it is found that this has not been implemented. See: https://github.com/WICG/turtledove/blob/main/FLEDGE.md#:~:text=%27renderSize%27%3A%20%7Bwidth%3A%20100%2C%20height%3A%20200%7D%2C%20/*%20if%20specified%20in%20the%20bid%20*/ This CL implements this optional field to match what the explainer claims. See: WICG/turtledove#1088 Spec PR: WICG/turtledove#1141 Explainer PR: WICG/turtledove#1145 Bug: 333628467 Change-Id: I95d5ebb7ddbbeb50d0ac3618e22ed1e228ec32a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5447954 Reviewed-by: Caleb Raitto <[email protected]> Commit-Queue: Xiaochen Zhou <[email protected]> Reviewed-by: Dominic Farolino <[email protected]> Cr-Commit-Position: refs/heads/main@{#1294870} -- wpt-commits: 3c8f88bb2b952e67e70a7a896ef6b0cf259603f0 wpt-pr: 45802
The explainer states the browserSignals argument of scoreAd function contains an optional member
renderSize
. However, this has not been spec'd. This PR addsrenderSize
to the spec. See clarification regarding renderSize in scoring browser signals #1088.Similarly, the requestedSize for biddingBrowserSignals is also missing from the spec.
Both
renderSize
andrequestedSize
code examples in explainer are missing size units. See explainer update PR: #1145Preview | Diff