Vertex gemini generate ad copy
vertex.gemini.generate_ad_copyGenerate multiple ad-copy variants from a product and audience brief using Gemini. Provide product and audience inputs to produce n alternatives for campaign testing.
Instructions
Build a structured brief and ask Gemini for n ad-copy variants. Incurs Vertex cost.
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": {
"product": "<product>",
"audience": "<audience>"
},
"name": "vertex.gemini.generate_ad_copy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| product | Yes | ||
| audience | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||