set_ad_name
AD name — set or clear the human-readable name of an ad so you (and the user) can identify it later. Names are free-text and NOT unique — use this to give an unnamed ad a memorable label, or to rename one. Pass name:"" (empty) to clear the name back to none. Returns {integrationId, action:'set_name', status:'updated', kind, editUrl, message}. ad_id is from list_ads. project_id is OPTIONAL (inferred for a single-project customer; project_id_required otherwise — then call list_projects).
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": {
"ad_id": "<ad_id>",
"name": "<name>"
},
"name": "set_ad_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New name; pass an empty string to clear the name. | |
| ad_id | Yes | ||
| project_id | No |