create_google_ads_performance_max_campaign
Create a Google Ads Performance Max campaign destructive
Description
Build a PERFORMANCE MAX campaign — Google’s cross-surface campaign type (Search, YouTube, Display, Discover, Gmail, Maps). ALWAYS created PAUSED; it spends NOTHING until you enable it with set_google_ads_status(confirm:true). PMax has NO manual bidding and NO keywords: it bids only on conversions, so the account MUST already have a conversion action — check with list_google_ads_conversion_actions, because this REFUSES rather than build a campaign that cannot optimise. Creative lives in an ASSET GROUP, and Google’s minimums are enforced before anything is sent: 3–15 headlines (≤30 chars), 1–5 longHeadlines (≤90), 2–5 descriptions (≤90), one businessName (≤25), at least one LOGO (1:1), one MARKETING_IMAGE (1.91:1) and one SQUARE_MARKETING_IMAGE (1:1) — upload the images with upload_google_ads_asset first and pass their asset resource names. A YouTube video is optional (Google generates one from the asset group if you omit it). Brand guidelines: since Google Ads API v21 they are ON by default for new PMax campaigns, which means the businessName and LOGO assets are linked to the CAMPAIGN (CampaignAsset), not to the asset group — Hermoso does that for you. Leave brandGuidelinesEnabled alone unless the user wants the older asset-group layout, and pass false for that. Budget, campaign, location/language targeting, the asset group and every asset link go up in ONE ATOMIC operation — if any part is rejected, nothing at all is created — and the whole tree is READ BACK from Google before you are told it exists. Print the returned note verbatim; if it says the campaign cannot serve, say that instead of calling it finished. RETAIL/SHOPPING: pass merchantCenterId (from list_merchant_accounts) to make it a Shopping-feed Performance Max — it then advertises the WHOLE feed (one root listing group); feedLabel narrows it to a single feed. Partitioning the feed by brand/category/custom label is NOT built and is refused by name, so a caller can never believe they narrowed it when they did not.
Parameters
| Parameter | Type | Description |
|---|---|---|
customerId | string | 10-digit account id (dashes ok) — omit to use the brand’s selected default account |
namerequired | string | campaign name |
dailyBudgetUsd | number | daily budget in the ACCOUNT’s currency (historical name — not necessarily USD; 1–100000) — or pass budgetResourceName |
budgetResourceName | string | an existing budget to reuse |
bidding | object | bidding {strategy, targetCpaUsd, targetRoas}; no manual bidding, strategy defaults to MAXIMIZE_CONVERSIONS |
bidding.strategy | "MAXIMIZE_CONVERSIONS" | "MAXIMIZE_CONVERSION_VALUE" | "TARGET_CPA" | "TARGET_ROAS" | default MAXIMIZE_CONVERSIONS — PMax has no manual bidding |
bidding.targetCpaUsd | number | required for TARGET_CPA |
bidding.targetRoas | number | required for TARGET_ROAS, e.g. 4 = $4 revenue per $1 spent |
locations | string[] | place NAMES ("United States", "Toronto") — resolved for you |
excludedLocations | string[] | places to block |
languages | string[] | ISO codes, e.g. ["en"] |
countryCode | string | 2-letter hint to disambiguate a city name |
startDate | string | YYYY-MM-DD |
endDate | string | YYYY-MM-DD |
finalUrlSuffix | string | UTMs appended to every click, e.g. "utm_source=google&utm_medium=cpc". Omit for our default (utm_source/medium/campaign + {campaignid}/{creative}); "" for none |
trackingUrlTemplate | string | click-tracking redirect, e.g. "{lpurl}?src=x" — only if you use a tracker |
urlCustomParameters | object | up to 8 custom parameters, used in URLs as {_key} |
containsEuPoliticalAds | boolean | true ONLY for genuine EU political advertising |
merchantCenterId | string | makes this a RETAIL (Shopping-feed) Performance Max — the Merchant Center account whose products it advertises, from list_merchant_accounts. It advertises the WHOLE feed; partitioning by brand/category is not built and is refused by name |
feedLabel | string | optional, retail only: narrow to ONE Merchant Center feed by its feed label. Omit to use products from all feeds |
brandGuidelinesEnabled | boolean | default TRUE, matching Google’s own default since v21: businessName + logos are linked to the CAMPAIGN. Pass false only for the pre-v21 layout, where they sit on the asset group instead |
imageExtraction | boolean | default FALSE: Google may NOT take images from your landing pages and serve them as ad creative. Sent explicitly, because Google switches image extraction ON by default for new Performance Max campaigns from 2026-12-04. Pass true to allow it; the reply reads the setting back from Google |
assetGrouprequired | object | the creative — Google requires every field above before a PMax campaign can serve |
assetGroup.namerequired | string | asset group name |
assetGroup.finalUrlsrequired | string[] | the landing page(s) — at least one. A Hermoso page works: publish_page’s live URL, or get_page adDestinations. |
assetGroup.headlinesrequired | string[] | 3–15, each ≤30 characters |
assetGroup.longHeadlinesrequired | string[] | 1–5, each ≤90 characters |
assetGroup.descriptionsrequired | string[] | 2–5, each ≤90 characters |
assetGroup.businessNamerequired | string | ≤25 characters |
assetGroup.logoAssetsrequired | string[] | at least one 1:1 LOGO asset resource name from upload_google_ads_asset |
assetGroup.landscapeLogos | string[] | optional 4:1 LANDSCAPE_LOGO asset resource names — LOGO + LANDSCAPE_LOGO may total at most 5 |
assetGroup.marketingImagesrequired | string[] | at least one 1.91:1 asset resource name |
assetGroup.squareMarketingImagesrequired | string[] | at least one 1:1 asset resource name |
assetGroup.youtubeVideos | string[] | optional YOUTUBE_VIDEO asset resource names |
assetGroup.searchThemes | string[] | signals: up to 50 search themes (keyword-like hints, ≤10 words each) |
assetGroup.audiences | string[] | signals: audience ids from manage_google_ads_audience(create_audience) |
assetGroup.path1 | string | display-URL path, ≤15 characters |
assetGroup.path2 | string | second display-URL path, ≤15 characters |
dryRun | boolean | validate the whole tree against Google and create NOTHING |
loginCustomerId | string | manager id if operating through an MCC |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/create_google_ads_performance_max_campaign.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_google_ads_performance_max_campaign","arguments":{"name":"<string>","assetGroup":"<object>"}}}
CLI
hermoso call create_google_ads_performance_max_campaign --json '{"name":"<string>","assetGroup":"<object>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
set_google_ads_statusEnable, pause or remove a Google Ads campaign / ad group / adlist_google_ads_conversion_actionsList Google Ads conversion actionsupload_google_ads_assetUpload a creative to Google Adslist_merchant_accountsList Merchant Center accountscreate_boost_automationBoost your strongest organic posts automaticallygoogle_ads_keyword_ideasKeyword ideas with real Google search volumemanage_automation_templatesAutomation templatesautomation_controlsAd automation kill switch and per-account controlsbacktest_automationBacktest an ad automationtest_automationTest an automation on a sample