hermosodocs

create_google_ads_performance_max_campaign

Create a Google Ads Performance Max campaign destructive

Area: WHITE-LABEL CONNECT · Workspace & account. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
customerIdstring10-digit account id (dashes ok) — omit to use the brand’s selected default account
namerequiredstringcampaign name
dailyBudgetUsdnumberdaily budget in the ACCOUNT’s currency (historical name — not necessarily USD; 1–100000) — or pass budgetResourceName
budgetResourceNamestringan existing budget to reuse
biddingobjectbidding {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.targetCpaUsdnumberrequired for TARGET_CPA
bidding.targetRoasnumberrequired for TARGET_ROAS, e.g. 4 = $4 revenue per $1 spent
locationsstring[]place NAMES ("United States", "Toronto") — resolved for you
excludedLocationsstring[]places to block
languagesstring[]ISO codes, e.g. ["en"]
countryCodestring2-letter hint to disambiguate a city name
startDatestringYYYY-MM-DD
endDatestringYYYY-MM-DD
finalUrlSuffixstringUTMs appended to every click, e.g. "utm_source=google&utm_medium=cpc". Omit for our default (utm_source/medium/campaign + {campaignid}/{creative}); "" for none
trackingUrlTemplatestringclick-tracking redirect, e.g. "{lpurl}?src=x" — only if you use a tracker
urlCustomParametersobjectup to 8 custom parameters, used in URLs as {_key}
containsEuPoliticalAdsbooleantrue ONLY for genuine EU political advertising
merchantCenterIdstringmakes 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
feedLabelstringoptional, retail only: narrow to ONE Merchant Center feed by its feed label. Omit to use products from all feeds
brandGuidelinesEnabledbooleandefault 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
imageExtractionbooleandefault 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
assetGrouprequiredobjectthe creative — Google requires every field above before a PMax campaign can serve
assetGroup.namerequiredstringasset group name
assetGroup.finalUrlsrequiredstring[]the landing page(s) — at least one. A Hermoso page works: publish_page’s live URL, or get_page adDestinations.
assetGroup.headlinesrequiredstring[]3–15, each ≤30 characters
assetGroup.longHeadlinesrequiredstring[]1–5, each ≤90 characters
assetGroup.descriptionsrequiredstring[]2–5, each ≤90 characters
assetGroup.businessNamerequiredstring≤25 characters
assetGroup.logoAssetsrequiredstring[]at least one 1:1 LOGO asset resource name from upload_google_ads_asset
assetGroup.landscapeLogosstring[]optional 4:1 LANDSCAPE_LOGO asset resource names — LOGO + LANDSCAPE_LOGO may total at most 5
assetGroup.marketingImagesrequiredstring[]at least one 1.91:1 asset resource name
assetGroup.squareMarketingImagesrequiredstring[]at least one 1:1 asset resource name
assetGroup.youtubeVideosstring[]optional YOUTUBE_VIDEO asset resource names
assetGroup.searchThemesstring[]signals: up to 50 search themes (keyword-like hints, ≤10 words each)
assetGroup.audiencesstring[]signals: audience ids from manage_google_ads_audience(create_audience)
assetGroup.path1stringdisplay-URL path, ≤15 characters
assetGroup.path2stringsecond display-URL path, ≤15 characters
dryRunbooleanvalidate the whole tree against Google and create NOTHING
loginCustomerIdstringmanager 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.

All 143 Workspace & account tools · tools.json