> ## 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 Single Image Ad

> Creates a Pinterest single image ad by first creating a Pin, then creating an ad from that Pin

Creates a Pinterest single image ad by first creating a Pin, then creating an ad from that Pin. By default the Pin is ad-only and the ad is created paused. Set pin\_only=true to create only the Pin. For video ads use pinterest\_ads\_create\_video\_ad, for carousels pinterest\_ads\_create\_carousel\_ad, and to promote an existing Pin use pinterest\_ads\_create\_ad\_from\_pin.

|                       |                                        |
| --------------------- | -------------------------------------- |
| **App**               | Pinterest Ads                          |
| **Operation ID**      | `pinterest_ads_create_single_image_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 Pin and ad in.                                                                                                                                                                                                                                                                                                      |
| `update_type`             | string or SelectableOption                    | Yes      | -                                        | Choose whether to create a single ad or multiple ads 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.                                                                                                                                                                                                                                                                                     |
| `image_url`               | string                                        | No       | -                                        | Image to use for the Pin/ad. Accepts a direct image URL, Google Drive share link (set to 'Anyone with the link'), or Markifact uploaded image.                                                                                                                                                                                                                 |
| `pin_title`               | string                                        | No       | -                                        | Title for the Pinterest Pin. Up to 100 characters.                                                                                                                                                                                                                                                                                                             |
| `pin_description`         | string                                        | No       | -                                        | Description for the Pinterest Pin. Up to 800 characters.                                                                                                                                                                                                                                                                                                       |
| `alt_text`                | string                                        | No       | -                                        | Alt text for accessibility. Up to 500 characters.                                                                                                                                                                                                                                                                                                              |
| `destination_url`         | string                                        | No       | -                                        | Landing page URL for the Pin and ad click-through.                                                                                                                                                                                                                                                                                                             |
| `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 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.                                                                                                                                                                                                                                                                                                                  |
| `android_deep_link`       | string                                        | No       | -                                        | Optional Android deep link URL.                                                                                                                                                                                                                                                                                                                                |
| `ios_deep_link`           | string                                        | No       | -                                        | Optional iOS deep link 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. Required columns: image\_url, destination\_url, pin\_title or pin\_description, plus ad\_group\_id and ad\_name unless pin\_only is true. Optional columns: board\_id, ad\_only\_pin, pin\_only, ad\_status, alt\_text, call\_to\_action, click\_tracking\_url, view\_tracking\_url, android\_deep\_link, ios\_deep\_link. |

### 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`
