Sample

Bid 요청과 응답 샘플입니다.

1. Bid Request Sample

1-1. Banner Request

{
  "id": "123f3604-c79c-4e69-9d3e-b1c4d87ef679",
  "imp": [
    {
      "id": "751071b2-262f-4e82-bace-46c5c1501db7",
      "banner": {
        "w": 728,
        "h": 90,
        "battr": [
          6,
          7
        ]
      },
      "displaymanager": "adfit",
      "displaymanagerver": "4.21.2",
      "tagid": "DAN-cpuG7jBSO9iGcJe2",
      "bidfloor": 10,
      "bidfloorcur": "KRW",
      "secure": 1
    }
  ],
  "site": {
    "id": "3sq",
    "publisher": {
      "name": "DAUM"
    }
  },
  "device": {
    "ua": "Mozilla/5.0 (Linux; Android 12) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Mobile Safari/537.36",
    "sua": {
      "browsers": [
        {
          "brand": "Chrome Mobile",
          "version": [
            "96",
            "0",
            "4664"
          ]
        }
      ],
      "platform": {
        "brand": "Android"
      },
      "mobile": 1,
      "model": "Smartphone",

1-2. Native Request 비즈보드

{
  "id": "7b0b5ddf-75ad-45d1-873f-e3b5fd593f5e",
  "imp": [
    {
      "id": "5b3bada7-6dbe-4ced-8c57-e342daecfc67",
      "native": {
        "request": "{\"native\":{\"ver\":\"1.1\",\"plcmtcnt\":1,\"assets\":[{\"id\":1619,\"required\":0,\"data\":{\"type\":701,\"len\":45},\"ext\":{\"assettype\":\"adfit-alt-text\"}},{\"id\":1620,\"required\":1,\"img\":{\"type\":702,\"w\":1029,\"h\":258},\"ext\":{\"assettype\":\"adfit-banner-img-url\"}},{\"id\":1621,\"required\":1,\"img\":{\"type\":703,\"w\":50,\"h\":50},\"ext\":{\"assettype\":\"adfit-ad-info\"}}]}}",
        "ver": "1.2"
      },
      "displaymanager": "adfit",
      "displaymanagerver": ""3.15.1",
      "tagid": "DAN-rhdt40s88rht",
      "bidfloor": 100,
      "bidfloorcur": "KRW",
      "secure": 1
    }
  ],
  "app": {
    "id": "5pU",
    "bundle": "com.kakao.talk",
    "storeurl": "https://play.google.com/store/apps/details?id=com.kakao.talk&hl=ko",
    "publisher": {
      "name": "TALK"
    }
  },
  "device": {
    "ua": "Mozilla/5.0 (Linux; Android 12) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Mobile Safari/537.36",
    "sua": {
      "browsers": [
        {
          "brand": "Chrome Mobile",
          "version": [
            "96",
            "0",
            "4664"
          ]
        }
      ],
      "platform": {
        "brand": "android"

1-3. NA Video Request

{
  "id": "0f2a1192-94c3-4828-bab6-a8ff2a5e0d28",
  "imp": [
    {
      "id": "60cbf4bc-1d64-4702-b9db-862373041d6e",
      "native": {
        "request": "{\"native\":{\"ver\":\"1.1\",\"plcmtcnt\":1,\"assets\":[{\"id\":1642,\"required\":0,\"data\":{\"type\":701,\"len\":45},\"ext\":{\"assettype\":\"adfit-alt-text\"}},{\"id\":1643,\"required\":1,\"img\":{\"type\":703,\"w\":50,\"h\":50},\"ext\":{\"assettype\":\"adfit-ad-info\"}},{\"id\":1644,\"required\":1,\"data\":{\"type\":2,\"len\":45},\"ext\":{\"assettype\":\"adfit-desc\"}},{\"id\":1645,\"required\":1,\"video\":{\"mimes\":[\"video/mp4\"],\"minduration\":0,\"maxduration\":3600,\"protocols\":[3],\"w\":720,\"h\":1280},\"ext\":{\"assettype\":\"adfit-video\"}},{\"id\":1646,\"required\":1,\"img\":{\"type\":701,\"w\":720,\"h\":1280},\"ext\":{\"assettype\":\"adfit-video-image-url\"}},{\"id\":1647,\"required\":1,\"title\":{\"len\":25},\"ext\":{\"assettype\":\"adfit-title\"}},{\"id\":1648,\"required\":1,\"data\":{\"type\":1,\"len\":20},\"ext\":{\"assettype\":\"adfit-profile-name\"}},{\"id\":1649,\"required\":1,\"img\":{\"type\":1,\"w\":300,\"h\":300},\"ext\":{\"assettype\":\"adfit-profile-img-url\"}},{\"id\":1650,\"required\":1,\"data\":{\"type\":12,\"len\":7},\"ext\":{\"assettype\":\"adfit-action-button\"}}]}}",
        "ver": "1.2"
      },
      "displaymanager": "adfit",
      "displaymanagerver": "3.15.1",
      "tagid": "DAN-UBvud7MDoY0TIWXp",
      "bidfloor": 100,
      "bidfloorcur": "KRW",
      "secure": 1
    }
  ],
  "app": {
    "id": "C0F",
    "bundle": "net.daum.android.daum",
    "publisher": {
      "name": "DAUM"
    }
  },
  "device": {
    "ua": "Mozilla/5.0 (Linux; Android 12) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Mobile Safari/537.36",
    "sua": {
      "browsers": [
        {

1-4. Bidrequest.Imp.Native

"native":{ 
"request":"{ 
\"native\":{ 
\"plcmtcnt\":1, 
\"assets\":[
{
\”id\":0,
\"required\":1,
\"title\":{\"len\":25}
},
{
\"id\":3,
\"required\":1, \"data\":{\"type\":12,\"len\":7}
},
{
\"id\":4,
\"required\":1, \"img\":{\"type\":3,\"w\":1200,\"h\":600} },
{
\"id\":10,
\"required\":1, \"img\":{\"type\":703,\"w\":50,\"h\":50} }
] }
}", "ver":"1.1" }

2. Bid Respone Sample

2-1. Banner Response

{
  "id": "45d151e9-f4b3-11e9-994a-6c92bfcfe7de",
  "bidid": "45d151e9-f4b3-11e9-994a-6c92bfcfe7de",
  "cur": "KRW",
  "seatbid": [
    {
      "seat": "DSPID",
      "bid": [
        {
          "id": "afv103nf23ifnaneoelanfjer",
          "impid": "45d151e8-f4b3-11e9-994a-6c92bfcfe7de",
          "price": 943.1401,
          "adid": "1686d151-7116-41ee-adab-aff1884960af",
          "nurl": "https://nurl.com/win?price=${AUCTION_PRICE}",
          "adm": "<>",
          "adomain": [
            "kakao.com"
          ],
          "iurl": " https://iurl.png",
          "cid": "0000",
          "crid": "1234",
          "attr": [],
          "w": 728,
          "h": 90,
          "cat": "IAB22"
        }
      ]
    }
  ]
}

2-2. Native Response 비즈보드

{
  "bidResponse": {
    "id": "cf1298b2-d36c-42c6-8456-20afca112ffb",
    "cur": "KRW",
    "seatbid": [
      {
        "seat": "DSPID",
        "bid": [
          {
            "id": "1",
            "impid": "512a16df-c5af-49be-a488-6f779f54c5db",
            "price": 238.79,
            "adid": "1686d151-7116-41ee-adab-aff1884960af",
            "nurl": "https://nurl.com/win?price=${AUCTION_PRICE}",
            "lurl": "https://lurl.com/loss?code=${AUCTION_LOSS}&price=${AUCTION_MIN_TO_WIN}",
            "adm": "{\"native\":{\"assets\":[{\"id\":3298,\"required\":1,\"img\":{\"url\":\" https://admark.png\",\"h\":50,\"w\":50},\"link\":{\"url\":\"https://link.html\",\"clicktrackers\":null}},{\"id\":3299,\"required\":1,\"img\":{\"url\":\" https://iurl.png\",\"h\":258,\"w\":1029}}],\"link\":{\"url\":\"https://link.com",\"clicktrackers\":[]},\"imptrackers\":[],\"privacy\":\"\",\"ext\":{}}}",
            "adomain": [
              "kakao.com"
            ],
            "bundle": "com.kakao.talk",
            "iurl": "https://iurl.png",
            "cid": "0000",
            "crid": "1234",
            "cat": [
              "IAB14"
            ]
          }
        ]
      }
    ]
  }
}

2-3. BidResponse.Seatbid.Bid.adm

"adm":"{ \"native\":{ \"assets\":[ {
\"id\":0,
\"title\":{\"text\”:\”광고 제목\”}
},
{
\"id\”:3,
\”data\”:{\"value\”:\”CTA 버튼명\”}
},
{
\"id\”:4,
\"img\":{
\"url\”:\”main-img.url\”,
\”w\”:1200,
\”h\”:600
}
},
{
\”id\”:10,
\”img\”:{
\”url\”:\”admark-img.url\”,
\”w\”:50,
\”h\”:50
},
"link":{
\”url\”:\”admark-landing.url\”
}
}
], \"link\":{\"url\":\"https://url.com${AUCTION_PRICE}"} }
}

Last updated