Skip to content

Commit

Permalink
Adding user sync method for IFRAME and Pixel (prebid#3232)
Browse files Browse the repository at this point in the history
* Submitting EMX Digital Prebid Adapter

Submitting EMX Digital Prebid Adapter code

* fixing lint errors. updating our md

* updating to const/let variables. adding test spec.

* fixed linting on test spec js

* adding emx usersync methods
  • Loading branch information
EMXDigital authored and Pedro López Jiménez committed Mar 18, 2019
1 parent d4e25e2 commit af66f1f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions modules/emx_digitalBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,22 @@ export const spec = {
});
}
return emxBidResponses;
},
getUserSyncs: function (syncOptions) {
const syncs = [];
if (syncOptions.iframeEnabled) {
syncs.push({
type: 'iframe',
url: '//biddr.brealtime.com/check.html'
});
}
if (syncOptions.pixelEnabled) {
syncs.push({
type: 'image',
url: '//edba.brealtime.com/'
});
}
return syncs;
}
};
registerBidder(spec);
Expand Down

0 comments on commit af66f1f

Please sign in to comment.