create_google_ads_demand_gen_campaign
Create a Google Demand Gen video campaign (YouTube Shorts, in-feed, in-stream) destructive
Description
Build a Google DEMAND GEN campaign — video ads on YouTube Shorts, in-feed and in-stream (plus Discover, Gmail, Display, Maps if you pick them) — as ONE atomic, PAUSED build: budget, campaign, ad group with channel controls, locations/languages, optional audiences, and a video ad. ad needs videoAssets (from upload_google_ads_video) or youtubeVideoIds, a square logo (logoImage or logoAssets), finalUrl, businessName ≤25, 1–5 headlines, longHeadlines, descriptions. Google sets a minimum daily budget (it names it if you go under). Read back; turn it on with set_google_ads_status(confirm:true) only after the user approves.
Parameters
| Parameter | Type | Description |
|---|---|---|
customerId | string | Google Ads account id, 10 digits (dashes ok); omit for the brand's default account |
namerequired | string | campaign name |
dailyBudgetUsd | number | daily budget in the ACCOUNT’s currency (historical name, not necessarily USD), 1 to 100000; required unless budgetResourceName is given |
budgetResourceName | string | existing campaign budget resource name to reuse instead of creating a new budget |
bidding | object | bidding object {strategy, targetCpaUsd, targetRoas, maxCpcUsd}; strategy defaults to MAXIMIZE_CONVERSIONS |
bidding.strategyrequired | "MAXIMIZE_CONVERSIONS" | "TARGET_CPA" | "MAXIMIZE_CONVERSION_VALUE" | "TARGET_ROAS" | "MAXIMIZE_CLICKS" | bidding strategy; defaults to MAXIMIZE_CONVERSIONS when omitted |
bidding.targetCpaUsd | number | target cost per conversion in the ACCOUNT’s currency, for TARGET_CPA |
bidding.targetRoas | number | target return as a ratio, e.g. 4 = $4 of revenue per $1 spent, for TARGET_ROAS |
bidding.maxCpcUsd | number | maximum cost per click in the ACCOUNT’s currency |
channels | "youtubeShorts" | "youtubeInFeed" | "youtubeInStream" | "discover" | "gmail" | "display" | "maps"[] | omit for all of Google's channels |
locations | string[] | place names to target, resolved by Google, e.g. United States |
excludedLocations | string[] | place names to exclude, resolved by Google |
languages | string[] | ISO language codes to target, e.g. ["en"] |
countryCode | string | 2-letter country code that disambiguates a place name, e.g. CA for Toronto |
audiences | string[] | audience ids from manage_google_ads_audience |
adrequired | object | video ad: {videoAssets or youtubeVideoIds, logo, finalUrl, businessName, headlines, longHeadlines, descriptions, assetAutomation} |
ad.videoAssets | string[] | video asset resource names from upload_google_ads_video; one of this or youtubeVideoIds is required |
ad.youtubeVideoIds | string[] | YouTube video ids of existing videos; alternative to videoAssets |
ad.logoImage | string | square (1:1) logo image URL or Hermoso asset; used when logoAssets is empty |
ad.logoAssets | string[] | square (1:1) logo asset resource names from upload_google_ads_asset; alternative to logoImage |
ad.finalUrlrequired | string | landing page the ad opens, full http or https URL |
ad.businessNamerequired | string | business name shown with the ad, 25 characters maximum |
ad.headlinesrequired | string[] | short headlines, 1 to 5 |
ad.longHeadlinesrequired | string[] | long headlines, 1 to 5 |
ad.descriptionsrequired | string[] | ad descriptions, 1 to 5 |
ad.name | string | name of the ad inside Google Ads (optional) |
ad.assetAutomation | object | what Google may generate from this ad, {TYPE: true|false}: OVERLAY_TEXT_ON_VIDEOS (headlines laid over the video), GENERATE_VERTICAL_YOUTUBE_VIDEOS, GENERATE_SHORTER_YOUTUBE_VIDEOS, GENERATE_LANDING_PAGE_TEXT. Google turns these ON by default; pass false to keep the video exactly as made. Change it later with set_google_ads_asset_automation |
finalUrlSuffix | string | UTM suffix appended to clicks; omit for Hermoso's default, empty string for none |
trackingUrlTemplate | string | click-tracking redirect template, e.g. {lpurl}?src=x; only if you use a tracker |
urlCustomParameters | object | up to 8 custom URL parameters, used in URLs as {_key} |
startDate | string | campaign start date, YYYY-MM-DD |
endDate | string | campaign end date, YYYY-MM-DD |
containsEuPoliticalAds | boolean | true only for genuine EU political advertising |
dryRun | boolean | true = validate with Google and create nothing |
loginCustomerId | string | manager (MCC) account id, when the account is managed through one |
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_demand_gen_campaign.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_google_ads_demand_gen_campaign","arguments":{"name":"<string>","ad":"<object>"}}}
CLI
hermoso call create_google_ads_demand_gen_campaign --json '{"name":"<string>","ad":"<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
upload_google_ads_videoUpload a video straight into Google Adsset_google_ads_statusEnable, pause or remove a Google Ads campaign / ad group / adset_google_ads_asset_automationRead or change what Google may make from the creative (text on videos, video cuts, written text)set_google_ads_audiencesTarget or exclude audiences on Google Adsmanage_google_ads_seasonalityGoogle Ads seasonality adjustments (tell Smart Bidding about a sale or launch)manage_google_ads_audienceFind or build Google Ads audienceslist_google_ads_lead_submissionsRead Google Ads lead form submissionsset_google_ads_trackingSet UTMs / tracking on a Google Ads campaign, ad group or admanage_google_ads_manager_linksGoogle Ads manager (MCC) linksmanage_google_ads_assetsList, edit, pause or detach Google Ads assets