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

> Low-level LinkedIn Ads ad set update

Low-level LinkedIn Ads ad set update. Forwards a raw LinkedIn campaign partial-update body to adCampaigns as-is. Use the dedicated status/budget/rename nodes first; this is the advanced fallback for fields without one. In LinkedIn's API these are campaigns; LinkedIn's newer UI naming calls them ad sets.

|                       |                             |
| --------------------- | --------------------------- |
| **App**               | LinkedIn Ads                |
| **Operation ID**      | `linkedin_ads_update_adset` |
| **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      | -       | Select the LinkedIn Ads account that owns the ad set.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `adset_id`       | string or SelectItem | Yes      | -       | The ad set to update. In LinkedIn's API this is a campaign (adCampaigns). The id goes in the request path, not in update\_payload.                                                                                                                                                                                                                                                                                                                                                                                                           |
| `update_payload` | object or string     | Yes      | -       | Raw LinkedIn campaign (ad set) partial-update body, sent to LinkedIn as-is. Use LinkedIn's documented shape: \{"patch": \{"$set": \{...}, "$delete": \[...]}}. Prefer the dedicated nodes when they exist (linkedin\_ads\_update\_adset\_status, linkedin\_ads\_update\_adset\_budget, linkedin\_ads\_rename\_adset). For budgets you must include the full amount object, e.g. \{"\$set": \{"dailyBudget": \{"amount": "50", "currencyCode": "USD"}}} -- this node does not resolve currency for you. Accepts a JSON object or JSON string. |
| `dry_run`        | boolean              | No       | `False` | When true, return the resolved update body without calling LinkedIn.                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |

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

## Output

**Type**: `Dict`

Returns the ad set id, the forwarded payload, and LinkedIn's response.

**Fields**: `adset_id`, `payload`, `dry_run`, `response`
