문맥 타겟팅 요청하기

API 예시

  • 애드컨트롤 콘솔에서 생성한 문맥 타겟팅에 설정된 value값을 추가해주세요.(아래 이미지 > 박스값 참조)

const unitId = 'YOUR_UNIT_ID' 
const contextId = 'YOUR_CONTEXT_ID' // 애드컨트롤 콘솔에서 생성한 문맥 타겟팅 value 예) context
const res = await axios.get(
       `https://api-v2.adrop.io/request?unit=${unitId}&contextId=${contextId}`, 
       {
            headers: {
                //appKey : 애드컨트롤 콘솔에서 발급받은 adrop_service.json의 app_key
                Authorization: {{appKey}} 
            }
        })

Last updated