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

# Update Conversion

> Edit a LinkedIn Insight Tag conversion rule: rename it, change its attribution windows or value, replace its URL match rules, or disable it

Edit a LinkedIn Insight Tag conversion rule: rename it, change its attribution windows or value, replace its URL match rules, or disable it. LinkedIn has no delete for conversion rules, so disabling is how one is retired.

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

## Inputs

| Field                                  | Type                                                        | Required | Default | Description                                                                                                                                                                                       |
| -------------------------------------- | ----------------------------------------------------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `account`                              | DynamicAccount                                              | Yes      | -       | LinkedIn Ads account that owns the conversion rule.                                                                                                                                               |
| `conversion_id`                        | string or integer                                           | Yes      | -       | Numeric ID of the conversion rule to update. linkedin\_ads\_list\_conversions returns these.                                                                                                      |
| `name`                                 | string                                                      | No       | -       | New name for the conversion rule.                                                                                                                                                                 |
| `enabled`                              | boolean                                                     | No       | -       | Set false to stop the rule matching without removing it. LinkedIn has no delete for conversion rules, so this is how a rule is retired.                                                           |
| `url_rules`                            | string or array of any                                      | No       | -       | Replacement URL match rules, as JSON, in the same shape linkedin\_ads\_create\_conversion takes. This replaces the existing rules rather than adding to them. Leave empty to keep them unchanged. |
| `attribution_type`                     | enum (`LAST_TOUCH_BY_CAMPAIGN`, `LAST_TOUCH_BY_CONVERSION`) | No       | -       | Change how the conversion is counted across campaigns.                                                                                                                                            |
| `post_click_attribution_window_size`   | integer                                                     | No       | -       | Days after a click that still count, 1, 7 or 30.                                                                                                                                                  |
| `view_through_attribution_window_size` | integer                                                     | No       | -       | Days after a view that still count, 1, 7 or 30.                                                                                                                                                   |
| `value_amount`                         | number                                                      | No       | -       | New monetary value for one conversion. The currency follows the ad account.                                                                                                                       |
| `value_type`                           | enum (`DYNAMIC`, `FIXED`, `NO_VALUE`)                       | No       | -       | DYNAMIC uses the value sent per event, FIXED uses value\_amount, NO\_VALUE records none.                                                                                                          |

## Output

**Type**: `Dict`

Returns the conversion rule as it stands after the update.

**Fields**: `id`, `urn`, `name`, `type`, `enabled`, `attribution_type`, `url_match_rules`, `value`
