Skip to content

Commit

Permalink
In PA KVv2 API, replace renderUrl/componentRenderUrl with renderURL /…
Browse files Browse the repository at this point in the history
… componentRenderURL (#1383)

* In PA KVv2 API, replace renderUrl/componentRenderUrl with renderURL / componentRenderURL.

This better matches the other APIs.  The server implementation already supports both, and we'll soon be switching Chrome as well.

* Update spec.bs

Update spec, sort of

---------

Co-authored-by: Paul Jensen <[email protected]>
  • Loading branch information
MattMenke2 and JensenPaul authored Jan 16, 2025
1 parent 2cfc38f commit d1b7e12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2783,10 +2783,10 @@ interger and an integer , and a [=boolean=] |isBiddingSignal|:
1. [=map/For each=] |key| → |value| in |result|["keys"]:
1. [=map/Set=] |signalsMap|[|key|] to |value|.
1. Otherwise:
1. [=map/For each=] |url| → |value| in |result|["renderUrls"]:
1. [=map/For each=] |url| → |value| in |result|["renderURLs"]:
1. [=map/Set=] |signalsMap|[|url|] to |value|.
1. If |result| [=map/contains=] `"dataVersion"`, [=map/set=] |dataVersion|[|url|] to |result|["dataVersion"].
1. [=map/For each=] |url| → |value| in |result|["adComponentRenderUrls"]:
1. [=map/For each=] |url| → |value| in |result|["adComponentRenderURLs"]:
1. [=map/Set=] |signalsMap|[|url|] to |value|.
1. If |signalsMap| is not empty, set |signals| to |signalsMap|.
1. Return « |signals|, |perInterestGroupData|, |dataVersion| ».
Expand Down

0 comments on commit d1b7e12

Please sign in to comment.