upload_google_ads_asset
Upload a creative to Google Ads
Description
Add a creative to a Google Ads account’s ASSET LIBRARY so it can be used in ads. It does NOT have to be a Hermoso render — the user’s own creative is the normal case; the URL just has to be Hermoso-HOSTED because we fetch the bytes, so run any file of theirs through upload_file and pass the URL it returns. For an IMAGE, pass imageUrl (≤5MB); an arbitrary external/CDN URL is refused. For VIDEO, Google Ads uses YouTube-hosted videos — post the video to YouTube as UNLISTED first (post_to_youtube with privacy:"unlisted" — link-only, not public or searchable, and unlike "private" it CAN run as an ad), then pass its youtubeVideoId here. For a PLAYABLE (App campaigns), pass playableUrl: an HTML5 zip with <!DOCTYPE html>, an ad.orientation meta tag and no outside files except Google's own (exitapi.js, Google Fonts); add appAdId to put it on an App ad. Returns the asset resource name. Pass customerId (from list_google_ads_campaigns).
Parameters
| Parameter | Type | Description |
|---|---|---|
customerId | string | 10-digit account id (dashes ok) — omit to use the brand’s selected default account |
imageUrl | string | a Hermoso-hosted image URL for an IMAGE asset (≤5MB) — a Hermoso render, or the user’s OWN creative put through upload_file first. An arbitrary external/CDN URL is refused. |
youtubeVideoId | string | a YouTube video id for a VIDEO asset (post_to_youtube first) |
playableUrl | string | PLAYABLE: link to an HTML5 zip (any public https URL or upload_file). Checked against Google's rules, then Google's own free validation, then created as a MEDIA_BUNDLE asset |
appAdId | string | also add the playable to this App ad (App campaigns for installs only) |
assetResourceName | string | with appAdId: add a playable already in the asset library instead of uploading one |
name | string | asset name |
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/upload_google_ads_asset.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"upload_google_ads_asset","arguments":{}}}
CLI
hermoso call upload_google_ads_asset --json '{}'
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_fileUpload a local file -> durable public URLpost_to_youtubePost a video to YouTubelist_google_ads_campaignsList Google Ads accounts / campaignsdelete_google_ads_objectRemove a Google Ads campaign / ad group / ad / keyword / asset link / conversion actionset_google_ads_conversion_goalsGoogle Ads conversion goals (what smart bidding optimises for)manage_google_ads_bid_strategyGoogle Ads portfolio bid strategieslinkedin_supply_forecastForecast LinkedIn ad delivery before you spendtiktok_smart_material_reportPer-creative performance inside TikTok Smart+ adstiktok_smart_reviewReview verdicts for TikTok Smart+ ads and creativesupdate_google_ads_keywordChange one Google Ads keyword's bid or status