Get Image Upload URL
get_image_upload_urlReturns a one-time signed upload URL (valid 5 minutes) for uploading an image file to the server. The response includes upload_url (where to POST the raw image bytes) and filename (the server-side name to pass to create_image_asset afterward). Used as step 1 of the image-to-Google-Ads workflow: get URL here, upload the image bytes via HTTP POST, then call create_image_asset with the filename to create a Google Ads ImageAsset.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filename": "<filename>",
"user_intent": "<user_intent>"
},
"name": "get_image_upload_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Desired filename e.g. 'logo.png'. Extension controls saved format. | |
| user_intent | Yes |