Inputs
Output
Type:Dict
Returns the ad ID, the attached creative ID, and whether the replacement succeeded.
Fields: ad_id, creative_id, updatedDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Attaches an existing creative (by creative_id) to an existing ad (by ad_id), replacing whatever creative was attached before
| App | Meta Ads |
| Operation ID | meta_ads_replace_ad_creative |
| Type | Action |
| Connection | meta_ads (required) |
| Credits per run | 1 |
| Agent / MCP tool | Yes |
| Requires approval | Yes (write operation) |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
account | DynamicAccount | Yes | - | Select the Meta Ads account containing the existing ad you want to update. This is the final step of the edit-ad workflow. |
ad_id | string | Yes | - | The existing ad ID whose creative should be replaced. Use this after meta_ads_get_ad_creative and meta_ads_create_ad_creative when you want to keep the same ad but swap in a new creative. |
creative_id | string | Yes | - | The new creative ID to attach to the ad. In the edit-ad workflow this usually comes from meta_ads_create_ad_creative; it can also come from a create_*_ad operation run with creative_only=true, for example meta_ads_create_single_image_ad. |
Dict
Returns the ad ID, the attached creative ID, and whether the replacement succeeded.
Fields: ad_id, creative_id, updated