Skip to main content
Glama
EfrainTorres

ArmaVita Meta Ads MCP

clone_ad

Duplicate Meta ads to test variations or scale campaigns using Meta's Graph API copy functionality.

Instructions

Duplicate an ad using Meta's local Graph copy edge.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ad_idYes
meta_access_tokenNo
target_ad_set_idNo
name_suffixNo - Copy
clone_ad_creativeNo
new_creative_nameNo
new_statusNoPAUSED

Implementation Reference

  • The implementation of the clone_ad tool, which forwards the duplication request to the Meta Graph API via _forward_duplication_request.
    async def clone_ad(
        ad_id: str,
        meta_access_token: Optional[str] = None,
        target_ad_set_id: Optional[str] = None,
        name_suffix: Optional[str] = " - Copy",
        clone_ad_creative: bool = True,
        new_creative_name: Optional[str] = None,
        new_status: Optional[str] = "PAUSED",
    ) -> str:
        """Duplicate an ad using Meta's local Graph copy edge."""
        return await _forward_duplication_request(
            "ad",
            ad_id,
            meta_access_token,
            {
                "target_ad_set_id": target_ad_set_id,
                "name_suffix": name_suffix,
                "clone_ad_creative": clone_ad_creative,
                "new_creative_name": new_creative_name,
                "new_status": new_status,
            },
        )

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/EfrainTorres/armavita-meta-ads-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server