Skip to content

Commit

Permalink
Add pixel size (#892)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexStanovsky authored and jaiminpanchal27 committed Jan 12, 2017
1 parent 3ec356f commit 8ecfdb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/adapters/memeglobal.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ var MemeGlobalAdapter = function MemeGlobalAdapter() {
bidResponse.placementCode = placementCode;
bidResponse.size = bidRequested.sizes;
var responseAd = bidderBid.adm;
var responseNurl = '<img src="' + bidderBid.nurl + '">';
var responseNurl = '<img src="' + bidderBid.nurl + '" height="0px" width="0px">';
bidResponse.creative_id = bidderBid.id;
bidResponse.bidderCode = bidderName;
bidResponse.cpm = responseCPM;
Expand Down
2 changes: 1 addition & 1 deletion test/spec/adapters/memeglobal_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ describe('memeglobal adapter tests', function () {
expect(bidObject1.cpm).to.equal(0.09);
expect(bidObject1.height).to.equal(250);
expect(bidObject1.width).to.equal(300);
expect(bidObject1.ad).to.equal('ad-code<img src="http://url">');
expect(bidObject1.ad).to.equal('ad-code<img src="http://url" height="0px" width="0px">');

stubAddBidResponse.calledThrice;

Expand Down

0 comments on commit 8ecfdb2

Please sign in to comment.