Skip to content

Commit

Permalink
IronSourceBidAdapter: Change logic of detect pageURL (#6147)
Browse files Browse the repository at this point in the history
* Change ironsource to be lower case all over code

* Add test mode to the IronSource bidder

* get dynamic ttl from the server response

* Change page_url logic
  • Loading branch information
liranbaruch authored Jan 5, 2021
1 parent e7ca0c9 commit 24538ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ironsourceBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ function generateParameters(bid, bidderRequest) {

if (bidderRequest && bidderRequest.refererInfo) {
requestParams.referrer = utils.deepAccess(bidderRequest, 'refererInfo.referer');
requestParams.page_url = utils.deepAccess(bidderRequest, 'refererInfo.canonicalUrl') || config.getConfig('pageUrl') || utils.deepAccess(window, 'location.href');
requestParams.page_url = config.getConfig('pageUrl') || utils.deepAccess(window, 'location.href');
}

return requestParams;
Expand Down

0 comments on commit 24538ca

Please sign in to comment.