privacy-sandbox-samples icon indicating copy to clipboard operation
privacy-sandbox-samples copied to clipboard

Inconsistent field naming

Open typerat opened this issue 1 year ago • 1 comments

The documentation for fetchAndJoinCustomAudience shows the field user_bidding_signals in snake case. The respective field when accessed from the bidding JS is userBiddingSignals in camel case (which took weeks to figure out, see #90).

This is specifically causing problems, as we have to use two different representations for a custom audience in our system - one for CA management and a different one for bidding - and make sure we use the correct one in each instance.

All other fields that I checked are in snake case, as expected.

typerat avatar Feb 29 '24 08:02 typerat

Hey @typerat. We're compiling a list of the fields that need to updated as you've pointed out and will hopefully have the change put in soon to use a singular case.

syntxerror avatar Sep 10 '24 15:09 syntxerror