set_ad_auto_mode
Switch an ad to AUTOMATIC product mode: every matching product is published to the LIVE ad channel and kept in sync, and a submission is queued right away. Use this when the user wants ongoing automatic publishing. Each call queues the submission again, even when already automatic — do not retry blindly. Returns {integrationId, action:'set_product_mode', status, kind:'ads', editUrl, message}. Needs confirm:true after the user agrees. 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": "set_ad_auto_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_id | Yes | integrationId of the ad (from list_ads). | |
| confirm | No | true only after the user approved; without it the call returns confirm_required and nothing runs. | |
| project_id | No |