# nats\_display\_account\_campaigns

*Article Topics:* [*Customization*](https://docs.toomuchmedia.com/getting-started/common-topics/customization)*,* [*Templates*](https://docs.toomuchmedia.com/getting-started/common-topics/templates)

Alias: display\_account\_campaigns

## Parameters

(*Required parameters in bold)*

| Parameter                                                                                                                                 | Description                                                      | Possible Values                | Default Value                                         | Example                |
| ----------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | ------------------------------ | ----------------------------------------------------- | ---------------------- |
| tpl                                                                                                                                       | Template used to display output                                  | Any valid template             | The template, *function\_display\_account\_campaigns* | tpl="mytemplate"       |
| show\_all                                                                                                                                 | Show deleted campaigns in addition to undeleted campaigns        | 0 or 1 (exclusive)             | 0. Does not show deleted campaigns                    | show\_all="1"          |
| [assign\_prefix](https://docs.toomuchmedia.com/nats-admin/skins-and-templates/further-reading/template-function-parameters/assign_prefix) | Prefix output variables with this word. (Click link for details) | Any valid Smarty variable name | *None.* (No prefix is used)                           | assign\_prefix="myvar" |
| [data\_only](https://docs.toomuchmedia.com/nats-admin/skins-and-templates/further-reading/template-function-parameters/data_only)         | Set variables but don't display the template                     | 1                              | *None.* The template is displayed.                    | data\_only=1           |

## Output

A list of the affiliate's campaigns. The list of campaigns is also stored in the Smarty variable, *$campaigns*.

## See Also

* [nats\_list\_campaigns](https://docs.toomuchmedia.com/nats-admin/skins-and-templates/further-reading/template-functions/nats_list_campaigns) -- Lists details about an affiliate's campaigns
* [nats\_display\_create\_campaign](https://docs.toomuchmedia.com/nats-admin/skins-and-templates/further-reading/template-functions/nats_display_account_campaigns) -- A form for an affiliate to create new campaigns
* [Affiliate Campaigns](https://docs.toomuchmedia.com/affiliate-area/affiliate-area/my-account/affiliate-campaigns)  -- The NATS default Campaigns Tab
