Skip to content

Commit 50a7cff

Browse files
EMXDigitalbretg
authored andcommitted
Adding user sync method for IFRAME and Pixel (#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 2863df1 commit 50a7cff

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
@@ -103,6 +103,22 @@ export const spec = {
103103
});
104104
}
105105
return emxBidResponses;
106+
},
107+
getUserSyncs: function (syncOptions) {
108+
const syncs = [];
109+
if (syncOptions.iframeEnabled) {
110+
syncs.push({
111+
type: 'iframe',
112+
url: '//biddr.brealtime.com/check.html'
113+
});
114+
}
115+
if (syncOptions.pixelEnabled) {
116+
syncs.push({
117+
type: 'image',
118+
url: '//edba.brealtime.com/'
119+
});
120+
}
121+
return syncs;
106122
}
107123
};
108124
registerBidder(spec);

0 commit comments

Comments
 (0)