Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeWheel Bid Adapter: remove .innerText for PrebidJS 9.0 #11532

Merged
merged 12 commits into from
May 21, 2024
Merged
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