-
Notifications
You must be signed in to change notification settings - Fork 758
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update SmartHub adapter and add Markapp alias
- Loading branch information
1 parent
cb3fd3c
commit 080a39e
Showing
15 changed files
with
110 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
{ | ||
"mockBidRequest": { | ||
"id": "body-id-1", | ||
"imp": [ | ||
{ | ||
"id": "id0", | ||
"audio": { | ||
"mimes": ["audio/mp4"] | ||
}, | ||
"ext": { | ||
"bidder": { | ||
"partnerName": "partnertest", | ||
"seat": "9Q20EdGxzgWdfPYShScl", | ||
"token": "zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer" | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"httpCalls": [ | ||
{ | ||
"expectedRequest": { | ||
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer", | ||
"body": { | ||
"id": "body-id-1", | ||
"imp": [ | ||
{ | ||
"id": "id0", | ||
"audio": { | ||
"mimes": ["audio/mp4"] | ||
}, | ||
"ext": { | ||
"bidder": { | ||
"partnerName": "partnertest", | ||
"seat": "9Q20EdGxzgWdfPYShScl", | ||
"token": "zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"mockResponse": { | ||
"status": 200, | ||
"body": { | ||
"id": "body-id-1", | ||
"seatbid": [ | ||
{ | ||
"seat": "test-seat", | ||
"bid": [ | ||
{ | ||
"id": "5dce6055-a93c-1fd0-8c29-14afc3e510fd", | ||
"impid": "id0", | ||
"price": 0.1, | ||
"nurl": "test-win", | ||
"adm": "test-audio", | ||
"adid": "92-289", | ||
"adomain": ["advertiserdomain.com"], | ||
"crid": "289", | ||
"ext": { | ||
"mediaType": "audio" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
], | ||
"expectedBidResponses": [ | ||
{ | ||
"bids": [ | ||
{ | ||
"bid": { | ||
"id": "5dce6055-a93c-1fd0-8c29-14afc3e510fd", | ||
"impid": "id0", | ||
"price": 0.1, | ||
"nurl": "test-win", | ||
"adm": "test-audio", | ||
"adid": "92-289", | ||
"adomain": ["advertiserdomain.com"], | ||
"crid": "289", | ||
"ext": { | ||
"mediaType": "audio" | ||
} | ||
}, | ||
"type": "audio" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
endpoint: "http://markapp-prebid.smart-hub.io/pbserver/?seat={{.AccountID}}&token={{.SourceId}}" | ||
aliasOf: "smarthub" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
endpoint: "http://{{.Host}}-prebid.smart-hub.io/?seat={{.AccountID}}&token={{.SourceId}}" | ||
endpoint: "http://prebid.smart-hub.io/pbserver?partnerName={{.Host}}&seat={{.AccountID}}&token={{.SourceId}}" | ||
maintainer: | ||
email: "[email protected]" | ||
capabilities: | ||
app: | ||
mediaTypes: | ||
- banner | ||
- video | ||
- audio | ||
- native | ||
site: | ||
mediaTypes: | ||
- banner | ||
- video | ||
- audio | ||
- native | ||
userSync: | ||
# smarthub supports user syncing, but requires configuration by the host. contact this | ||
|