Skip to main content
Glama

Google Ads & Meta Ads

Google Ads: Create Performance Max Campaign

gads_create_pmax_campaign

Create a Google Ads Performance Max campaign complete enough to serve: a budget, the campaign, one asset group with headlines, descriptions and images, optional YouTube videos and search themes. The campaign is created PAUSED — nothing spends until you run gads_activate_campaign. Performance Max needs more copy than a Search ad: 3-15 headlines of 30 characters, 1-5 long headlines of 90, 2-5 descriptions of 90 with at least one under 60, a business name, and images in three required slots — Google will not run an asset group without them. It bids to maximize conversions; pass target_roas to bid on conversion value instead. Pass locations to scope it geographically — without them the campaign targets every location on earth, which is Google's default; use gads_find_locations to turn place names into ids. For a Search campaign use gads_create_campaign, and to change this campaign afterwards use gads_update_asset_group_assets, gads_update_asset_group_media, gads_update_brand_assets and gads_update_search_themes.

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>",
      "daily_budget": "<daily_budget>",
      "final_url": "<final_url>",
      "headlines": "<headlines>",
      "long_headlines": "<long_headlines>",
      "descriptions": "<descriptions>",
      "business_name": "<business_name>",
      "marketing_images": "<marketing_images>",
      "square_marketing_images": "<square_marketing_images>",
      "logos": "<logos>"
    },
    "name": "gads_create_pmax_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesCampaign name.
logosYesPublic https image URLs for this slot: at least 1, at most 5, each 1:1 and at least 128x128 pixels, PNG or JPEG under 5120 KB.
final_urlYesLanding page URL the asset group sends clicks to.
headlinesYes3-15 headlines, each 30 characters or fewer.
languagesNoLanguages the campaign may show in — language constant ids, ISO codes (en, uk) or names (English), at most 20. A campaign with no language criteria shows to every language.
locationsNoLocations the campaign may show in — geo target constant ids or place names, at most 20. Omit only when the campaign really should reach every country; a campaign with no location criteria targets all locations.
customer_idNoGoogle Ads account to change: customer id or exact account name. Required when you have several accounts — the stored default is never used for a change then.
target_roasNoTarget return on ad spend, as a plain ratio: 4.0 asks Google for four units of conversion value per unit of spend. Passing it switches the campaign from maximizing conversion count to maximizing conversion value. Leave it out on a campaign with no conversion history — a target Google cannot hit throttles delivery to nothing.
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.
descriptionsYes2-5 descriptions, each 90 characters or fewer, at least one of them 60 or fewer — Google refuses an asset group whose descriptions are all long.
business_nameYesThe advertiser's name as it should appear in the ads, at most 25 characters.
search_themesNoSearch themes telling Google what people look for when they want this, at most 25. They steer the campaign rather than restrict it, and a new campaign with no conversion history needs them most.
long_headlinesYes1-5 long headlines, each 90 characters or fewer. Performance Max shows these where there is room for a longer line.
landscape_logosNoPublic https image URLs for this slot: optional, at most 20, each 4:1 and at least 512x128 pixels, PNG or JPEG under 5120 KB.
marketing_imagesYesPublic https image URLs for this slot: at least 1, at most 20, each 1.91:1 and at least 600x314 pixels, PNG or JPEG under 5120 KB.
youtube_video_idsNoYouTube video ids — the 11-character id from the watch URL, not the URL. At most 5. Omit them and Google generates video from the images instead.
square_marketing_imagesYesPublic https image URLs for this slot: at least 1, at most 20, each 1:1 and at least 300x300 pixels, PNG or JPEG under 5120 KB.
portrait_marketing_imagesNoPublic https image URLs for this slot: optional, at most 20, each 4:5 and at least 480x600 pixels, PNG or JPEG under 5120 KB.

Output Schema

NameRequiredDescriptionDefault
statusYesAlways PAUSED — nothing spends until gads_activate_campaign runs.
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.
languagesNoLanguages the campaign shows in. Empty means every language, Google's default.
locationsNoLocations the campaign targets. Empty means all locations, Google's default.
campaignIdYesId of the campaign that was created.
imageCountYesImage assets created and linked.
targetRoasNoTarget ROAS in effect, or null when bidding on count.
videoCountYesYouTube video assets linked.
dailyBudgetYesDaily budget of the new campaign. Amount in the account currency (see the currency field), e.g. 800.00 with currency UAH means 800 UAH — never a minor-unit integer.
assetGroupIdYesId of the asset group created inside it.
searchThemesNoSearch themes the asset group carries.
assetLinkCountYesAssets linked to the new campaign.
biddingStrategyYesBidding strategy the campaign was created on.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

With annotations covering safety, the description adds substantial behavioral context: the campaign is created PAUSED so nothing spends until activation, missing locations mean targeting every location on earth, missing languages means all languages, and target_roas switches bidding to conversion value and can starve delivery without conversion history. It also discloses Google's hard asset-group validation rules (image slots, one short description).

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

Conciseness4/5

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

Front-loaded with the outcome (a servable campaign) before the constraints, and every sentence carries operational information. It is a single dense block rather than structured bullets, which makes it heavier to scan than it needs to be for 18 parameters, but there is little wasted wording.

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 an 18-parameter, 10-required creation tool with an output schema, the description covers the full lifecycle (create paused, then activate), the required asset-group composition, Google's defaulting behavior, and where to go for follow-up edits. An agent has everything needed to call it correctly on the first try.

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 already 100%, so the baseline is 3, but the description adds prioritization and consequences beyond field definitions: it flags locations and target_roas as the parameters whose omission or inclusion changes behavior, and points to gads_find_locations for resolving location values. It largely restates the 3-15 headlines / 90-character constraints already in the schema, which caps the score.

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?

Opens with a specific verb and resource ("Create a Google Ads Performance Max campaign") and enumerates what gets built: budget, campaign, asset group, media. It explicitly contrasts with gads_create_campaign for Search, so the agent can distinguish it from the closest sibling without opening schemas.

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 clear routing: use this for Performance Max, use gads_create_campaign for Search, and a list of gads_update_* tools for later changes. It also names gads_find_locations for turning place names into ids and gads_activate_campaign for launch. It does not state hard exclusions (e.g., when not to use PMax at all), which keeps it just below a 5.

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