Skip to content

Commit

Permalink
Merge pull request #88 from Eyevinn/feat/remove-index-from-ad-id
Browse files Browse the repository at this point in the history
feat: remove the index from ad id for easier identification
  • Loading branch information
Nfrederiksen authored Nov 15, 2024
2 parents 93b2d76 + b9f835c commit 0ea6d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/vast-maker.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ function AttachPodAds(vast, podAds, params) {
.attachCreatives()
.attachCreative({
id: `CRETIVE-ID_00${i + 1}`,
[adId]: `${podAds[i].id}_${i + 1}`,
[adId]: `${podAds[i].id}`,
sequence: `${i + 1}`,
});
if (vast.attrs.version === "4.0") {
Expand Down

0 comments on commit 0ea6d01

Please sign in to comment.