Skip to content

Commit

Permalink
FID-287: Update Reconciliation RTD delivery id format (prebid#6343)
Browse files Browse the repository at this point in the history
  • Loading branch information
vfedoseev authored and seergiioo6 committed Mar 23, 2021
1 parent 4bfc62a commit 1f19794
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 1f19794

Please sign in to comment.