KEMBAR78
Nexverse Bid Adapter: bug fixes by montu1996 · Pull Request #13644 · prebid/Prebid.js · GitHub
Skip to content

Conversation

montu1996
Copy link
Contributor

Type of change

  • Bugfix
  • Updated bidder adapter

Description of change

This pull request updates the Nexverse Bid Adapter with the following enhancements and fixes:

  • 🛠️ Fixes incorrect os and osv handling in the bid request.

All changes include appropriate test coverage and validation with the hello_world.html page.

Other information

Adapter Maintainer: [anand.kumar@nexverse.ai]

import { getDeviceModel, buildEndpointUrl, isBidRequestValid, parseNativeResponse, printLog, getUid, getBidFloor, getOsInfo } from '../libraries/nexverseUtils/index.js';
import {getStorageManager} from '../src/storageManager.js';
import {MODULE_TYPE_UID} from '../src/activities/modules.js';
import { getOsVersion } from '../libraries/advangUtils/index.js';
Copy link
Collaborator

Choose a reason for hiding this comment

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

what was incorrect in this one? why not just fix it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We were using another adapter's getOsVersion() method and assigning its value to the ORTB osv field. However, getOsVersion() was returning the OS name instead of the version, and getOs() was returning an enum rather than the actual OS name. As a result, ORTB parsing was failing with our newly updated stack — hence the fix.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hope it is not blocker

Copy link
Contributor Author

Choose a reason for hiding this comment

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

any update ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Wouldn't that also be a problem for anyone else using the function?

@montu1996
Copy link
Contributor Author

i did latest master pull and now test cases are failing

@arrowak
Copy link

arrowak commented Aug 4, 2025

Hi @patmmccann – We’d really appreciate it if you could review this today. It’s a major business blocker for us, and we’ve been stuck on it for a few weeks now. Hope you can help us move forward.

@patmmccann patmmccann merged commit 35b94b1 into prebid:master Aug 4, 2025
19 of 20 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