-
Notifications
You must be signed in to change notification settings - Fork 744
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Silvermob: host validation (us, eu, apac) (#3110)
- Loading branch information
Showing
2 changed files
with
65 additions
and
2 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
53 changes: 53 additions & 0 deletions
53
adapters/silvermob/silvermobtest/supplemental/invalid-host.json
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,53 @@ | ||
{ | ||
"mockBidRequest": { | ||
"id": "some-request-id", | ||
"device": { | ||
"ua": "test-user-agent", | ||
"ip": "123.123.123.123", | ||
"language": "en", | ||
"dnt": 0 | ||
}, | ||
"tmax": 1000, | ||
"user": { | ||
"buyeruid": "awesome-user" | ||
}, | ||
"app": { | ||
"publisher": { | ||
"id": "123456789" | ||
}, | ||
"cat": [ | ||
"IAB22-1" | ||
], | ||
"bundle": "com.app.awesome", | ||
"name": "Awesome App", | ||
"domain": "awesomeapp.com", | ||
"id": "123456789" | ||
}, | ||
"imp": [ | ||
{ | ||
"id": "some-impression-id", | ||
"tagid": "ogTAGID", | ||
"banner": { | ||
"w":320, | ||
"h":50 | ||
}, | ||
"ext": { | ||
"bidder": { | ||
"host": "some_host", | ||
"zoneid": "0" | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"httpCalls": [ | ||
], | ||
"expectedBidResponses": [ | ||
], | ||
"expectedMakeRequestsErrors": [ | ||
{ | ||
"value": "invalid host some_host", | ||
"comparison": "literal" | ||
} | ||
] | ||
} |