Browse the help center

Get template by ID

Returns the full details of a creative template including its metadata (title, placement type, active status, template type), the raw template content markup, the list of uploaded template files with checksums and content types, and all defined template properties with their configurations.

Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/template/edit.do

Returns the full details of a creative template including its metadata (title, placement type, active status, template type), the raw template content markup, the list of uploaded template files with checksums and content types, and all defined template properties with their configurations. The response also includes the caller's share type on the template (IS_OWNER, CAN_EDIT, or CAN_VIEW). Returns a notFound flag if the template does not exist. Requires VIEW permission on the template through ownership or sharing.

Query Params

id integer

ID of the template — omit on edit to create a new template; delete and export need it

12

active boolean

Whether the template is active

true

alwaysRedirect boolean

Whether the template always uses redirect mode for click tracking

false

content string

Template HTML/JS content body

<div>{{BANNER}}</div>

global boolean

Whether this is a global (system-wide) template

false

impressionRecordedByTemplate boolean

Whether impression tracking is handled by the template itself

false

maxRequiredNativeAdsAmount integer

Maximum number of native ads supported by this template

1

minRequiredNativeAdsAmount integer

Minimum number of native ads required by this template

1

placementType string

Placement type this template applies to

SITE_PLACEMENT

title string

Template title

Standard Banner 300x250

type string

Template type

GENERAL

Responses

200

Template details

400

Bad request — invalid or missing parameters

401

Authentication error

403

Insufficient permissions

404

Template not found

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.