Skip to content

Comments

LeagueM BId Adapter: initial release#14479

Merged
patmmccann merged 7 commits intoprebid:masterfrom
mo4rock:master
Feb 20, 2026
Merged

LeagueM BId Adapter: initial release#14479
patmmccann merged 7 commits intoprebid:masterfrom
mo4rock:master

Conversation

@mo4rock
Copy link
Contributor

@mo4rock mo4rock commented Feb 16, 2026

Type of change

  • New bidder adapter

Description of change

  • contact email of the adapter’s maintainer: prebid@league-m.com
  • test parameters for validating bids:
[
    {
        code: 'test-banner',
        mediaTypes: {
            banner: {
                sizes: [[300, 250]],
            }
        },
        bids: [
            {
                bidder: 'leagueM',
                params: {
                    env: 'leagueM',
                    pid: 'aa8217e20131c095fe9dba67981040b0',
                    ext: {}
                }
            }
        ]
    },
    {
        code: 'test-video',
        sizes: [ [ 640, 480 ] ],
        mediaTypes: {
            video: {
                playerSize: [640, 480],
                context: 'instream',
                skipppable: true
            }
        },
        bids: [{
            bidder: 'leagueM',
            params: {
                env: 'leagueM',
                pid: 'aa8217e20131c095fe9dba67981040b0',
                ext: {}
            }
        }]
    }
]

Other information

Docs RP: prebid/prebid.github.io#6434

Copilot AI review requested due to automatic review settings February 16, 2026 14:53
Copy link
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 introduces a new bidder adapter for LeagueM, following the established pattern of using the shared xeUtils bidder utilities. The adapter supports both banner and video ad formats and integrates with the LeagueM demand source via their prebid endpoint.

Changes:

  • Added LeagueM bidder adapter implementation using shared xeUtils utilities
  • Added comprehensive test suite covering validation, request building, response interpretation, and user syncs
  • Added adapter documentation with test parameters and usage examples

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

File Description
modules/leagueMBidAdapter.js Core adapter implementation that configures the bidder with required parameters and endpoint
modules/leagueMBidAdapter.md Documentation file with adapter overview, description, and test parameters
test/spec/modules/leagueMBidAdapter_spec.js Comprehensive test suite covering all adapter functionality including edge cases

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

mo4rock and others added 6 commits February 17, 2026 12:35
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@patmmccann patmmccann merged commit faf5651 into prebid:master Feb 20, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants