Labels Manage Labels
labels_manage_labelsCreate, update, or remove Google Ads label resources, with a validate-only step and checksum to confirm changes before applying them.
Instructions
Manages Label resources. Supports CREATE, UPDATE, and REMOVE operations.
Propose & Confirm Workflow (validate_only and checksum):
Call
manage_labelswithvalidate_only=True(the default). After validation passes, the tool returns structuredchange_itemsand achecksumwithout committing changes.Present the
change_itemsto the user and wait for explicit user approval.Only after user confirmation, call
manage_labelswithvalidate_only=Falsealong with the exact same parameters and thechecksumreturned by the previousvalidate_only=Truecall.
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": {
"customer_id": "<customer_id>",
"operation": "<operation>"
},
"name": "labels_manage_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The name of the label. Required for CREATE, optional for UPDATE. | |
| checksum | No | Checksum of the validated operation returned by a prior `validate_only=True` call. Required when `validate_only=False`. | |
| label_id | No | The ID of the label (e.g., '456'). Required for UPDATE and REMOVE. | |
| operation | Yes | The operation to perform. Must be 'CREATE', 'UPDATE', or 'REMOVE'. | |
| customer_id | Yes | Google Ads Customer ID (digits or hyphenated, e.g. '1234567890'). | |
| description | No | Description of the label. Optional. | |
| validate_only | No | If True (default), validates the request and returns proposed `change_items` and a `checksum` without mutating the label. If False, requires `checksum` from a prior `validate_only=True` call to commit the mutation. | |
| background_color | No | Background color in HTML hex format (e.g., '#FF0000'). Optional. | |
| login_customer_id | No | Optional manager customer ID to use as the login-customer-id header. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |