meta_ update_ flexible_ ad
Replace the creative groups of an existing ad in the flexible ad format (images, videos, texts and call to action).
View as MarkdownReplace the creative groups of an existing ad in the flexible ad format (images, videos, texts and call to action). The ad status is unchanged. 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_toolsandrun_write_tool - Account parameter
adAccountId- Endpoint
- https:/
/ mcp. getmcpads. com/ meta-ads/ mcp
Parameters
| Name | Type | Required | Notes |
|---|---|---|---|
adAccountId | string | Required | Selected owning ad account ID, with or without act_. Every referenced ad object must belong to it. |
adId | string | Required | Numeric ID of the existing ad to modify in the selected account. |
groups | array | Required | Creative 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. |
confirm | boolean | Optional | Apply only when true. Default is a local preview with no API mutation. |
validateOnly | boolean | Optional | Ask Meta to validate, without creating or changing an object. Mutually exclusive with confirm. |
Calling it
{
"name": "run_write_tool",
"arguments": {
"name": "meta_update_flexible_ad",
"args": {
"adAccountId": "<string>",
"adId": "<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.