Bid Request JSON Examples

Native Ad Request Example


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"
    }
  }
}