Skip to content

Commit

Permalink
added last commit data
Browse files Browse the repository at this point in the history
  • Loading branch information
pm-azhar-mulla authored and pm-azhar-mulla committed Aug 30, 2022
1 parent 7112bed commit 4cfcc91
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/pubmaticBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -1163,6 +1163,9 @@ export const spec = {
payload.device = Object.assign(payload.device, config.getConfig('device'));
}

// update device.language to ISO-639-1-alpha-2 (2 character language)
payload.device.language = payload.device.language && payload.device.language.split('-')[0];

// passing transactionId in source.tid
deepSetValue(payload, 'source.tid', conf.transactionId);

Expand Down

0 comments on commit 4cfcc91

Please sign in to comment.