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

> Creates TikTok image spark ads (native TikTok ads), supports single image or carousel format for all campaign types: manual, smart+, search, etc

Creates TikTok image spark ads (native TikTok ads), supports single image or carousel format for all campaign types: manual, smart+, search, etc.

|                       |                              |
| --------------------- | ---------------------------- |
| **App**               | TikTok Ads                   |
| **Operation ID**      | `tiktok_ads_create_image_ad` |
| **Type**              | Action                       |
| **Connection**        | `tiktok_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 TikTok Ads account (advertiser) to create ads 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       | -       | Select the TikTok ad group for this ad. Required for single ad creation.                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `identity_id`                   | string or SelectItem                          | Yes      | -       | TikTok identity ID to use for the ads. Required for single and bulk ad creation. For this post ad operation, use a TikTok account identity (TT\_USER) or a Business Center authorized TikTok identity (BC\_AUTH\_TT). Only provide the id, Markifact resolves the type automatically. Use the `tiktok_ads_list_identities` operation to find identity IDs user has access to.                                                                                                              |
| `music_id`                      | string                                        | No       | -       | Single mode only. TikTok music ID to use for the image ad. Required for TikTok image ads. Use a music ID from TikTok's available music API or from an existing TikTok ad returned by ad/get.                                                                                                                                                                                                                                                                                               |
| `ad_name`                       | string                                        | No       | -       | Name of the ad                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `image_urls`                    | string or array of string                     | No       | -       | Image URLs to upload for this ad. Provide 1-35 images. One image creates a single image ad; multiple images create a carousel image ad. Supports direct image URLs and Google Drive share links.                                                                                                                                                                                                                                                                                           |
| `image_ids`                     | string or array of string                     | No       | -       | Optional existing TikTok image IDs. Provide 1-35 IDs to skip uploading image\_urls.                                                                                                                                                                                                                                                                                                                                                                                                        |
| `ad_texts`                      | string or array of string                     | No       | -       | TikTok ad texts. Manual ad groups support 1 text; Smart+ ad groups support up to 5 texts. Each text must be 100 characters or fewer.                                                                                                                                                                                                                                                                                                                                                       |
| `call_to_action`                | string or SelectableOption                    | No       | -       | TikTok call to action, for example LEARN\_MORE, SHOP\_NOW, SIGN\_UP, CONTACT\_US, DOWNLOAD.                                                                                                                                                                                                                                                                                                                                                                                                |
| `landing_page_url`              | string                                        | No       | -       | Landing page URL people open after clicking the ad. You can include UTM parameters, for example ?utm\_source=tiktok\&utm\_id=**CAMPAIGN\_ID**\&utm\_campaign=**CAMPAIGN\_NAME**\&utm\_medium=paid. For app download campaigns, provide the app store URL. Optional when page\_id is provided.                                                                                                                                                                                              |
| `page_id`                       | string                                        | No       | -       | Optional TikTok page ID, such as an instant page, lead form, or other TikTok-hosted page. When provided, landing\_page\_url is optional and will not be sent to TikTok. Use the `tiktok_ads_list_pages` operation to find page IDs of any account.                                                                                                                                                                                                                                         |
| `tracking_pixel_id`             | integer or string                             | No       | -       | Optional TikTok tracking pixel ID. Usually inherited from the ad group for supported objectives; provide it manually if needed.                                                                                                                                                                                                                                                                                                                                                            |
| `tracking_app_id`               | string                                        | No       | -       | Optional TikTok tracking app ID. Usually inherited from the ad group for supported objectives; provide it manually if needed.                                                                                                                                                                                                                                                                                                                                                              |
| `disable_creative_enhancements` | boolean                                       | No       | `True`  | Single mode only. Disable TikTok automatic creative enhancements. Default: true.                                                                                                                                                                                                                                                                                                                                                                                                           |
| `is_dark_post`                  | boolean                                       | No       | `True`  | Whether this ad should show as an ad only and not on your TikTok profile, otherwise, they will appear on your profile for anyone to see and engage with. Default: true which means `Only show as ads`.                                                                                                                                                                                                                                                                                     |
| `ad_status`                     | string or SelectableOption                    | No       | -       | Status when the ad is created. Options: ENABLE, DISABLE. Default: DISABLE.                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `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: ad\_group\_id, ad\_name, music\_id, ad\_texts or ad\_text\_1/ad\_text\_2 numbered columns, landing\_page\_url or page\_id, and images. Images can be provided as image\_urls/image\_ids lists, or numbered columns like image\_1\_url, image\_2\_url. Optional row columns: page\_id, call\_to\_action, tracking\_pixel\_id, tracking\_app\_id, disable\_creative\_enhancements, is\_dark\_post, ad\_status, or operation\_status. |

### 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 TikTok ad IDs, uploaded image IDs, created count, and creative details.

**Fields**: `ad_ids`, `image_ids`, `created_count`
