Template code editor
The template code editor is designed to help you verify and refine your template for optimal use when generating new experiences with GenStudio for Performance Marketing. The editor supports the Handlebars syntax, which uses placeholders within the template to indicate where GenStudio for Performance Marketing should generate content for you.
Check detected fields
The Check detected fields pane shows a list of fields that GenStudio for Performance Marketing recognizes in your template. Review the list, and you can scroll through the HTML code to look at the formation of your template.
If you notice that a field is missing from the list, search your template code and find the location for the missing field. Insert the correct placeholder using the Handlebars syntax and a recognized field name. Use the Find and Replace form, which appears at the bottom of the code editor, to search for specific strings in the code. (Windows CTRL
+F
or macOS CMD
+F
)
Make a correction
If there are errors in your template, you may see a Template is invalid
message that includes a brief explanation of the issue. In the following example, the message indicates that the _image
field does not conform to the field naming convention established in the multi-pod template. The message further advises that you need to update the field name with the correct prefix. Find the _image
field in the template code editor, and update the name as advised.
The Check detected fields pane updates to reflect the changes that you made. Once you are satisfied that the fields are correct and complete, click Next to continue uploading your template.
Common template issues and solutions
headline
, body
, image
cta
). Assign the image
field to a valid group in your template.image
field is required for certain template types, such as a Meta, display, or banner ad. Add the required image
field to your template.subject
or introductory_text
, are reserved. Rename fields that use reserved or prohibited names.