{"action":"created","issue":{"url":"https://api.github.com/repos/prebid/Prebid.js/issues/786","repository_url":"https://api.github.com/repos/prebid/Prebid.js","labels_url":"https://api.github.com/repos/prebid/Prebid.js/issues/786/labels{/name}","comments_url":"https://api.github.com/repos/prebid/Prebid.js/issues/786/comments","events_url":"https://api.github.com/repos/prebid/Prebid.js/issues/786/events","html_url":"https://github.com/prebid/Prebid.js/issues/786","id":188629860,"number":786,"title":"Why does bidCpmAdjustment not work when aliased publisher name starts with a number?","user":{"login":"headerbidding","id":16692770,"avatar_url":"https://avatars.githubusercontent.com/u/16692770?v=3","gravatar_id":"","url":"https://api.github.com/users/headerbidding","html_url":"https://github.com/headerbidding","followers_url":"https://api.github.com/users/headerbidding/followers","following_url":"https://api.github.com/users/headerbidding/following{/other_user}","gists_url":"https://api.github.com/users/headerbidding/gists{/gist_id}","starred_url":"https://api.github.com/users/headerbidding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/headerbidding/subscriptions","organizations_url":"https://api.github.com/users/headerbidding/orgs","repos_url":"https://api.github.com/users/headerbidding/repos","events_url":"https://api.github.com/users/headerbidding/events{/privacy}","received_events_url":"https://api.github.com/users/headerbidding/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-10T21:59:13Z","updated_at":"2016-11-10T23:28:17Z","closed_at":null,"body":"Hi Matt,\r\n\r\nThe bidCpmAdjustment does not work for the publisher whose name starts with a number (152media) and is aliased. \r\n\r\nI am still getting high bids from 152 media, even when I set the adjustment to 0.1\r\n\r\nObservation:\r\nThe bid ajustment for 152media is ignored.\r\nThe bid ajustment for brealtime  works fine.\r\n\r\nHunch:\r\nDo we need to use bracket notation for the aliasbidder also? \r\n\r\nCode:\r\n\r\n    pbjs.que.push(function() {\r\n        pbjs.addAdUnits(adUnits);\r\n        pbjs.aliasBidder('appnexus', '152media');\r\n\r\n    pbjs.bidderSettings = {};\r\n    pbjs.bidderSettings['152media'] = {\r\n        bidCpmAdjustment: function(bidCpm) {\r\n        return bidCpm * .10;}\r\n    };\r\n\r\n    pbjs.bidderSettings = {brealtime: {\r\n        bidCpmAdjustment : function(bidCpm){\r\n          return bidCpm * .10;}\r\n      }\r\n    };\r\n\r\nTest page:\r\nhttp://www.flixxy.com/prebid-brealtime-bidadjustment-test.htm?pbjs_debug=true\r\n "},"comment":{"url":"https://api.github.com/repos/prebid/Prebid.js/issues/comments/259838633","html_url":"https://github.com/prebid/Prebid.js/issues/786#issuecomment-259838633","issue_url":"https://api.github.com/repos/prebid/Prebid.js/issues/786","id":259838633,"user":{"login":"headerbidding","id":16692770,"avatar_url":"https://avatars.githubusercontent.com/u/16692770?v=3","gravatar_id":"","url":"https://api.github.com/users/headerbidding","html_url":"https://github.com/headerbidding","followers_url":"https://api.github.com/users/headerbidding/followers","following_url":"https://api.github.com/users/headerbidding/following{/other_user}","gists_url":"https://api.github.com/users/headerbidding/gists{/gist_id}","starred_url":"https://api.github.com/users/headerbidding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/headerbidding/subscriptions","organizations_url":"https://api.github.com/users/headerbidding/orgs","repos_url":"https://api.github.com/users/headerbidding/repos","events_url":"https://api.github.com/users/headerbidding/events{/privacy}","received_events_url":"https://api.github.com/users/headerbidding/received_events","type":"User","site_admin":false},"created_at":"2016-11-10T23:28:17Z","updated_at":"2016-11-10T23:28:17Z","body":"Actually, I just isolated the problem by renaming 152media to one52media.\r\nIt has nothing to do with the type.\r\n\r\nIt lookis like that the bidCpmAdjustment for bRealtime overrides the bidCpmAdjustment for one52media (or 152media)\r\n\r\ntest pages:\r\none52media only, bidadjustment works fine\r\nhttp://www.flixxy.com/prebid-one52media-no-brealtime.htm?pbjs_debug=true \r\n\r\nHere the 0.9 bidadjustment for brealtime overrides the 0.1 bidajustment of one52media:\r\nhttp://www.flixxy.com/prebid-one52media.htm?pbjs_debug=true\r\n\r\n"}}
{"actor":{"display_login":"headerbidding"}}