Skip to content

Commit

Permalink
Add liveblog-top ad sizes (#1440)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakeii authored Jun 26, 2024
1 parent f04203a commit 3249b47
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/five-crabs-sparkle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@guardian/commercial': patch
---

add `liveblog-top` ad sizes
6 changes: 6 additions & 0 deletions src/core/ad-sizes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ type SlotName =
| 'fronts-banner'
| 'im'
| 'inline'
| 'liveblog-top'
| 'merchandising-high'
| 'merchandising'
| 'mobile-sticky'
Expand Down Expand Up @@ -338,6 +339,11 @@ const slotSizeMappings = {
adSizes.fluid,
],
},
'liveblog-top': {
mobile: [adSizes.outOfPage, adSizes.empty, adSizes.mpu, adSizes.fluid],
tablet: [],
desktop: [],
},
'merchandising-high': {
mobile: [
adSizes.outOfPage,
Expand Down

0 comments on commit 3249b47

Please sign in to comment.