Template: capi-multiple-hosted

Prod Native Style
Test Native Style
Preview in GAM
View test native style loaded from gam
View test native style on theguardian.com/uk

CAPI Multiple Hosted (Labs HostedBy)

A Guardian Labs "hosted content" ad showing multiple cards populated from the Content API (CAPI), with hosted-branding header.

Ownership

  • Primary owner: Comm Dev
  • Shared with: DAP
  • What they own: Template, styling, behaviour
  • Notes: Frontend changes may need DAP input

See .github/CODEOWNERS for automatic PR review assignment.

mobile size (360)

tablet size (740)

desktop size (980)

wide size (1300)

100% size (100%)

Variables

edit src/routes/templates/capi-multiple-hosted/variables.gam.ts to update the preview's variables
NameValue
SeriesURLadvertiser-content/we-are-still-in/we-are-still-in
BrandLogo
BrandColour#d90c1f
TrackingId
Article1Headline
Article1Image
Article1URL
Article2Headline
Article2Image
Article2URL
Article3Headline
Article3Image
Article3URL
Article4Headline
Article4Image
Article4URL
numberOfElements4