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 Isaac Dettman committed Nov 12, 2018
1 parent e9af5e2 commit af08311
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 @@ -103,6 +103,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);

0 comments on commit af08311

Please sign in to comment.