Create a creative template.
The user must be authenticated and have write permissions to the site group.
Request
The request object has the following fields:
|
Name |
Type |
Required |
Description |
|---|---|---|---|
|
|
String |
Yes |
The site group identifier the creative template belongs to. |
|
|
String |
Yes |
The template name. |
|
|
Array of Element objects |
Yes |
The creative template elements. |
Each Element object has the following fields:
|
Name |
Type |
Required |
Description |
|---|---|---|---|
|
|
String |
Yes |
The type of element, either |
|
|
String |
Yes |
A name for the element. |
|
|
Boolean |
Yes |
Whether this element is required or optional for the template. |
When type is image, the element additionally has the following fields:
|
Name |
Type |
Required |
Description |
|---|---|---|---|
|
|
Number |
Yes |
Integer width of the image. |
|
|
Number |
Yes |
Integer height of the image. |
Response
The response object has the following fields:
|
Name |
Type |
Description |
|---|---|---|
|
|
String |
Identifier for the template. |