Skip to content
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

BA Browser Signals from Web #70

Open
thegreatfatzby opened this issue May 12, 2024 · 1 comment
Open

BA Browser Signals from Web #70

thegreatfatzby opened this issue May 12, 2024 · 1 comment
Assignees
Labels

Comments

@thegreatfatzby
Copy link

thegreatfatzby commented May 12, 2024

Been digging around the protos to try to understand Protected App Signals a bit better, but noticed something in Protected Audience relevant protos.

Looking at the Browser signals protobuf here, I'm seeing a subset of the fields that are available on device in the call to generateBid.

The on device list includes topWindowHostname, seller, topLevelSeller, requestedSize, joinCount, recency, bidCount, prevWinsMs, wasmHelper, dataVersion, adComponentsLimit, multiBidLimit, whereas the BA PB for join_count, bid_count, recency, prev_wins, with publisher_name indicated in other messages as being for the signals (although I'm not clear what that maps to).

Are the docs just behind here, or is the current thinking that the BA version of generateBid will have less signals available? In that case I'd also be curious how generateBid would invoke the WASM helper if the WebAssembly.module isn't passed in (I understand the module can't be in the request to BA itself).

@chatterjee-priyanka
Copy link
Collaborator

chatterjee-priyanka commented May 20, 2024

Thanks @thegreatfatzby. Sorry about the delay.

BrowserSignals in ProtectedAuctionInput is what browser sends from device.

Note: Since the browserSignal is not constructed on browser but in B&A, we had to name the arg sellerReportingMetadata for reportResult and buyerReportingMetadata for reportWin respectively; bidMetadata for scoreAd(), deviceSignals for generateBid()

Reporting:
The constants are defined here for reporting. You may also refer to event level reporting explainer.

scoreAd():

  • The constants for auction are defined here
  • Only these and [bidCurrency(https://github.com/privacysandbox/protected-auction-services-docs/blob/main/bidding_auction_services_bid_currency.md#scoread) related fields are supported in B&A for bidMetadata.
  • Relevant code

generatebid()

  • The constants are defined here. This is all B&A supports at this point.
  • Relevant code

B&A's timeline and roadmap.

In general, B&A doesn't have parity with on-device yet. E.g. Dataversion and so on would be available by Jan 2025 (when Chrome - B&A API ramps to 100% and B&A is available for scale testing) as documented in the roadmap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants