Skip to content

PixFuture adapter update added VIDEO format#14582

Open
Arthur482 wants to merge 7 commits intoprebid:masterfrom
pixfuture-media:master
Open

PixFuture adapter update added VIDEO format#14582
Arthur482 wants to merge 7 commits intoprebid:masterfrom
pixfuture-media:master

Conversation

@Arthur482
Copy link
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

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

@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],

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
Collaborator

coveralls commented Mar 11, 2026

Pull Request Test Coverage Report for Build 23013630807

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 15 of 35 (42.86%) changed or added relevant lines in 1 file are covered.
  • 6 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.005%) to 96.332%

Changes Missing Coverage Covered Lines Changed/Added Lines %
modules/pixfutureBidAdapter.js 15 35 42.86%
Files with Coverage Reduction New Missed Lines %
libraries/medianetUtils/logger.js 2 83.78%
modules/pixfutureBidAdapter.js 4 48.34%
Totals Coverage Status
Change from base Build 22969985052: -0.005%
Covered Lines: 217871
Relevant Lines: 226166

💛 - Coveralls

@github-actions
Copy link

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! 🚀

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.

3 participants