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",
            "consented_providers_settings": {
                "consented_providers": [
                    1791
                ]
            }
        }
    },
    "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": {
                    "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": {
        "wt": 112,
        "clktrkrq": 0,
        "is_secure": 0,
        "ssp": "pubnative",
        "tgroup": [
            123,
            456,
            321,
            765
        ],
        "ads_txt": {
            "status": 2,
            "auth_id": "1kjgh7653",
            "pub_id": "537120563",
            "supplier_domain": "example.com"
        }
    },
    "at": 2
}

Video Ad Request Example

{
  "regs": {
    "ext": {
      "gdpr": 1
    }
  },
  "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": "1234534625253",
  "wseat": [
    "58"
  ],
  "site": {
    "id": "dooh-screens",
    "publisher": {
      "name": "motorway-ad-walls",
      "id": "ourdoors-4182"
    }
  },
  "imp": [
    {
      "id": "06d690d1-bac0-43fa-9257-f6d62d984231",
      "bidfloor": 15,
      "exp": 360,
      "video": {
        "mimes": [
          "video/x-flv",
          "video/mp4"
        ],
        "placement": 2,
        "playbackend": 1,
        "skip": 0,
        "minduration": 30,
        "maxduration": 30,
        "protocols": [
          3,
          6,
          7
        ],
        "w": 640,
        "h": 480
      },
      "pmp": {
        "private_auction": 1,
        "deals": [
          {
            "id": "deal-1",
            "wseat": [
              "58"
            ],
            "bidfloor": 2.5,
            "bidfloorcur": "USD",
            "at": 3
          }
        ]
      }
    }
  ],
  "device": {
    "ifa": "035911ea467d03b65cf44f5633b",
    "mccmnc": "310-005",
    "ip": "64.124.253.1",
    "geo": {
      "lat": 35.012344,
      "lon": -115.12345,
      "country": "US",
      "region": "NY",
      "city": "White Plains",
      "zip": "10601"
    },
    "devicetype": 6,
    "ext": {
      "dooh": {
        "audience": 19.5,
        "impmultiply": 1
      }
    }
  },
  "user": {
    "id": "45asdf987656789adfad4678rew656789",
    "data": [
      {
        "id": "6",
        "name": "Data Provider 1",
        "segment": [
          {
            "name": "M",
            "value": "15"
          },
          {
            "name": "F",
            "value": "9"
          },
          {
            "name": "M65+",
            "value": "8.1"
          },
          {
            "name": "TOTAL",
            "value": "19.5"
          }
        ]
      },
      {
        "name": "demographic",
        "segment": [
          {
            "id": "12341318394918",
            "name": "auto intenders"
          }
        ]
      }
    ]
  },
  "tmax": 150,
  "exp": 300,
  "cur": "USD",
  "source": {
    "fd": 0
  },
  "ext": {
    "wt": 1,
    "clktrkrq": 0,
    "is_secure": 0,
    "ssp": "rubicon",
    "tgroup": [
      123,
      456,
      321,
      765
    ],
    "ads_txt": {
      "status": 2,
      "auth_id": "1kjgh7653",
      "pub_id": "537120563",
      "supplier_domain": "example.com"
    }
  }
}