File tree Expand file tree Collapse file tree
dotcom-rendering/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -333,6 +333,19 @@ const ABTests: ABTest[] = [
333333 ] ,
334334 shouldForceMetricsCollection : true ,
335335 } ,
336+ {
337+ name : "commercial-article-end-header-bidding" ,
338+ description :
339+ "Test opening up the article-end ad slot in the US region for HeaderBidding" ,
340+ owners : [ "commercial.dev@guardian.co.uk" ] ,
341+ expirationDate : "2026-10-01" ,
342+ type : "client" ,
343+ status : "ON" ,
344+ audienceSize : 0 / 100 ,
345+ audienceSpace : "B" ,
346+ groups : [ "control" , "variant" ] ,
347+ shouldForceMetricsCollection : true ,
348+ } ,
336349] ;
337350
338351const activeABtests = ABTests . filter ( ( test ) => test . status === "ON" ) ;
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ type Props = {
5656
5757const slotStyles = css `
5858 color : ${ palette . neutral [ 7 ] } ;
59+ margin : 12px auto;
5960` ;
6061
6162const buildReaderRevenueEpicConfig = (
@@ -130,10 +131,9 @@ export const SlotBodyEnd = ({
130131 const [ asyncArticleCount , setAsyncArticleCount ] =
131132 useState < Promise < WeeklyArticleHistory | undefined > > ( ) ;
132133
133- const showPublicGood = countryCode === 'US' ;
134+ const isInUS = countryCode === 'US' ;
134135
135- const showArticleEndSlot =
136- renderAds && ! isLabs && showPublicGood && articleEndSlot ;
136+ const showArticleEndSlot = renderAds && ! isLabs && isInUS && articleEndSlot ;
137137
138138 useEffect ( ( ) => {
139139 setAsyncArticleCount (
@@ -238,7 +238,9 @@ export const SlotBodyEnd = ({
238238 new CustomEvent ( 'gu.commercial.slot.fill' , {
239239 detail : {
240240 slotId : 'dfp-ad--article-end' ,
241- additionalSizes : { mobile : [ adSizes . fluid ] } , // Public Good additional ad slot sizes
241+ additionalSizes : {
242+ mobile : [ adSizes . mpu ] ,
243+ } ,
242244 } ,
243245 } ) ,
244246 ) ;
You can’t perform that action at this time.
0 commit comments