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.
View as MarkdownChange 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.
- Source
- Meta Ads
- Kind
- Write
- Discovery
- Reachable through
search_toolsandrun_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_, FIRST_. |
dataUseSetting | string | Optional | dataUseSetting. One of: ADVERTISING_, 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
{
"name": "run_write_tool",
"arguments": {
"name": "meta_update_dataset_settings",
"args": {
"adAccountId": "<string>",
"pixelId": "<string>"
}
}
}Manage your ads from your AI assistant
Start for free
Free with 1 ad account, no card. Pro is free for 7 days.