Skip to content

Conversation

@anastasiiapankivFS
Copy link
Contributor

Type of change

  • Bugfix

Description of change

When constructing server side bidRequests src is set on both bidRequest and bid level VS for client side src is only set on a bid level.

This PRs ensures src field is consistently populated.

@robertrmartinez
Copy link
Collaborator

@anastasiiapankivFS please add some unit tests to cover this also!

@patmmccann patmmccann changed the title Fix: Added src field to client bidRequests to ensure consistent payload structure Core: Added src field to client bidRequests to ensure consistent payload structure Jan 14, 2026
@patmmccann patmmccann requested review from dgirardi and removed request for robertrmartinez January 15, 2026 15:39
timeout: cbTimeout,
refererInfo,
metrics,
src: 'client',
Copy link
Collaborator

Choose a reason for hiding this comment

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

isn't it on line 651 above? why have it at both levels?

@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 21043378589

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 51 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+33.0%) to 96.21%

Files with Coverage Reduction New Missed Lines %
src/adloader.js 12 78.57%
src/utils.js 39 90.21%
Totals Coverage Status
Change from base Build #3: 33.0%
Covered Lines: 207825
Relevant Lines: 216012

💛 - Coveralls

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.

5 participants