You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR introduces support for a meta object in the riseBidAdapter bid responses, allowing additional metadata to be passed. A new utility function buildBidMeta is added, and existing bid response building is updated to use it. This PR is for internal review only and should not be merged.
🎯 Jira Ticket Alignment: ℹ️ Not Found
⚠️ Risk Level: 🟡 Medium
This change introduces new bid response data handling logic. The risk is mitigated by the inclusion of dedicated tests for the new functionality, but it affects the core bid response structure.
🧪 Test Coverage
✅ Tests included for new functionality, covering server-side meta fields and adomain fallback logic.
📊 Root Cause Analysis
The changes were made to enhance the riseBidAdapter's capability to include a comprehensive meta object in bid responses, allowing for richer data communication beyond basic bid parameters.
🔗 Dependency Chain
Modified:
libraries/riseUtils/index.js
test/spec/modules/riseBidAdapter_spec.js
Impacts: riseBidAdapter's bid response structure and utility functions.
Dependencies: None added or removed.
📝 Detailed Changes
New Features:
libraries/riseUtils/index.js: Added buildBidMeta function to construct the bid response meta object, supporting both direct meta fields and adomain fallback.
Modified:
libraries/riseUtils/index.js: buildBidResponse now utilizes the new buildBidMeta function for constructing the meta object, instead of inline meta object creation.
Tests:
test/spec/modules/riseBidAdapter_spec.js: Added new test cases to verify the correct inclusion of meta fields from the server response and the fallback mechanism to adomain for advertiserDomains when meta is absent.
Powered by Gemini 2.5 Flash | Last updated: 23/04/2026 08:53:07 UTC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
IMPORTANT: the PR is created for internal review, do not merge it!