Inputs
SelectItem
Output
Type:Dict
Returns the shareable preview URL and its expiry.
Fields: preview_url, snapcode_url, creative_id, ad_id, expires_at, creative_preview_linkDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Generates a shareable Snap-hosted preview URL and scannable Snapcode for an ad or creative, valid 90 days with no login
| App | Snapchat Ads |
| Operation ID | snapchat_ads_generate_ad_preview |
| Type | Action |
| Connection | snapchat_ads (required) |
| Credits per run | 1 |
| Agent / MCP tool | Yes |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
account | DynamicAccount | Yes | - | Select the Snapchat Ads account that owns the ad or creative. |
ad_id | string or SelectItem | No | - | Snapchat ad ID to preview; its creative is resolved automatically. Provide ad_id or creative_id, not both. |
creative_id | string or SelectItem | No | - | Snapchat creative ID to preview directly. Provide ad_id or creative_id, not both. |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
value | string | Yes | - | The value of the selectable item. |
label | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. |
Dict
Returns the shareable preview URL and its expiry.
Fields: preview_url, snapcode_url, creative_id, ad_id, expires_at, creative_preview_link