With an RTB-Creative the content of the RTB request can be adapted using the OpenRTB Extensions setting. To do this, you directly note the objects and values that are to be changed as the value for this property.
Example of an unchanged OpenRTB request:
{
"id" : "131223",
"tmax" : 123,
"at" : 2,
"imp" : [{"id": "1", "tagid": "184", "secure": 1, "bidfloor": 0.24, "banner": {"w": 160, "h": 600, "pos": 3, "id": "1"}, "ext": {"exchangetagid": "1192627"}}],
"site" : {"id": "200456", "page": "https:\/\/www.mysite.com", "ref": "https:\/\/www.mysite.com", "domain": "mysite.com"},
"device": {
"ua" : "Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko\/20100101 Firefox\/70.0",
"w" : 1920,
"h" : 1080,
"os" : "Windows",
"osv" : "10.0",
"devicetype" : 2,
"geo" : {"country": "SWE"},
"ip" : "1.2.3.4",
"language" : "de",
"lmt" : 0,
"js" : 1,
"connectiontype": 1,
"dnt" : 0
},
"user" : {"id": "0404816affa741d4cfa148d9d815c8aba7fe5d74dd7e792929ced11e036af", "ext": {"gdpr": 1, "consent": "BOhnsWV..."}},
"ext" : {"ssl": "1", "partner_id": "2078"},
"regs" : {"ext": {"gdpr": 1, "consent": "BOhnsWV...", "cmp": 1}, "coppa": 0},
"source": {"fd": 0}
}
Note the OpenRTB extension:
{
"at": 1,
"!site": {"id": "123"},
"!app": {"id": "123"},
"user": {"ext":{"?gdpr":0}},
"#source":""
}
As can be seen above, the modifiers !, ? and # can be placed in front of the property name in the notation of the individual properties:
Modifier | Bedeutung |
! | Set the value only if the property exists in the original request. |
? | Set the value only if the property does not exist in the original request.. |
# | Remove the property.. |
Result OpenRTB Request:
{
"id" : "131223",
"tmax" : 123,
"at" : 1,
"imp" : [{"id": "1", "tagid": "184", "secure": 1, "bidfloor": 0.24, "banner": {"w": 160, "h": 600, "pos": 3, "id": "1"}, "ext": {"exchangetagid": "1192627"}}],
"site" : {"id": "123", "page": "https:\/\/www.mysite.com", "ref": "https:\/\/www.mysite.com", "domain": "mysite.com"},
"device": {
"ua" : "Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko\/20100101 Firefox\/70.0",
"w" : 1920,
"h" : 1080,
"os" : "Windows",
"osv" : "10.0",
"devicetype" : 2,
"geo" : {"country": "SWE"},
"ip" : "1.2.3.4",
"language" : "de",
"lmt" : 0,
"js" : 1,
"connectiontype": 1,
"dnt" : 0
},
"user" : {"id": "0404816affa741d4cfa148d9d815c8aba7fe5d74dd7e792929ced11e036af", "ext": {"gdpr": 1, "consent": "BOhnsWV..."}},
"ext" : {"ssl": "1", "partner_id": "2078"},
"regs" : {"ext": {"gdpr": 1, "consent": "BOhnsWV...", "cmp": 1}, "coppa": 0}
}