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

> Create an OpenAI Ads web conversion pixel

Create an OpenAI Ads web conversion pixel. Returns the source `id` to use in conversion event settings and the `pixel_id` to install on the website. Pixel management must be enabled for the ad account.

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

## Inputs

| Field  | Type   | Required | Default | Description                                 |
| ------ | ------ | -------- | ------- | ------------------------------------------- |
| `name` | string | Yes      | -       | Descriptive pixel name (3-1000 characters). |

## Output

**Type**: `Dict`

Returns the created pixel object exactly as returned by the OpenAI Ads API (id, name, client\_type, pixel\_id).

**Fields**: dynamic (depend on the inputs)

**Example**:

```json theme={"dark"}
{
  "id": "cds_...",
  "client_type": "web",
  "name": "Acme website",
  "pixel_id": "W9EP..."
}
```
