Skip to main content
Glama

Meta Ads MCP

by pipeboard-co

get_campaign_details

Retrieve campaign-specific details such as ID, name, objective, and status from Meta Ads. Customize the fields parameter to include additional data like effective_status or source_campaign_id for deeper insights.

Instructions

Get detailed information about a specific campaign.

Note: This function requests a specific set of fields ('id,name,objective,status,...'). 
The Meta API offers many other fields for campaigns (e.g., 'effective_status', 'source_campaign_id', etc.) 
that could be added to the 'fields' parameter in the code if needed.

Args:
    access_token: Meta API access token (optional - will use cached token if not provided)
    campaign_id: Meta Ads campaign ID

Input Schema

NameRequiredDescriptionDefault
access_tokenNo
campaign_idNo

Input Schema (JSON Schema)

{ "properties": { "access_token": { "default": null, "title": "Access Token", "type": "string" }, "campaign_id": { "default": null, "title": "Campaign Id", "type": "string" } }, "title": "get_campaign_detailsArguments", "type": "object" }

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/pipeboard-co/meta-ads-mcp'

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