Skip to content

Commit

Permalink
Update explainer to include units for requestedSize and renderSize co…
Browse files Browse the repository at this point in the history
…de examples. (#1145)

* Update FLEDGE.md

* Update FLEDGE.md

* Update FLEDGE.md

* Update FLEDGE.md
  • Loading branch information
xiaochen-z authored Jun 3, 2024
1 parent 3b98c4f commit 36bf1d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions FLEDGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,8 @@ const myAuctionConfig = {
'maxTrustedScoringSignalsURLLength': 10000,
'interestGroupBuyers': ['https://www.example-dsp.com', 'https://buyer2.com', ...],
'auctionSignals': {...},
'requestedSize': {width: '100', height: '200'},
'allSlotsRequestedSizes': [{width: '100', height: '200'}, {width: '200', height: '300'}, ...],
'requestedSize': {'width': '100sw', 'height': '200px'},
'allSlotsRequestedSizes': [{'width': '100sw', 'height': '200px'}, {'width': '200px', 'height': '300px'}, ...],
'directFromSellerSignalsHeaderAdSlot': 'adSlot/1',
'sellerSignals': {...},
'sellerTimeout': 100,
Expand Down Expand Up @@ -526,7 +526,7 @@ The function gets called once for each candidate ad in the auction. The argumen
{ 'topWindowHostname': 'www.example-publisher.com',
'interestGroupOwner': 'https://www.example-dsp.com',
'renderURL': 'https://cdn.com/render_url_of_bid',
'renderSize': {width: 100, height: 200}, /* if specified in the bid */
'renderSize': {'width': '100sw', 'height': '200px'}, /* if specified in the bid */
'adComponents': ['https://cdn.com/ad_component_of_bid',
'https://cdn.com/next_ad_component_of_bid',
...],
Expand Down Expand Up @@ -803,7 +803,7 @@ The arguments to `generateBid()` are:
{ 'topWindowHostname': 'www.example-publisher.com',
'seller': 'https://www.example-ssp.com',
'topLevelSeller': 'https://www.another-ssp.com',
'requestedSize': {width: 100, height: 200}, /* if specified in auction config */
'requestedSize': {'width': '100sw', 'height': '200px'}, /* if specified in auction config */
'joinCount': 3,
'recency': 3600000,
'bidCount': 17,
Expand Down

0 comments on commit 36bf1d0

Please sign in to comment.