Skip to content

Commit

Permalink
Bug fix: bids served by secure creatives does not get pushed into _wi…
Browse files Browse the repository at this point in the history
…nningBids (#1192)
  • Loading branch information
canyousayyes authored and Nate Cozi committed May 16, 2017
1 parent 2485377 commit ecc4f33
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/secure-creatives.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ function receiveMessage(ev) {

if (data.message === 'Prebid Request') {
sendAdToCreative(adObject, data.adServerDomain, ev.source);

//save winning bids
$$PREBID_GLOBAL$$._winningBids.push(adObject);

events.emit(BID_WON, adObject);
}
}
Expand Down

0 comments on commit ecc4f33

Please sign in to comment.