Bid Request JSON Examples

Native Ad Request Example

{
    "id": "129ca6dd-5403-4476-a4a6-555d6a538bc4",
    "app": {
        "id": "pubnative_1009429",
        "publisher": {
            "name": "",
            "id": "pubnative_1005292"
        },
        "storeurl": "https://play.google.com/store/apps/details?id=com.leo.appmaster",
        "bundle": "com.leo.appmaster",
        "cat": [
            "IAB3"
        ],
        "name": "PG_lock_pic"
    },
    "wseat": [
        "167"
    ],
    "source": {
        "fd": 0
    },
    "user": {
        "id": "45asdf987656789adfad4678rew656789",
        "buyeruid": "1234567890",
        "keywords": "sports, entertainment",
        "yob": 1976,
        "gender": "F",
        "ext": {
            "ug": 1,
            "cookie_age": 15,
            "consent": "Y29uc2VudCBkYXRh"
        }
    },
    "device": {
        "connectiontype": 3,
        "model": "Micromax A096",
        "mccmnc": "310-005",
        "language": "en",
        "geo": {
            "country": "IN",
            "lon": 85.1167,
            "city": "Patna",
            "lat": 25.6,
            "zip": "800002",
            "region": "34",
            "type": 2
        },
        "ifa": "793ff4b0-d077-4002-aeb6-b8ea64dd4b2b",
        "osv": "5.0.2",
        "os": "Android",
        "carrier": "Airtel",
        "devicetype": 1,
        "ip": "223.176.12.242",
        "ua": "Dalvik/2.1.0 (Linux; U; Android 5.0.2; Micromax A096 Build/LRX21M)",
        "dnt": 2
    },
    "tmax": 80,
    "cur": [
        "USD"
    ],
    "imp": [
        {
            "bidfloor": 0.324,
            "id": "1",
            "native": {
                "request_native": {
                    "plcmtcnt": 1,
                    "plcmttype": 2,
                    "privacy": 1,
                    "context": 1,
                    "contextsubtype": 12,
                    "assets": [
                        {
                            "id": 1,
                            "data": {
                                "type": 12
                            },
                            "required": 1
                        },
                        {
                            "title": {
                                "len": 50
                            },
                            "id": 2,
                            "required": 1
                        },
                        {
                            "id": 3,
                            "img": {
                                "w": 80,
                                "h": 80,
                                "type": 1
                            },
                            "required": 1
                        },
                        {
                            "id": 4,
                            "img": {
                                "w": 1200,
                                "h": 627,
                                "type": 3
                            },
                            "required": 1
                        },
                        {
                            "data": {
                                "type": 3
                            },
                            "id": 5,
                            "required": 0
                        },
                        {
                            "id": 6,
                            "data": {
                                "len": 100,
                                "type": 2
                            },
                            "required": 1
                        }
                    ],
                    "ver": "1.2"
                }
            },
            "exp": 1800,
            "bidfloorcur": "USD",
            "ext": {},
            "instl": 0
        }
    ],
    "bcat": [
        "IAB25-3",
        "BSW1",
        "BSW2",
        "BSW10",
        "BSW4",
        "IAB26"
    ],
    "ext": {
        "ads_txt": {
            "status": 2,
            "auth_id": "1kjgh7653",
            "pub_id": "537120563",
            "supplier_domain": "example.com"
        }
    },
    "at": 2
}

Video Ad Request Example

{
  "regs": {
    "coppa": 1,
    "gdpr": 1,
    "us_privacy": "1YN-"
  },
  "id": "75c0238c-3b52-4b87-957a-817f83e853f1",
  "site": {
    "id": "adaptv_",
    "publisher": {
      "name": "",
      "id": "tv4182"
    },
    "cat": [
      "IAB1"
    ],
    "page": "http://kissasian.com"
  },
  "wseat": [
    "126"
  ],
  "source": {
    "fd": 0
  },
  "user": {
    "id": "b457c658-ffdc-415c-8d91-30d864f4a5f5",
    "buyeruid": "7bcb7e7c-eff0-43ad-8522-b5c9251f0d43",
    "ext": {
      "consent": "Y29uc2VudCBkYXRh"
    }
  },
  "device": {
    "language": "en",
    "mccmnc": "310-005",
    "geo": {
      "country": "US",
      "lon": -75.15,
      "city": "Philadelphia",
      "lat": 39.94,
      "zip": "19147",
      "region": "PA",
      "type": 2
    },
    "lmt": 0,
    "os": "Other",
    "devicetype": 6,
    "ip": "73.141.79.240",
    "ua": "Mozilla/5.0 (PlayStation 4 3.55) AppleWebKit/537.78 (KHTML, like Gecko)"
  },
  "tmax": 120,
  "cur": [
    "USD"
  ],
  "imp": [
    {
      "bidfloor": 0.02268,
      "metric": [
        {
          "type": "viewability",
          "value": 0.85
        }
      ],
      "id": "1",
      "instl": 0,
      "exp": 300,
      "bidfloorcur": "USD",
      "secure": 0,
      "video": {
        "protocols": [
          2,
          5
        ],
        "placement": 2,
        "playbackend": 1,
        "minduration": 5,
        "skip": 1,
        "playbackmethod": [
          3
        ],
        "maxduration": 60,
        "startdelay": 0,
        "linearity": 1,
        "mimes": [
          "video/mp4"
        ]
      }
    }
  ],
  "bcat": [
    "IAB25-3",
    "BSW1",
    "BSW2",
    "BSW10",
    "BSW4",
    "IAB26"
  ],
  "at": 2
}

