Browse the help center

Get a template banner's property values

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, wit

Reference
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

bannerId integer required

ID of the TEMPLATE banner

3001

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

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.