Skip to content
Get MCP Ads, home

meta_create_flexible_ad

Create a PAUSED ad in Meta's flexible ad format: up to 10 images and videos per group with several primary texts, headlines and descriptions, and Meta picks…

View as Markdown

Create a PAUSED ad in Meta's flexible ad format: up to 10 images and videos per group with several primary texts, headlines and descriptions, and Meta picks the format (single image, video or carousel) per placement and person. Sales and App promotion campaigns only. Local preview by default. No automatic retry. Account ownership is checked before Meta validation or mutation.

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
adAccountIdstringRequiredSelected owning ad account ID, with or without act_. Every referenced ad object must belong to it.
adSetIdstringRequiredNumeric ID of the existing ad set in the selected account.
namestringRequiredExact business name to give this object. Do not derive it from an uploaded filename.
pageIdstringRequiredNumeric ID of the Facebook Page the ad runs as.
instagramUserIdstringOptionalInstagram account the ad runs as, when it should run on Instagram as that account.
groupsarrayRequiredCreative groups of the flexible ad format. Each group has at least one image or video, up to 5 texts of each kind, and its call to action. Meta chooses per placement and person how to show the assets.
urlTagsstringOptionalURL parameters appended to every link, without the leading question mark.
trackingSpecsarrayOptionalOptional native Meta tracking specifications. Do not supply credentials.
confirmbooleanOptionalApply only when true. Default is a local preview with no API mutation.
validateOnlybooleanOptionalAsk Meta to validate, without creating or changing an object. Mutually exclusive with confirm.

Calling it

json · Through run_write_tool, since it is not announced
{
  "name": "run_write_tool",
  "arguments": {
    "name": "meta_create_flexible_ad",
    "args": {
      "adAccountId": "<string>",
      "adSetId": "<string>",
      "name": "<string>",
      "pageId": "<string>",
      "groups": "<array>"
    }
  }
}

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