Audio Ad Request Example

{
  "id": "1234534625253",
  "wseat": [
    "58"
  ],
  "source": {
    "fd": 0
  },
  "imp": [
    {
      "id": "1",
      "secure": 1,
      "audio": {
        "startdelay": 0,
        "minduration": 5,
        "maxduration": 30,
        "maxextended": 30,
        "minbitrate": 300,
        "maxbitrate": 1500,
        "api": [
          1,
          2
        ],
        "protocols": [
          9,
          10
        ],
        "mimes": [
          "audio/aac",
          "audio/mp4",
          "audio/mpeg"
        ],
        "delivery": [
          2
        ],
        "battr": [
          13,
          14
        ],
        "companionad": [
          {
            "id": "1234567893-1",
            "w": 300,
            "h": 250,
            "pos": 1,
            "battr": [
              13,
              14
            ],
            "expdir": [
              2,
              4
            ]
          },
          {
            "id": "1234567893-2",
            "w": 728,
            "h": 90,
            "pos": 1,
            "battr": [
              13,
              14
            ]
          }
        ],
        "companiontype": [
          1,
          2
        ]
      }
    }
  ],
  "site": {
    "id": "google_234563",
    "domain": "siteabcd.com",
    "page": "https://siteabcd.com/page.htm",
    "ref": "http://google.com/?q=siteabcd",
    "publisher": {
      "id": "google_25"
    }
  },
  "device": {
    "ip": "64.124.253.1",
    "mccmnc": "310-005",
    "geo": {
      "country": "US",
      "region": "NY",
      "city": "White Plains",
      "zip": "10601"
    },
    "ua": "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16",
    "language": "en"
  },
  "ext": {
    "dsp_uuids": {
      "77": "xyz"
    }
  },
  "user": {
    "id": "45asdf987656789adfad4678rew656789",
    "buyeruid": "1234567890",
    "cur": [
      "USD"
    ]
  }
}

DooH Request Example

{
  "id": "162059897743978051070",
  "at": 1,
  "imp": [
      {
          "id": "007",
          "secure": 1,
          "exp": 360,
          "bidfloor": 5.0,
          "bidfloorcur": "GBP",
          "banner": {
              "w": 1080,
              "h": 1920,
              "format": [
                  {
                      "w": 1080,
                      "h": 1920
                  },
                  {
                      "w": 720,
                      "h": 1366
                  }
              ],
              "mimes": [
                  "image/jpg",
                  "image/png",
                  "text/html"
              ]
          },
          "pmp": {
              "private_auction": 0,
              "deals": [
                  {
                      "id": "123",
                      "at": 1,
                      "bidfloor": 4.50
                  },
                  {
                      "id": "333",
                      "at": 1,
                      "bidfloor": 3.00
                  },
                  {
                      "id": "444",
                      "at": 1,
                      "bidfloor": 2.00
                  }
              ]
          },
          "dt": 12345670,
          "qty": {
              "multiplier": 14.2,
              "sourcetype": 1,
              "vendor": "route.org.uk"
          }
      }
  ],
  "device": {
      "geo": {
          "lat": 0.0001,
          "long": -0.1235,
          "lastfix": 0
      },
      "devicetype": 8,
      "w": 1080,
      "h": 1920,
      "ppi": 72,
      "ifa": "1235461904",
      "ifa_type": "ppid",
  },
  "dooh": {
      "content": {},
      "id": "15790",
      "keywords": "Roadside, Billboard, D96",
      "name": "This",
      "publisher": {
          "id": "G1",
          "name": "Global"
      },
      "domain": "global.com",
      "venuetax": 1,
      "venuetypeid": 30101
  },
  "cur": [
      "GBP"
  ]
}