> ## 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 Carousel Ad

> Creates a Pinterest carousel ad from 2 to 5 images by creating a carousel Pin, then creating an ad from that Pin

Creates a Pinterest carousel ad from 2 to 5 images by creating a carousel Pin, then creating an ad from that Pin. Per-card links become carousel destination URLs. By default the Pin is ad-only and the ad is created paused.

|                       |                                    |
| --------------------- | ---------------------------------- |
| **App**               | Pinterest Ads                      |
| **Operation ID**      | `pinterest_ads_create_carousel_ad` |
| **Type**              | Action                             |
| **Connection**        | `pinterest_ads` (required)         |
| **Credits per run**   | 2                                  |
| **Agent / MCP tool**  | Yes                                |
| **Requires approval** | Yes (write operation)              |

## Inputs

| Field                     | Type                                          | Required | Default                                  | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ------------------------- | --------------------------------------------- | -------- | ---------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `account`                 | DynamicAccount                                | Yes      | -                                        | Select Pinterest Ads account to create the carousel Pin and ad in.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `update_type`             | string or SelectableOption                    | Yes      | -                                        | Choose whether to create a single carousel ad or multiple at once. Options: single or bulk.                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `ad_group_id`             | string or SelectItem                          | No       | -                                        | Pinterest ad group ID to create the ad under. Required unless pin\_only is true.                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `ad_name`                 | string                                        | No       | -                                        | Name of the Pinterest ad. Required unless pin\_only is true.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `ad_status`               | string or SelectableOption                    | No       | `{'value': 'PAUSED', 'label': 'Paused'}` | Status when the ad is created. Options: ACTIVE or PAUSED. Default: PAUSED.                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `cards`                   | array of object or string                     | No       | -                                        | Single mode only. JSON list of 2 to 5 carousel cards. Each card: image\_url (required; direct URL, Google Drive share link set to 'Anyone with the link', or Markifact uploaded image), and optional title, description, and link (per-card destination URL). Example: \[\{"image\_url": "`https://example.com/a.jpg`", "title": "Card A", "link": "`https://example.com/a`"}, \{"image\_url": "`https://example.com/b.jpg`"}]                                                                                                                      |
| `pin_title`               | string                                        | No       | -                                        | Title for the carousel Pin. Up to 100 characters.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `pin_description`         | string                                        | No       | -                                        | Description for the carousel Pin. Up to 800 characters.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `destination_url`         | string                                        | No       | -                                        | Fallback landing page URL for the Pin and ad. Per-card links override it.                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `board_id`                | string or SelectItem                          | No       | -                                        | Board ID to save the Pin to. Required only when ad\_only\_pin is false.                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `ad_only_pin`             | boolean                                       | No       | `True`                                   | Create the Pin as ad-only so it does not appear organically. Default true.                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `pin_only`                | boolean                                       | No       | `False`                                  | Create only the Pinterest carousel Pin and skip ad creation. Default false.                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `call_to_action`          | string or SelectableOption                    | No       | -                                        | Optional Pinterest customizable CTA type, for example LEARN\_MORE, SHOP\_NOW, SIGN\_UP.                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `click_tracking_url`      | string                                        | No       | -                                        | Optional third-party click tracking URL.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `view_tracking_url`       | string                                        | No       | -                                        | Optional third-party impression tracking URL.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `return_detailed_results` | boolean                                       | No       | `False`                                  | Bulk mode only. If true, returns per-row results and does not raise on partial failures.                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `structured_data`         | array (also accepts a comma-separated string) | No       | -                                        | Use only when update\_type is bulk. Each row is one carousel ad. Required columns: card\_1\_image\_url, card\_2\_image\_url, destination\_url, pin\_title or pin\_description, plus ad\_group\_id and ad\_name unless pin\_only is true. Optional columns: card\_3\_image\_url to card\_5\_image\_url, card\_N\_title, card\_N\_description, card\_N\_link, board\_id, ad\_only\_pin, pin\_only, ad\_status, call\_to\_action, click\_tracking\_url, view\_tracking\_url. If any card\_N field is set, that card's card\_N\_image\_url is required. |

### SelectItem

| 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. |

### SelectableOption

| Field   | Type   | Required | Default | Description |
| ------- | ------ | -------- | ------- | ----------- |
| `value` | string | Yes      | -       |             |
| `label` | string | Yes      | -       |             |

## Output

**Type**: `Dict`

Returns created Pinterest ad IDs and Pin IDs.

**Fields**: `ad_ids`, `pin_ids`, `created_count`
