네이버 검색광고 캠페인 수정
naver_searchad__campaigns__update캠페인 하나를 일시정지하거나 다시 켜거나(userLock), 게재 기간(periodStartDt, periodEndDt, usePeriod)을 바꿉니다. nccCampaignId 는 캠페인 목록 조회에서 얻습니다. 바뀐 결과는 네이버 검색광고의 응답으로 돌려줍니다. 입찰가와 하루 예산은 아직 이 도구로 정하거나 바꿀 수 없습니다. bidAmt, dailyBudget, budget 을 넣은 요청은 거절되므로 네이버 검색광고 관리 화면에서 정하도록 안내하세요. 먼저 네이버 검색광고 계정을 연동해야 합니다. This writes to the institution. The first call is not executed: it returns a preview of exactly what will be sent and a one-time confirmation_token (error WRITE_CONFIRMATION_REQUIRED). Show that preview to the user as it is. Only after the user agrees, call again with the same arguments plus that confirmation_token. Never add the token without the user's agreement. Changing any argument makes the token invalid; call without the token to get a new preview. 호출마다 토큰 1소진 요청 처리 시 XBOSS 작업을 생성하고 처리 결과를 저장합니다. 기관 원본의 조회 여부와 별개로 이 호출은 순수 읽기 전용이 아닙니다. 기관 데이터 변경은 도구별 실행 내용과 기존 확인 절차를 따릅니다.
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": {
"nccCampaignId": "<nccCampaignId>"
},
"name": "naver_searchad__campaigns__update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userLock | No | true 면 일시정지하고 false 면 다시 켭니다. | |
| usePeriod | No | true 면 게재 기간을 적용하고 false 면 없앱니다. | |
| periodEndDt | No | 게재 종료 일시. | |
| nccCampaignId | Yes | 캠페인 id(nccCampaignId). 캠페인 목록 조회 결과에서 얻습니다. | |
| periodStartDt | No | 게재 시작 일시. | |
| account_link_id | No | 연동 ID(UUID v4). 선택 입력입니다. 비워 두면 서버가 API 키로 연동을 찾아 씁니다. 같은 서비스에 계정을 여러 개 연동했을 때만 직접 입력해 주세요. | |
| confirmation_token | No | 첫 호출이 돌려준 1회용 확인 토큰입니다(오류 WRITE_CONFIRMATION_REQUIRED). 같은 인자에 이 값을 그대로 넣어 다시 호출하면 실행됩니다. 10분 뒤 만료되고 한 번만 쓸 수 있습니다. |