Export template as XML
Exports a creative template as an XML file download.
https://YOUR-NETWORK-DOMAIN/rest-api/template/export.do Exports a creative template as an XML file download. The XML includes the full template definition with content, properties, and files metadata. Requires VIEW permission on the template.
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
XML file download
400
Bad request — invalid or missing parameters
401
Authentication error
403
Insufficient permissions