다음 클릭스 광고가 카카오 키워드광고로 플랫폼 이전하면서 API로 보고서 취합 중 Access Denied 문제가 발생하고 있어 확인 요청드립니다.
https://api.keywordad.kakao.com/openapi/v1/adAccounts
{“content”:[{“id”:000000,“name”:“엠디클리닉”,“memberType”:“MASTER”,“config”:“ON”},{“id”:000000,“name”:“예스폼”,“memberType”:“MASTER”,“config”:“ON”},{“id”:000000,“name”:“예스폼_삭제”,“memberType”:“MASTER”,“config”:“ON”}]}
Array ( [url] => https://api.keywordad.kakao.com/openapi/v1/adAccounts [content_type] => application/hal+json [http_code] => 200 [header_size] => 414 [request_size] => 161 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 0.116522 [namelookup_time] => 0.004145 [connect_time] => 0.006203 [pretransfer_time] => 0.018569 [size_upload] => 0 [size_download] => 233 [speed_download] => 1999 [speed_upload] => 0 [download_content_length] => 233 [upload_content_length] => 0 [starttransfer_time] => 0.116498 [redirect_time] => 0 [redirect_url] => [primary_ip] => 211.249.221.113 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 10.33.46.28 [local_port] => 39044 [request_header] => GET /openapi/v1/adAccounts HTTP/1.1 Host: api.keywordad.kakao.com Accept: / Authorization: Bearer SO1p5os0nDu2e5qKYvKE6Z_wcgIbaYZmwO0dhwopyV4AAAF6Uc1x5Q )
계정정보 요청 - 성공
https://api.keywordad.kakao.com/openapi/v1/campaigns
Access Denied
Array ( [url] => https://api.keywordad.kakao.com/openapi/v1/campaigns [content_type] => text/plain [http_code] => 403 [header_size] => 410 [request_size] => 182 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 0.055291 [namelookup_time] => 0.004151 [connect_time] => 0.006024 [pretransfer_time] => 0.017958 [size_upload] => 0 [size_download] => 13 [speed_download] => 235 [speed_upload] => 0 [download_content_length] => 13 [upload_content_length] => 0 [starttransfer_time] => 0.055274 [redirect_time] => 0 [redirect_url] => [primary_ip] => 211.249.221.113 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 10.33.46.28 [local_port] => 39048 [request_header] => GET /openapi/v1/campaigns HTTP/1.1 Host: api.keywordad.kakao.com Accept: / Authorization: Bearer SO1p5os0nDu2e5qKYvKE6Z_wcgIbaYZmwO0dhwopyV4AAAF6Uc1x5Q adAccountId : 000000 )
캠페인 정보 요청 - 실패
가이드 내용에 따라 올바르게 요청해도 Access Denied 오류가 발생됩니다.
계정정보는 마스킹 처리하였습니다.