Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admixer adapter update - add deal id #6042

Merged
merged 16 commits into from
Dec 1, 2020
Prev Previous commit
Next Next commit
remove comments
  • Loading branch information
Galphimbl committed Nov 24, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit ee38d00103bdac380ab88a64f6362ccb95c7f245
12 changes: 0 additions & 12 deletions modules/admixerBidAdapter.js
Original file line number Diff line number Diff line change
@@ -51,7 +51,6 @@ export const spec = {
*/
interpretResponse: function (serverResponse, bidRequest) {
const bidResponses = [];
// loop through serverResponses {
try {
const {body: {ads = []} = {}} = serverResponse;
ads.forEach((bidResponse) => {
@@ -85,17 +84,6 @@ export const spec = {
frm.forEach((url) => pixels.push({type: 'iframe', url}));
}
});
// if (syncOptions.iframeEnabled && serverResponses.length > 0) {
// const account = serverResponses[0].account;
// if (account) {
// let syncurl = USER_SYNC_BASE_URL + '?account=' + account;
// if (gdprConsent) {
// syncurl += '&gdpr=' + (gdprConsent.gdprApplies ? 1 : 0);
// syncurl += '&consentString=' + encodeURIComponent(gdprConsent.consentString || '');
// }
// return [{type: 'iframe', url: syncurl}];
// }
// }
return pixels;
}
};