Set Ad Status
set_ad_statusPauses, enables, or removes a Google Ads ad using account, ad group, and ad IDs; validate first since removal is permanent.
Instructions
Pauses, enables, or removes an ad.
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>",
"ad_group_id": "<ad_group_id>",
"ad_id": "<ad_id>",
"status": "<status>"
},
"name": "set_ad_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_id | Yes | The numeric id of the ad. | |
| status | Yes | ENABLED, PAUSED, or REMOVED. REMOVED is permanent — confirm with the user before using it. | |
| ad_group_id | Yes | The numeric id of the ad group containing the ad. | |
| customer_id | Yes | The Google Ads account. | |
| validate_only | No | If True, only validates the request. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||