# meta_update_dataset_settings

> Change the settings of a pixel (dataset): automatic advanced matching and its fields, first-party cookie, data use setting, or its name.

[Documentation](https://www.getmcpads.com/docs) / [Sources](https://www.getmcpads.com/docs/sources) / [Meta Ads](https://www.getmcpads.com/docs/sources/meta-ads)

Change the settings of a pixel (dataset): automatic advanced matching and its fields, first-party cookie, data use setting, or its name. Sends no event and installs no code. Preview by default; no automatic retry; ownership checked before any write.

> **Warning** This tool changes the account. It is absent from the tool list on the Free plan, and it previews by default: without `confirm: true` it describes the change and applies nothing.

|  |  |
| --- | --- |
| Source | [Meta Ads](https://www.getmcpads.com/docs/sources/meta-ads) |
| Kind | Write |
| Discovery | Reachable through `search_tools` and `run_write_tool` |
| Account parameter | `adAccountId` |
| Endpoint | https://mcp.getmcpads.com/meta-ads/mcp |

## Parameters

| Name | Type | Required | Notes |
| --- | --- | --- | --- |
| `adAccountId` | string | Required | Ad account ID (with or without act_) that owns every referenced object. |
| `pixelId` | string | Required | Pixel (dataset) ID connected to the ad account or owned by its Business. |
| `name` | string | Optional | Exact business name to give this object. Do not derive it from an uploaded filename. |
| `enableAutomaticMatching` | boolean | Optional | enableAutomaticMatching. |
| `automaticMatchingFields` | array | Optional | automaticMatchingFields. |
| `firstPartyCookieStatus` | string | Optional | firstPartyCookieStatus. One of: `FIRST_PARTY_COOKIE_ENABLED`, `FIRST_PARTY_COOKIE_DISABLED`. |
| `dataUseSetting` | string | Optional | dataUseSetting. One of: `ADVERTISING_AND_ANALYTICS`, `ANALYTICS_ONLY`. |
| `confirm` | boolean | Optional | true applies. Default: a local preview, nothing changed. |
| `validateOnly` | boolean | Optional | Meta validates only; nothing changes. Not with confirm. |

## Calling it

Through run_write_tool, since it is not announced

```json
{
  "name": "run_write_tool",
  "arguments": {
    "name": "meta_update_dataset_settings",
    "args": {
      "adAccountId": "<string>",
      "pixelId": "<string>"
    }
  }
}
```

- [Meta Ads metrics](https://www.getmcpads.com/docs/sources/meta-ads/metrics): What you can ask for.
- [Meta Ads dimensions](https://www.getmcpads.com/docs/sources/meta-ads/dimensions): How you can break it down.

---

This page as HTML: https://www.getmcpads.com/docs/sources/meta-ads/tools/meta_update_dataset_settings
Every page under /docs is available as Markdown: append `.md`, or send `Accept: text/markdown`.
