Skip to content

PixFuture adapter update added VIDEO format#14582

Merged
patmmccann merged 10 commits intoprebid:masterfrom
pixfuture-media:master
Apr 13, 2026
Merged

PixFuture adapter update added VIDEO format#14582
patmmccann merged 10 commits intoprebid:masterfrom
pixfuture-media:master

Conversation

@Arthur482
Copy link
Copy Markdown
Contributor

Type of change

  • Updated bidder adapter

Description of change

Added support for serving VAST video ads in the Pixfuture bidder adapter.

Key changes

  • Implemented video media type handling in the adapter.
  • Extended request payload construction to include video parameters (player size, protocols, mimes, etc.).
  • Updated interpretResponse to properly process both banner and video creatives.
  • Added support for returning VAST responses (vastXml) for video bids.
  • Maintained backward compatibility with existing banner ad functionality.

This update enables Pixfuture to participate in Prebid video auctions and return VAST creatives that can be rendered by video players such as Google IMA.

@github-actions
Copy link
Copy Markdown

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. We hate that we have to mention this, however, commits designed to hide from this utility by renaming variables or reordering an object are poor conduct. We will not look upon them kindly! Keep up the great work! 🚀

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7009c40efb

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".


export const spec = {
code: 'pixfuture',
supportedMediaTypes: [BANNER, VIDEO],
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Allow video bids that omit ad-unit sizes

Declaring VIDEO in supportedMediaTypes makes this adapter eligible for video traffic, but isBidRequestValid still requires bid.sizes, so video bids without an explicit size are dropped before request building. Prebid allows video configs where mediaTypes.video.playerSize is absent, and this adapter already has a fallback size path in bidToTag, so this validation gate blocks otherwise valid video auctions.

Useful? React with 👍 / 👎.

@coveralls
Copy link
Copy Markdown
Collaborator

coveralls commented Mar 11, 2026

Coverage Report for CI Build 24355163099

Warning

Build has drifted: This PR's base is out of sync with its target branch, so coverage data may include unrelated changes.
Quick fix: rebase this PR. Learn more →

Coverage increased (+33.2%) to 96.34%

Details

  • Coverage increased (+33.2%) from the base build.
  • Patch coverage: 20 uncovered changes across 1 file (15 of 35 lines covered, 42.86%).
  • 38 coverage regressions across 2 files.

Uncovered Changes

File Changed Covered %
modules/pixfutureBidAdapter.js 35 15 42.86%

Coverage Regressions

38 previously-covered lines in 2 files lost coverage.

File Lines Losing Coverage Coverage
src/utils.js 31 92.4%
src/adloader.js 7 88.89%

Coverage Stats

Coverage Status
Relevant Lines: 225953
Covered Lines: 217682
Line Coverage: 96.34%
Relevant Branches: 52699
Covered Branches: 42789
Branch Coverage: 81.2%
Branches in Coverage %: No
Coverage Strength: 72.86 hits per line

💛 - Coveralls

@github-actions
Copy link
Copy Markdown

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. We hate that we have to mention this, however, commits designed to hide from this utility by renaming variables or reordering an object are poor conduct. We will not look upon them kindly! Keep up the great work! 🚀

@github-actions
Copy link
Copy Markdown

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. We hate that we have to mention this, however, commits designed to hide from this utility by renaming variables or reordering an object are poor conduct. We will not look upon them kindly! Keep up the great work! 🚀

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 6, 2026

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. We hate that we have to mention this, however, commits designed to hide from this utility by renaming variables or reordering an object are poor conduct. We will not look upon them kindly! Keep up the great work! 🚀

@pixfuture-media
Copy link
Copy Markdown
Contributor

Hi @prebid.js--maintainers,
Just checking in to see if there are any updates regarding our adapter.
Thanks,
Vitali I.

@github-actions
Copy link
Copy Markdown

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. We hate that we have to mention this, however, commits designed to hide from this utility by renaming variables or reordering an object are poor conduct. We will not look upon them kindly! Keep up the great work! 🚀

@patmmccann patmmccann merged commit c39c840 into prebid:master Apr 13, 2026
20 of 21 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.

4 participants