Skip to content

Commit

Permalink
FID-287: Update Reconciliation RTD delivery id format (#6343)
Browse files Browse the repository at this point in the history
  • Loading branch information
vfedoseev authored Feb 23, 2021
1 parent f2e0b38 commit 949ce73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/reconciliationRtdProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function handleAdMessage(e) {
adDeliveryId = adSlot.getTargeting('RSDK_ADID');
adDeliveryId = adDeliveryId.length
? adDeliveryId[0]
: utils.generateUUID();
: `${utils.timestamp()}-${utils.generateUUID()}`;
}
}
}
Expand Down Expand Up @@ -246,7 +246,7 @@ function getReconciliationData(adUnitsCodes) {

const adSlot = getSlotByCode(adUnitCode);
const adUnitId = adSlot ? adSlot.getAdUnitPath() : adUnitCode;
const adDeliveryId = utils.generateUUID();
const adDeliveryId = `${utils.timestamp()}-${utils.generateUUID()}`;

dataToReturn[adUnitCode] = {
RSDK_AUID: adUnitId,
Expand Down

0 comments on commit 949ce73

Please sign in to comment.