Set vendor-monitoring states across a target's journeys
set_target_vendor_statesSet vendor-monitoring states across a target's journeys (permission: edit)
Vendor watch-list state is TARGET-scoped: one write fans the named watched/muted states across every journey of the target in one transaction, seeding any never-scanned journey first; vendors not named keep their state. Answers the full vendor list as GET does. A target with no journeys is refused 409 target_has_no_journeys. Any vendor can be switched either way, dataLayer included; switching a vendor on starts its alerts after its next complete runs (watch from now). Journeys watch dataLayer, adobeDataLayer, Google Analytics 4, Adobe Analytics by default (on mobile app targets also the app's own tag container (Google Tag Manager)), each only when present.
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": {
"id": "<id>",
"vendors": "<vendors>"
},
"name": "set_target_vendor_states"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Saved test id: from GET /targets or the POST /targets answer. | |
| vendors | Yes | The vendors to set, each once; vendors not named keep their state. |