Skip to content

fix(download): correct Define Media bidder module casing#6561

Open
mkdefinemedia wants to merge 3 commits into
prebid:masterfrom
mkdefinemedia:fix-defineMedia-spelling
Open

fix(download): correct Define Media bidder module casing#6561
mkdefinemedia wants to merge 3 commits into
prebid:masterfrom
mkdefinemedia:fix-defineMedia-spelling

Conversation

@mkdefinemedia
Copy link
Copy Markdown
Contributor

Description

This change renames the Define Media bidder doc from definemedia.md to defineMedia.md.

On the download page, bidder checkbox IDs and moduleCode values are derived from the bidder doc filename. Because the file was lowercase, the page generated definemediaBidAdapter instead of defineMediaBidAdapter.

As a result, selecting Define Media on the package builder page could omit the actual adapter module from the build. Renaming the doc restores the expected camelCase module name.

Repro:
https://docs.prebid.org/download.html?modules=consentManagementGpp%2CconsentManagementTcf%2CgppControl_usnat%2CgppControl_usstates%2CgptPreAuction%2CstorageControl%2CtcfControl%2CappnexusBidAdapter%2CdefineMediaBidAdapter%2CdefinemediaBidAdapter

🏷 Type of documentation

  • new bid adapter
  • update bid adapter
  • new feature
  • text edit only (wording, typos)
  • bugfix (code examples)
  • new examples

📋 Checklist

The download page derives bidder module IDs from the bidder doc filename.
The old lowercase filename produced definemediaBidAdapter, so the generated package omitted the actual defineMediaBidAdapter module.
Rename the bidder doc to defineMedia.md so the generated moduleCode matches the adapter name.
Copilot AI review requested due to automatic review settings May 12, 2026 09:18
@netlify
Copy link
Copy Markdown

netlify Bot commented May 12, 2026

Deploy Preview for prebid-docs-preview ready!

Name Link
🔨 Latest commit 90c7117
🔍 Latest deploy log https://app.netlify.com/projects/prebid-docs-preview/deploys/6a0330b35bd119000845dfd8
😎 Deploy Preview https://deploy-preview-6561--prebid-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR addresses an issue in the package builder/download flow where the Define Media adapter module could be omitted due to casing derived from the bidder doc filename, by aligning the Define Media bidder documentation metadata (and intended filename casing) with the expected camelCase module naming.

Changes:

  • Updates the Define Media bidder doc front-matter biddercode to defineMedia (camelCase) for consistency with the expected module naming.
  • (Per PR description) Renames the bidder doc filename casing to defineMedia.md so generated module IDs/codes match defineMediaBidAdapter.
Comments suppressed due to low confidence (1)

dev-docs/bidders/defineMedia.md:5

  • If this change is paired with renaming the bidder doc file from definemedia.md to defineMedia.md, the old URL /dev-docs/bidders/definemedia.html will start returning 404s (no redirect currently exists in this repo). Consider adding a small dev-docs/bidders/definemedia.md stub that uses the existing redirect_to front-matter pattern to redirect to the new defineMedia page, to avoid breaking existing inbound links/bookmarks.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Adjust heading levels and table formatting in the Define Media bidder doc
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.

2 participants