Skip to content

Commit af66f1f

Browse files
EMXDigitalPedro López Jiménez
authored andcommitted
Adding user sync method for IFRAME and Pixel (prebid#3232)
* 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
1 parent d4e25e2 commit af66f1f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

modules/emx_digitalBidAdapter.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,22 @@ export const spec = {
248248
});
249249
}
250250
return emxBidResponses;
251+
},
252+
getUserSyncs: function (syncOptions) {
253+
const syncs = [];
254+
if (syncOptions.iframeEnabled) {
255+
syncs.push({
256+
type: 'iframe',
257+
url: '//biddr.brealtime.com/check.html'
258+
});
259+
}
260+
if (syncOptions.pixelEnabled) {
261+
syncs.push({
262+
type: 'image',
263+
url: '//edba.brealtime.com/'
264+
});
265+
}
266+
return syncs;
251267
}
252268
};
253269
registerBidder(spec);

0 commit comments

Comments
 (0)