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

Explainer: increase limit on ad components to 40 and add a feature detection mechanism #1003

Merged
merged 6 commits into from
Feb 20, 2024

Conversation

morlovich
Copy link
Collaborator

Addresses #810

@morlovich morlovich changed the title Spec: increase limit on ad components to 40 and add a feature detection mechanism Explainer: increase limit on ad components to 40 and add a feature detection mechanism Jan 23, 2024
@morlovich morlovich requested a review from JensenPaul January 23, 2024 21:11
FLEDGE.md Outdated
@@ -732,7 +732,7 @@ The output of `generateBid()` contains the following fields:
* size: A dictionary containing `width` and `height` fields, describing the creative's size (see the interest group declaration above). When the ad is loaded in a fenced frame, the fenced frame's inner frame (i.e. the size visible to the ad creative) will be frozen to this size, and it will be unable to see changes to the frame size made by the embedder.

Optionally, if you don't want to hook into interest group size declarations (e.g., if you don't want to use size macros), you can have `render` be just the URL, rather than a dictionary with `url` and `size`.
* adComponents: (optional) A list of up to 20 adComponent strings from the InterestGroup's adComponents field. Each value must match one of `interestGroup`'s `adComponent`'s `renderUrl` and sizes exactly. This field must not be present if `interestGroup` has no `adComponent` field. It is valid for this field not to be present even when `adComponents` is present. (See ["Ads Composed of Multiple Pieces"](#34-ads-composed-of-multiple-pieces) below.)
* adComponents: (optional) A list of up to 20 (in process of being increased to 40 starting from M122) adComponent strings from the InterestGroup's adComponents field. Each value must match one of `interestGroup`'s `adComponent`'s `renderUrl` and sizes exactly. This field must not be present if `interestGroup` has no `adComponent` field. It is valid for this field not to be present even when `adComponents` is present. (See ["Ads Composed of Multiple Pieces"](#34-ads-composed-of-multiple-pieces) below.)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add "adComponentsLimit" to the browserSignals object further up the page (starting at line 704)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@michaelkleber michaelkleber merged commit d60fd28 into WICG:main Feb 20, 2024
2 checks passed
github-actions bot added a commit that referenced this pull request Feb 20, 2024
…tection mechanism (#1003)

SHA: d60fd28
Reason: push, by michaelkleber

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@dmdabbs
Copy link
Contributor

dmdabbs commented Feb 20, 2024

'prevWinsMs': [[timeDeltaMs1,ad1],[timeDeltaMs2,ad2],...], /* List of this interest group's previous wins. */

The implementation also sends the seconds-based preWins. Will that legacy value end when the *Url attributes are no longer supported and only *URL are recognized?

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

Successfully merging this pull request may close these issues.

5 participants