Skip to content

Commit

Permalink
FreeWheel Bid Adapter: remove .innerText for PrebidJS 9.0 (#11532)
Browse files Browse the repository at this point in the history
* freewheel add schain in the request

* FreeWheel-SSP-Adapter: remove the innerText for 9.0 release

* update test
  • Loading branch information
xwang202 committed May 21, 2024
1 parent b4d6a82 commit 39787dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/freewheel-sspBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function getPricing(xmlNode) {
var priceNode = pricingExtNode.querySelector('Price');
princingData = {
currency: priceNode.getAttribute('currency'),
price: priceNode.textContent || priceNode.innerText
price: priceNode.textContent
};
} else {
logWarn('PREBID - ' + BIDDER_CODE + ': No bid received or missing pricing extension.');
Expand Down Expand Up @@ -110,7 +110,7 @@ function getAdvertiserDomain(xmlNode) {
// Currently we only return one Domain
if (brandExtNode) {
var domainNode = brandExtNode.querySelector('Domain');
domain.push(domainNode.textContent || domainNode.innerText);
domain.push(domainNode.textContent);
} else {
logWarn('PREBID - ' + BIDDER_CODE + ': No bid received or missing StickyBrand extension.');
}
Expand Down

0 comments on commit 39787dc

Please sign in to comment.