> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Dynamic Template

> Creates an account-scoped Snapchat Dynamic Template from a raw API payload

Creates an account-scoped Snapchat Dynamic Template from a raw API payload. Use its dynamic\_template\_id when creating Dynamic Product Ad or Dynamic Collection creatives.

| | |
| - | - |
| **App** | Snapchat Ads |
| **Operation ID** | `snapchat_ads_create_dynamic_template` |
| **Type** | Action |
| **Connection** | `snapchat_ads` (required) |
| **Credits per run** | 1 |
| **Agent / MCP tool** | Yes |
| **Requires approval** | Yes (write operation) |

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account to create the template in. |
| `dynamic_template_payload` | object or string | Yes | - | Raw Snapchat Dynamic Template object, sent to POST /adaccounts/\{ad\_account\_id}/dynamic\_templates. Provide the template fields without the outer dynamic\_templates array. ad\_account\_id is filled in automatically. Snapchat validates the template fields. Example: \{"name": "Catalog Template", "ios\_url": "`https://ads-interfaces.sc-cdn.net/adformats/templates/V2/index.html`", "android\_url": "`https://ads-interfaces.sc-cdn.net/adformats/templates/V2/index.html`", "layout": "FILL\_WIDTH", "text\_fields": \["title", "price"]} |

## Output

**Type**: `Dict`

Returns the created Snapchat Dynamic Template.

**Fields**: `dynamic_template_id`, `dynamic_template_name`, `ad_account_id`, `dynamic_template`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.