Native Request & Response

Modified on Wed, 1 Feb, 2023 at 4:52 AM


Below there are samples of request & response



Native request sample


{
  "app": {
    "bundle": "com.picsart.studio",
    "cat": [
      "IAB24",
      "IAB9",
      "IAB9-23",
      "photography",
      "social_networking"
    ],
    "id": "122ac87b05e04c59bfa8655cc4e6c507",
    "name": "PicsArt Photo Studio Android",
    "publisher": {
      "id": "f31ec0bf2ad14c00a0ba18b91d7585c0",
      "name": "Picsart Inc"
    },
    "storeurl": "https://play.google.com/store/apps/details?id=com.picsart.studio",
    "ver": "14.6.2"
  },
  "at": 2,
  "badv": [
    "adobe",
    "airbrush",
    "aliexpress",
    "alipay",
    "amolatina",
    "b612",
    "beauty",
    "beeline",
    "brazzers.com",
    "brazzerssurvey.com",
    "casinom8trix.",
    "collage",
    "zyrtec.com"
  ],
  "bcat": [
    "IAB11-1",
    "IAB11-2",
    "IAB11-3",
    "IAB11-4",
    "IAB11-5",
    "IAB14-1",
    "IAB14-3",
    "IAB14-8",
    "IAB23-1",
    "IAB23-10",
    "IAB23-2",
    "IAB23-3",
    "IAB23-4",
    "IAB23-5",
    "IAB23-6",
    "IAB23-7",
    "IAB23-8",
    "IAB23-9",
    "IAB25",
    "IAB26",
    "IAB7-39",
    "IAB8-18",
    "IAB8-5",
    "IAB9-12",
    "IAB9-22",
    "IAB9-23",
    "IAB9-9"
  ],
  "device": {
    "carrier": "250-99",
    "connectiontype": 2,
    "dnt": 0,
    "geo": {
      "city": "City",
      "country": "USA",
      "region": "REG",
      "zip": "454000"
    },
    "h": 2220,
    "ifa": "8986e994-c4f9-4d4c-897a-a902da1761a5",
    "ip": "77.222.114.0",
    "js": 1,
    "language": "en",
    "make": "samsung",
    "model": "SM-A750FN",
    "os": "Android",
    "osv": "10.0.0",
    "pxratio": 2.625,
    "ua": "Mozilla/5.0 (Linux; Android 10; SM-A750FN Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/81.0.4044.138 Mobile Safari/537.36",
    "w": 1080
  },
  "id": "efb06faa-9431-41f2-bf66-b0cfae15b906_00ad0897004f376e",
  "imp": [
    {
      "bidfloor": 0.02,
      "displaymanager": "displaymanager",
      "displaymanagerver": "displaymanagerver",
      "exp": 14400,
      "ext": {
        "reward": 0
      },
      "id": "1",
      "instl": 0,
      "native": {
        "battr": [
          1,
          3,
          8,
          9,
          10,
          13,
          14,
          17,
          6,
          7
        ],
        "request": "{\"native\":{\"assets\":[{\"data\":{\"len\":15,\"type\":12},\"id\":5,\"required\":0},{\"id\":3,\"img\":{\"hmin\":80,\"type\":1,\"wmin\":80},\"required\":1},{\"id\":2,\"img\":{\"h\":627,\"hmin\":417,\"type\":3,\"w\":1200,\"wmin\":800},\"required\":1},{\"data\":{\"len\":150,\"type\":2},\"id\":4,\"required\":1},{\"id\":1,\"required\":1,\"title\":{\"len\":50}}],\"layout\":6,\"privacy\":1}}",
        "ver": "1.0.0.2"
      },
      "pmp": {
        "deals": [
          {
            "at": 2,
            "bidfloor": 0.02,
            "id": "id"
          }
        ],
        "private_auction": 0
      },
      "secure": 1,
      "tagid": "tagid"
    }
  ],
  "regs": {
    "ext": {
      "gdpr": 0
    }
  },
  "source": {
    "pchain": "74b46c0ea83967ca:f31ec0bf2ad14c00a0ba18b91d7585c0"
  },
  "tmax": 300,
  "user": {
    "keywords": ""
  }
}


Native response sample



{
  "id": "efb06faa-9431-41f2-bf66-b0cfae15b906_00ad0897004f376e",
  "cur": "USD",
  "seatbid": [
    {
      "bid": [
        {
          "id": "HCEX4k5CaD1wcMgr",
          "adid": "145147",
          "cid": "example_cid",
          "crid": "d2dc6b14fb201f0ac75ea3e75dbb3597",
          "impid": "1",
          "price": 1,
          "adomain": [
            "example.com"
          ],
          "bundle": "example_bundle",
          "cat": [
            "IAB22"
          ],
          "iurl": "https://creative.bidease.com/media/res/2020/02/d36a0dad-c4b1.jpeg",
          "nurl": "https://track-win-us.bidease.com/win?x=HCEX4k5CaD1wcMgr&win_price=${AUCTION_PRICE}",
          "lurl": "https://track-loss-us.bidease.com/loss?x=HCEX4k5CaD1wcMgr&loss_reason=${AUCTION_LOSS}&win_price=${AUCTION_PRICE}",
          "burl": "https://proxy-track-us.bidease.com/imp?x=HCEX4k5CaD1wcMgr&win_price=${AUCTION_PRICE}",
          "adm": "{\"native\":{\"link\":{\"url\":\"https://proxy-track-us.bidease.com/click?x=HCEX4k5CaD1wcMgr\"},\"imptrackers\":[\"https://proxy-track-us.bidease.com/imp?x=HCEX4k5CaD1wcMgr\\u0026win_price=${AUCTION_PRICE}\",\"https://proxy-track-us.bidease.com/impcr?x=HCEX4k5CaD1wcMgr\"],\"assets\":[{\"id\":5,\"data\":{\"type\":12,\"label\":\"Ctatext\",\"value\":\"Example_text\",\"len\":10}},{\"id\":3,\"required\":1,\"img\":{\"type\":1,\"url\":\"https://creative.bidease.com/media/2019/01/d178eExample_creative.png\",\"w\":128,\"h\":128}},{\"id\":2,\"required\":1,\"img\":{\"type\":3,\"url\":\"https://creative.bidease.com/media/res/2020/02/d3Example_image.jpeg\",\"w\":1200,\"h\":627}},{\"id\":4,\"required\":1,\"data\":{\"type\":2,\"label\":\"Desc\",\"value\":\"Example_text\",\"len\":74}},{\"id\":1,\"required\":1,\"title\":{\"text\":\"Example_text\",\"len\":23}}],\"ext\":{}}}",
          "ext": {}
        }
      ]
    }
  ],
  "ext": {}
}


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article