# Ad Tool Templates

*Article Topics:* [*Ad Tools*](/getting-started/common-topics/ad-tools.md)*,* [*Customization* ](/getting-started/common-topics/customization.md)

NATS offers the ability to edit each ad tool type to control the template that will be used to display it. This can be done through the [Ad Tools Admin](/nats-admin/ad-tools.md).

You can also override this setting in the *display\_adtools* or *nats\_display\_adtools* [Smarty ](/using-nats/one-off-articles/smarty.md)function call if you wish.

The following explains how to control the ad tool templates:

* Pass in *tpl=xx* to set the base template name.
* Pass in *view=yyy* to set the view.
  * This will append *\_cust\_yyy* to the base template name for custom ad tool types and will append *\_yyy* to the base template name for ad tool types that are already built into NATS.

Passing in no *tpl* will result in NATS using the default template set for the ad tool type, while passing in no *view* will result in NATS using *\_min* for the ad tool type.

## Examples

In the following example, the default template for this ad tool ad tool type is "content":

### Custom Adtool Type

{display\_adtools ... tpl=my\_adtool\_type} Will display the template: my\_adtool\_type\_min

{display\_adtools ... tpl=my\_adtool\_type view=max} Will display the template: my\_adtool\_type\_cust\_max

{display\_adtools ...} Will display the template: function\_display\_adtools\_content\_min

{display\_adtools ... view=max} Will display the template: function\_display\_adtools\_cust\_max

### Built-in Ad Tool Types

{display\_adtools ... tpl=my\_adtool\_type} Will display the template: my\_adtool\_type\_min

{display\_adtools ... tpl=my\_adtool\_type view=max} Will display the template: my\_adtool\_type\_max

{display\_adtools ...} Will display the template: function\_display\_adtools\_content\_min

{display\_adtools ... view=max} Will display the template: function\_display\_adtools\_max

## Related Articles

{% content-ref url="/pages/19KJpY34OjHSgMfImyLn" %}
[Skins & Templates](/nats-admin/skins-and-templates.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.toomuchmedia.com/nats-admin/ad-tools/further-reading/ad-tool-templates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
