hermosodocs

upload_google_ads_asset

Upload a creative to Google Ads

Area: GOOGLE ADS CHANGE HISTORY · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
customerIdstring10-digit account id (dashes ok) — omit to use the brand’s selected default account
imageUrlstringa 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.
youtubeVideoIdstringa YouTube video id for a VIDEO asset (post_to_youtube first)
playableUrlstringPLAYABLE: 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
appAdIdstringalso add the playable to this App ad (App campaigns for installs only)
assetResourceNamestringwith appAdId: add a playable already in the asset library instead of uploading one
namestringasset name
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/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.

All 759 Ad campaign management tools · tools.json