reuters-graphics / graphics-components

Graphics components for projects
https://reuters-graphics.github.io/graphics-components/
32 stars 4 forks source link

Update Ad params in alpha release on branch #143

Closed hobbes7878 closed 7 months ago

hobbes7878 commented 8 months ago

From ad tech.

Platform placementName Channel type graphicId adstest
Desktop reuters_desktop_leaderboard_atf /4735792/reuters.com/graphics leaderboard a dynamic value a dynamic value
Desktop reuters_desktop_native_1 /4735792/reuters.com/graphics native a dynamic value a dynamic value
Tablet/mobile reuters_mobile_leaderboard /4735792/reuters.com/graphics leaderboard a dynamic value a dynamic value
Tablet/mobile reuters_mobile_mpu_1 /4735792/reuters.com/graphics mpu a dynamic value a dynamic value
Desktop/Tablet/mobile reuters_sponsorlogo /4735792/reuters.com/graphics Sponsorlogo a dynamic value a dynamic value

"type", "graphicid" and "adstest" are custom parameters in ad requests.

"type" is a fixed value per placement. "grahpicId" is a unique identifier per graphic page. "adstest" is a freeform string that is appended after the URL for us to QA ads. ie, https://www.reuters.com/graphics/HEALTH-CORONAVIRUS/TEST/byvrklraape/?adtest=sponsortest, then the "adstest" value to pass is "sponsortest".
Once we confirm ads are working, some work will need to be done to hard-code the equivalent of what exists in PageBuilder.