네이버 검색광고 광고그룹 만들기
naver_searchad__adgroups__create캠페인 아래에 광고그룹 하나를 만듭니다. nccCampaignId, name, adgroupType 과 PC 와 모바일의 비즈채널 id(pcChannelId, mobileChannelId)를 넣습니다. 비즈채널 id 는 기존 광고그룹 목록 조회 결과에 있고, 광고그룹이 하나도 없으면 네이버 검색광고 관리 화면에서 비즈채널을 확인하도록 안내하세요. 새 광고그룹도 일시정지 상태로 만들어지고 자체 하루 예산 한도가 없습니다. 하루 예산을 정한 뒤 켜도록 안내하세요. 입찰가와 하루 예산은 아직 이 도구로 정하거나 바꿀 수 없습니다. 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": "<name>",
"adgroupType": "<adgroupType>",
"pcChannelId": "<pcChannelId>",
"mobileChannelId": "<mobileChannelId>"
},
"name": "naver_searchad__adgroups__create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 광고그룹 이름. | |
| adgroupType | Yes | 광고그룹 유형. 보통 캠페인 유형과 같습니다(예: WEB_SITE). | |
| pcChannelId | Yes | PC 에서 쓰는 비즈채널 id. | |
| nccCampaignId | Yes | 캠페인 id(nccCampaignId). 캠페인 목록 조회 결과에서 얻습니다. | |
| account_link_id | No | 연동 ID(UUID v4). 선택 입력입니다. 비워 두면 서버가 API 키로 연동을 찾아 씁니다. 같은 서비스에 계정을 여러 개 연동했을 때만 직접 입력해 주세요. | |
| mobileChannelId | Yes | 모바일에서 쓰는 비즈채널 id. | |
| confirmation_token | No | 첫 호출이 돌려준 1회용 확인 토큰입니다(오류 WRITE_CONFIRMATION_REQUIRED). 같은 인자에 이 값을 그대로 넣어 다시 호출하면 실행됩니다. 10분 뒤 만료되고 한 번만 쓸 수 있습니다. |