opt_in_publisher_listing
Reverse opt_out_publisher_listing: put ONE publisher/directory back into ONE location's listings. The listing becomes visible to the client again — in their portal, in the location's Listings overview and in every count and score — and OS resumes syncing it on the next edit or publish. Its previous status, live link, connection and history were never deleted, so it returns as it was rather than starting from nothing. Nothing is sent to the publisher by this call itself. If the publisher is still excluded by the CLIENT's publisher set, this cannot bring it back — the set is the wider promise and always wins; change the set (update_publisher_set) or move the client to another one (assign_publisher_set) instead. Identify the location by its id (from list_locations), and the publisher either by name (google | facebook | apple | bing) or, for any other directory, by its numeric siteId (from list_sites). Use get_location_directories with includeOptedOut: true to see what is currently excluded. Requires an identified agency user — the change is recorded in the audit trail against the person who made it.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "opt_in_publisher_listing",
"arguments": {
"locationId": "string"
}
}
}{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}Die Antwortform dient nur zur Veranschaulichung — der tatsächliche Inhalt hängt vom Tool und Ihren Daten ab.