Skip to content

Commit

Permalink
update audio.json
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartHubSolutions committed Apr 18, 2024
1 parent 6b84943 commit 80afadb
Showing 1 changed file with 106 additions and 44 deletions.
150 changes: 106 additions & 44 deletions adapters/smarthub/smarthubtest/exemplary/audio.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
{
"mockBidRequest": {
"id": "test-request-id",
"site": {
"page": "prebid.org"
},
"user": {
"buyeruid": "be5e209ad46927520000000000000000"
"id": "id",
"source": {
"tid": "id",
"ext": {
"schain": {
"ver": "1.0",
"complete": 1,
"nodes": [
{ "asi": "example.com", "hp": 1, "sid": "1234abc" }
]
}
}
},
"tmax": 1000,
"imp": [
{
"id": "test-imp-id",
"id": "audio",
"audio": {
"mimes": ["audio/mp4"],
"protocols": [9,10]
"mimes": ["audio/mp3"],
"protocols": [2, 5]
},
"ext": {
"bidder": {
Expand All @@ -22,27 +29,39 @@
}
}
}
]
],
"ext": {
"prebid": {
"targeting": {
"includewinners": true,
"includebidderkeys": false
}
}
},
"site": {
"publisher": { "id": "pubid" },
"page": "example.com"
},
"device": { "w": 1581, "h": 922, "ip": "1.1.1.1" },
"regs": { "ext": { "gdpr": 0 } },
"user": {
"ext": {
"consent": "XYZ"
}
}
},

"httpCalls": [
"httpcalls": [
{
"expectedRequest": {
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
"body": {
"id": "test-request-id",
"site": {
"page": "prebid.org"
},
"user": {
"buyeruid": "be5e209ad46927520000000000000000"
},
"id": "id",
"imp": [
{
"id": "test-imp-id",
"id": "audio",
"audio": {
"mimes": ["audio/mp4"],
"protocols": [9,10]
"mimes": ["audio/mp3"],
"protocols": [2, 5]
},
"ext": {
"bidder": {
Expand All @@ -52,47 +71,90 @@
}
}
}
]
],
"site": {
"page": "example.com",
"publisher": { "id": "pubid" }
},
"device": {
"ip": "1.1.1.1",
"h": 922,
"w": 1581
},
"user": {
"ext": {
"consent": "XYZ"
}
},
"tmax": 1000,
"source": {
"tid": "id",
"ext": {
"schain": {
"ver": "1.0",
"complete": 1,
"nodes": [
{
"asi": "example.com",
"hp": 1,
"sid": "1234abc"
}
]
}
}
},
"regs": { "ext": { "gdpr": 0 } },
"ext": {
"prebid": {
"targeting": {
"includewinners": true,
"includebidderkeys": false
}
}
}
}
},
"mockResponse": {
"status": 200,
"body": {
"id": "test-request-id",
"id": "id",
"cur": "USD",
"seatbid": [
{
"seat": "adelement",
"bid": [{
"id": "8ee514f1-b2b8-4abb-89fd-084437d1e800",
"impid": "test-imp-id",
"price": 0.1,
"adm": "some-test-ad",
"crid": "test-crid",
"mtype": 3,
"ext": {
"mediaType": "audio"
"bid": [
{
"ext": {
"mediaType": "audio"
},
"crid": "14065",
"id": "d4f04449-ba04-4d7c-bb34-dc0fc5240f59",
"price": 0.01,
"adm": "some-test-ad-vast",
"adomain": ["example.com"],
"impid": "audio",
"cid": "25076"
}
}]
],
"seat": "improvedigital"
}
],
"cur": "USD"
]
}
}
}
],

"expectedBidResponses": [
{
"currency": "USD",
"bids": [
{
"bid": {
"id": "8ee514f1-b2b8-4abb-89fd-084437d1e800",
"impid": "test-imp-id",
"price": 0.1,
"adm": "some-test-ad",
"crid": "test-crid",
"mtype": 3,
"id": "d4f04449-ba04-4d7c-bb34-dc0fc5240f59",
"impid": "audio",
"price": 0.01,
"adm": "some-test-ad-vast",
"adomain": ["example.com"],
"cid": "25076",
"crid": "14065",
"ext": {
"mediaType": "audio"
}
Expand Down

0 comments on commit 80afadb

Please sign in to comment.