TheMediaGrid
Features
Bidder Code | grid | Prebid.org Member | no |
---|---|---|---|
Media Types | display, video, native | GDPR TCF Support | yes |
User IDs | all | USP/CCPA Support | yes |
Supply Chain Support | yes | COPPA Support | yes |
Demand Chain Support | no | GPP Support | yes |
Supports Deals | check with bidder | Prebid.js Adapter | yes |
IAB GVL ID | check with bidder | Prebid Server Adapter | yes |
Floors Module Support | yes | First Party Data Support | yes |
Multi Format Support | will-bid-on-any | ORTB Blocking Support | check with bidder |
Safeframes OK | check with bidder |
"Send All Bids" Ad Server Keys
These are the bidder-specific keys that would be targeted within GAM in a Send-All-Bids scenario. GAM truncates keys to 20 characters.hb_pb_grid |
hb_bidder_grid |
hb_adid_grid |
hb_size_grid |
hb_source_grid |
hb_format_grid |
hb_cache_host_grid |
hb_cache_id_grid |
hb_uuid_grid |
hb_cache_path_grid |
hb_deal_grid |
Table of Contents
Bid Params
Name | Scope | Description | Example | Type |
---|---|---|---|---|
uid |
required | Represents the MediaGrid bidder system Ad Slot ID associated with the respective div id from the site page. | 1 |
integer |
bidFloor |
optional | Floor of the impression opportunity. If present in the request overrides XML info. | 0.8 |
float |
Bidder Config
You can allow writing in localStorage pbjs.setBidderConfig
for the bidder grid
pbjs.setBidderConfig({
bidders: ["grid"],
config: {
localStorageWriteAllowed: true
}
})
If it will be “true” this allow TheMediaGrid Bid Adapter to write userId in first party localStorage
First Party Data
Publishers should use the ortb2
method of setting First Party Data.
Global site or user data using setConfig()
, or Bidder-specific using setBidderConfig()
supports following fields:
ortb2.user.data[]
: Standard IAB segment taxonomy user dataortb2.user.ext.device
: Non standard arbitrary user deviceortb2.user.keywords
: Standard IAB OpenRTB 2.5 user.keywords field. It will be included in ext.keywords.user.ortb2ortb2.site.keywords
: Standard IAB OpenRTB 2.5 site.keywords field. It will be included in ext.keywords.site.ortb2ortb2.site.cat[]
: Standard IAB OpenRTB 2.5 site.cat field. It will be sent as part of site.cat arrayortb2.site.pagecat[]
: Standard IAB OpenRTB 2.5 site.pagecat field. It will be sent as part of site.cat arrayortb2.site.content.genre
: Standard IAB OpenRTB 2.5 site.content.genre field
AdUnit-specific data using AdUnit.ortb2Imp
supports following fields:
ortb2.imp[].ext.data.*
ortb2.imp[].instl
Native setup example (s2s only)
Setup native in adUnit mediaTypes, for example:
...
mediaTypes: {
native: {
ortb: {
ver: '1.2',
"assets": [
{
"id": 1,
"img": {
"hmin": 180,
"wmin": 216,
"type": 3
},
"required": 1
},
{
"title": {
"len": 140
},
"id": 2,
"required": 1
},
{
"id": 3,
"data": {
"len": 25,
"type": 1
},
"required": 1
}
],
}
}
},
...