Skip to content
Preview of the Display ad, leaderboard (728 × 90) template

728 × 90 px

Display ads

Display ad, leaderboard (728 × 90)

A 728 × 90 IAB leaderboard from the same campaign as the medium rectangle: brand mark, a one-line headline that shrinks to fit, price line, offer burst, product image and a call-to-action button, so one data feed renders a matching set of banner sizes.

PNG728 × 90 pxLocale en-GBCanvas

Opens Dynamic Document API with this template preloaded in a free workspace, in the canvas editor.

Features

  • Text that fits its box

How image templates are built is described in the canvas editor guide.

Dynamic properties

6 properties a render can set, sent flat in data. A property you leave out keeps its designed value.

KeyTypeExample
brand.textBrand · up to 24 charactersstring"OWLBROOK ROASTERS"
headline.textHeadline · up to 48 characters, longer text is shortenedstring"Fresh coffee, roasted every week"
price.textPrice line · up to 48 charactersstring"From £8.50 a bag, free delivery"
offer.textOffer · up to 18 charactersstring"1st bag ⏎ FREE"
cta.textButton text · up to 16 charactersstring"Subscribe →"
product.srcProduct image · https:// or data: URL, transparent PNG works beststringdesigned value

Render it with the API

After adding the template to your workspace, render it by ID and pass your data.

curl -X POST https://api-eu.dynamicdocumentapi.com/v1/renders \
  -H "Authorization: Bearer $DYNAMIC_DOCUMENT_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "type": "template",
    "template_id": "tpl_01J9ZK3M7Q8V5W2X4Y6Z8A0B1C"
  },
  "data": {
    "brand.text": "OWLBROOK ROASTERS",
    "headline.text": "Fresh coffee, roasted every week",
    "price.text": "From £8.50 a bag, free delivery",
    "offer.text": "1st bag\nFREE",
    "cta.text": "Subscribe →"
  },
  "output": {
    "format": "png",
    "filename": "display-ad-leaderboard.png"
  }
}'