We’ve migrated our documentation to a new site, which means some URLs have changed.
Audience

/widget/creative/template

Read creative templates.

The user must be authenticated and have read permissions to the site group.

Request

The request object has the following fields:

Name

Type

Required

Description

id

String

No*

Identifier for reading a single creative collection.

siteGroupId

String

No*

Site group identifier for reading all creative templates for a site group.

* Either id or siteGroupId must be provided, and these fields can not be combined.

Response

The response object has the following fields:

Name

Type

Description

templates

Array of Creative Template objects

The requested templates.

A Creative Template object has the following fields:

Name

Type

Description

id

String

Identifier for the creative template.

siteGroupId

String

The site group identifier the creative template belongs to.

name

String

The template name.

elements

Array of Element objects

The creative template elements.

Each Element has the following fields:

Name

Type

Description

type

String

The type of element, either image, text or url.

name

String

The descriptive name of the element.

required

Boolean

Whether this element is required or optional for the template.

When type is image, the element additionally has the following fields:

Name

Type

Description

width

Number

Integer width of the image.

height

Number

Integer height of the image.

Last updated: