Skip to content

Commit

Permalink
Smart: Prebid version legacy (#2395)
Browse files Browse the repository at this point in the history
* Added the adUrl in the bidObject in the response callback

* Added the test for the AdUrl

* add prebid version in bid request
  • Loading branch information
Spacedragoon authored and mkendall07 committed Apr 27, 2018
1 parent 36c5a21 commit 7e5b806
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/smartadserverBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ var SmartAdServer = function SmartAdServer() {
'tgt': encodeURIComponent(bid.params.target || ''),
'tag': bid.placementCode,
'sizes': bid.sizes.map(size => size[0] + 'x' + size[1]).join(','),
'async': 1
'async': 1,
'prebidVersion': '$prebid.version$'
};
adloader.loadScript(url.format(adCall));
}
Expand Down

0 comments on commit 7e5b806

Please sign in to comment.