adcom1: helper objects (object bundles) for openrtb3, tests

This commit is contained in:
Max Cherry
2018-12-28 15:39:16 +02:00
parent b989bef12c
commit 210a06f0aa
11 changed files with 197 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
{
"placement": {
"tagid": "plc-ftr-123abc",
"secure": 1,
"display": {
"ctype": [
2,
3
],
"displayfmt": [
{
"w": 320,
"h": 50
},
{
"w": 320,
"h": 250
}
],
"event": [
{
"type": 1,
"method": [
1
]
}
]
}
}
}
+29
View File
@@ -0,0 +1,29 @@
{
"ad": {
"id": "d0bcb39723af87c2bb00942afee5710e",
"adomain": [
"ford.com"
],
"secure": 1,
"display": {
"mime": "image/jpeg",
"type": 3,
"w": 320,
"h": 50,
"banner": {
"img": "https://somebuyer.com/creative",
"link": {
"url": "https://somebuyer.com/click",
"urlfb": "https://somebuyer.com"
}
},
"event": [
{
"type": 1,
"method": 1,
"url": "https://somebuyer.com/pixel"
}
]
}
}
}
+51
View File
@@ -0,0 +1,51 @@
{
"regs": {},
"restrictions": {
"bcat": [
"IAB24",
"IAB25",
"IAB26"
],
"cattax": 1,
"badv": [
"ford.com",
"buick.com"
]
},
"site": {
"id": "1234",
"name": "Awesome Example Site",
"domain": "examplesitedomain.com",
"mobile": 1,
"pub": {
"id": "9876",
"name": "Example Publisher, Inc.",
"domain": "examplepubdomain.com"
}
},
"user": {
"id": "a0af45c77890045deec100acb8443baff57c",
"buyeruid": "fcd4282456238256034abcdef220d9aa5892",
"yob": 1990,
"gender": "F"
},
"device": {
"type": 4,
"ifa": "8846d6fa10008bceaaf322908dfcb221",
"ip": "1.2.3.4",
"ua": "...user agent string...",
"make": "Apple",
"model": "iPhone",
"hwv": "6s",
"os": 13,
"osv": "11.4.1",
"mccmnc": "310-005",
"geo": {
"type": 1,
"lat": 42.3601,
"lon": 71.0581,
"country": "USA",
"utcoffset": -300
}
}
}