Skip to content
Get MCP Ads, home

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 Markdown

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.

Source
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

Parameters
NameTypeRequiredNotes
adAccountIdstringRequiredAd account ID (with or without act_) that owns every referenced object.
pixelIdstringRequiredPixel (dataset) ID connected to the ad account or owned by its Business.
namestringOptionalExact business name to give this object. Do not derive it from an uploaded filename.
enableAutomaticMatchingbooleanOptionalenableAutomaticMatching.
automaticMatchingFieldsarrayOptionalautomaticMatchingFields.
firstPartyCookieStatusstringOptionalfirstPartyCookieStatus. One of: FIRST_PARTY_COOKIE_ENABLED, FIRST_PARTY_COOKIE_DISABLED.
dataUseSettingstringOptionaldataUseSetting. One of: ADVERTISING_AND_ANALYTICS, ANALYTICS_ONLY.
confirmbooleanOptionaltrue applies. Default: a local preview, nothing changed.
validateOnlybooleanOptionalMeta validates only; nothing changes. Not with confirm.

Calling it

json · Through run_write_tool, since it is not announced
{
  "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.

Esc

Type to search