Skip to content

Native: document multiple legacy image sizes and aspect ratios - #6939

Merged
muuki88 merged 4 commits into
prebid:masterfrom
patmmccann:agent-native-legacy-sizes-10249
Nov 19, 2026
Merged

muuki88 merged 4 commits into
prebid:masterfrom
patmmccann:agent-native-legacy-sizes-10249

Conversation

@patmmccann

Copy link
Copy Markdown
Collaborator

Docs for prebid/Prebid.js#16028 (closes prebid/Prebid.js#10249).

  • _includes/dev-docs/native-image-asset-sizes.md (included by the legacy native implementation page, Show Native Ads and addAdUnits) gets an info box. It explains that the ORTB native request carries one size per image asset:
    • from 11.48, the first of several sizes is used;
    • only the first aspect_ratios entry's min sizes are used, and all ratios still go in img.ext.aspectratios;
    • warnings are logged when values are dropped;
    • adapters reading the legacy request still see every entry.
  • prebid/native-implementation-legacy.md: the ASSETCODE.sizes row notes that only the first size is used.

markdownlint-cli2 0.20.0 reports no new errors.

🤖 Generated with Claude Code

patmmccann and others added 2 commits November 3, 2026 15:00
… min size is used

Legacy native image/icon assets accept multiple sizes or aspect_ratios, but
OpenRTB Native allows one per asset. Document what Prebid.js does with the extras
(prebid/Prebid.js#10249).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@netlify

netlify Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

👷 Deploy request for prebid-docs-preview pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 663766d

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T20:35:54.026594Z 699ef27 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

patmmccann and others added 2 commits November 13, 2026 19:08
@muuki88
muuki88 merged commit 2374af5 into prebid:master Nov 19, 2026
4 checks passed
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.

Questions on updating from legacy native fields to ortb native fields

3 participants