---
title: "Get a template banner's property values"
type: reference
method: GET
path: /rest-api/banner/{bannerId}/template-properties.do
tag: "Banners"
---

# Get a template banner's property values

`GET https://YOUR-NETWORK-DOMAIN/rest-api/banner/{bannerId}/template-properties.do`

Returns the template of a TEMPLATE banner (templateId, templateName, active) and each of its properties in the template's order: key (the $$KEY$$ the template uses), title, type (STRING, INTEGER, BOOLEAN, SELECT, PLACEMENT_KEY, FILE, HTML5_ZIP), required, readonly and the banner's current value, with the type's own details - min/max/step for INTEGER, isUrl/multiline for STRING, options [{value, name}] for SELECT (send the option's value), checked for BOOLEAN, and for FILE / HTML5_ZIP the stored file's fileName and fileUrl only. editable says whether the caller may change them: it needs UPDATE on the banner's advertiser and, while the template is inactive, the UPDATE_PROPERTIES_OF_INACTIVE_TEMPLATE permission. Requires VIEW permission on the banner's advertiser.

## Path params

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `bannerId` | integer | yes | `3001` | ID of the TEMPLATE banner |

## Responses

- `200` — The template and its properties with the banner's values
- `400` — The banner is not a TEMPLATE banner
- `401` — Authentication error
- `403` — Not enough permissions
- `404` — Banner not found or deleted

## Example request

```bash
curl --request GET \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/banner/3001/template-properties.do' \
  --header 'X-Api-Key: YOUR_API_KEY'
```

Source: https://epom.com/ad-server/docs/api/banners/get-banner-template-properties