Skip to main content
Glama

Google Ads & Meta Ads

Meta: Create Campaign

meta_create_campaign

Create a Meta (Facebook/Instagram) ad campaign for traffic, awareness, engagement, or sales. The campaign, ad set, and ad are all created PAUSED — nothing spends until you run meta_activate_campaign. A sales campaign optimizes for website conversions and needs a Meta Pixel on the ad account; its conversion event is locked in at creation. Bidding defaults to lowest cost with no cap; bid_strategy sets a cost cap, a bid cap, or a minimum ROAS (sales campaigns optimizing for PURCHASE only). Change it later with meta_update_adset_bidding. destination WHATSAPP (engagement only) builds a click-to-WhatsApp ad that opens a chat with the Page's linked WhatsApp number.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "objective": "<objective>",
      "daily_budget": "<daily_budget>",
      "ad_text": "<ad_text>"
    },
    "name": "meta_create_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesCampaign name.
ad_textYesPrimary ad text / body copy.
age_maxNoMaximum audience age.
age_minNoMinimum audience age.
page_idNoFacebook Page id for the creative. Optional — the ad account's Page is used automatically when there is only one. See meta_list_pages.
headlineNoOptional headline.
link_urlNoDestination URL for the ad. Required unless destination is WHATSAPP.
pixel_idNoMeta Pixel id, OUTCOME_SALES only. Defaults to the account's pixel when it has exactly one.
countriesNoISO country codes. Default ["US"].
dsa_payorNoEU only: the person or organisation paying for the ads. Defaults to dsa_beneficiary.
image_urlNoCreative image URL: optional for a website ad, required with destination WHATSAPP. Must be a publicly reachable https JPEG or PNG — the image is uploaded to the ad account, not hotlinked.
objectiveYesCampaign objective. OUTCOME_SALES optimizes for pixel conversions on your site.
bid_amountNoCost or bid cap per result, for COST_CAP and LOWEST_COST_WITH_BID_CAP only. In the account's own currency (the currency field of gads_list_campaigns or meta_list_campaigns), not in dollars and not in minor units.
destinationNoWhere the ad sends people. WEBSITE (default) opens link_url. WHATSAPP (OUTCOME_ENGAGEMENT only) opens a WhatsApp chat with the Page's linked number, optimizes for conversations and uses the WHATSAPP_MESSAGE button; the Page must have WhatsApp connected in Meta Business Suite.
roas_targetNoMinimum ROAS for LOWEST_COST_WITH_MIN_ROAS, as a RATIO: pass 2.5 to mean 250% (2.50 of purchase value per 1 spent). Between 0.01 and 1000.
bid_strategyNoAd set bid strategy. LOWEST_COST_WITHOUT_CAP: Meta's default, the most results for the budget. COST_CAP: keeps the average cost per result near bid_amount. LOWEST_COST_WITH_BID_CAP: no auction bid above bid_amount. LOWEST_COST_WITH_MIN_ROAS: a minimum return on ad spend (roas_target); only on ad sets optimizing for PURCHASE, which are switched to optimize for purchase value. roas_target without bid_strategy means LOWEST_COST_WITH_MIN_ROAS.
daily_budgetYesDaily budget. In the account's own currency (the currency field of gads_list_campaigns or meta_list_campaigns), not in dollars and not in minor units.
ad_account_idNoMeta ad account to change: act_ id or exact account name. Required when you have several ad accounts — the stored default is never used for a change then.
call_to_actionNoOptional button on the ad. Omitted entirely when not set. The button always points at link_url. With destination WHATSAPP it is always WHATSAPP_MESSAGE.
dsa_beneficiaryNoEU only: the person or organisation the ads promote, shown to EU viewers under the Digital Services Act. Meta requires it when the ad set reaches an EU country and the ad account has no default advertiser. Ask the user for the exact name; never guess it.
conversion_eventNoPixel event to optimize for, OUTCOME_SALES only. Default PURCHASE. Cannot be changed after the ad set is created.

Output Schema

NameRequiredDescriptionDefault
adIdYesId of the ad created inside the ad set.
statusYesAlways PAUSED — nothing spends until meta_activate_campaign runs.
adSetIdYesId of the ad set created inside the campaign.
currencyNoISO currency code that every money field in this result is denominated in, e.g. UAH or USD. Null when it could not be resolved — do not assume a currency then.
campaignIdYesId of the campaign that was created.
dailyBudgetYesDaily budget set on the ad set. Amount in the account currency (see the currency field), e.g. 800.00 with currency UAH means 800 UAH — never a minor-unit integer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare a non-read-only, open-world, non-idempotent, non-destructive write; the description goes well beyond that by disclosing that everything is created PAUSED so nothing spends until meta_activate_campaign runs, that conversion_event is locked at creation, and that bidding defaults to lowest cost with no cap. These are exactly the irreversible/behavioral facts an agent needs before committing a mutation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Five sentences, each front-loaded with the decision it informs (what it creates, spend safety, sales prerequisites, bidding, WhatsApp destination) and no filler. The pause/activation fact comes early, which is the highest-stakes detail for an agent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 21-parameter creation tool with an output schema and full annotation coverage, this is complete: it covers creation scope, spend safety, prerequisites, and post-creation levers. Field-level details (currency, country defaults, EU DSA payor) are correctly delegated to a fully documented schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description earns more by explaining cross-parameter behavior the schema only states in isolation: bid_strategy defaults to lowest cost with no cap, minimum-ROAS applies only to sales campaigns optimizing for PURCHASE, and destination WHATSAPP requires the Page to have WhatsApp linked. Minor gap: the extended semantics of ad_account_id and the DSA fields are left entirely to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence names a specific verb and resource ("Create a Meta (Facebook/Instagram) ad campaign") and enumerates supported objectives (traffic, awareness, engagement, sales). The second sentence adds crucial scope no sibling schema would reveal: campaign, ad set, and ad are all created together, which implicitly distinguishes it from meta_create_campaign_only and the granular meta_create_adset / meta_create_ad tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives strong conditional guidance: sales campaigns need a Pixel, WHATSAPP destination is engagement-only, and follow-up steps route explicitly to meta_activate_campaign and meta_update_adset_bidding. It stops short of stating when to prefer meta_create_campaign_only or the standalone ad set / ad creators, so the sibling routing is implied rather than explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources