Skip to content

Commit

Permalink
PWBID: Update Default Endpoint (prebid#2903)
Browse files Browse the repository at this point in the history
  • Loading branch information
GLStephen authored and Peiling-Ding committed Jul 14, 2023
1 parent 42a10d1 commit 02f40e3
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion adapters/pwbid/pwbid_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

func TestJsonSamples(t *testing.T) {
bidder, buildErr := Builder(openrtb_ext.BidderPWBid, config.Adapter{
Endpoint: "https://bid.pubwise.io/prebid"},
Endpoint: "https://bidder.east2.pubwise.io/bid/pubwisedirect"},
config.Server{ExternalUrl: "http://hosturl.com", GvlID: 842, DataCenter: "2"})

if buildErr != nil {
Expand Down
4 changes: 2 additions & 2 deletions adapters/pwbid/pwbidtest/exemplary/banner.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "https://bid.pubwise.io/prebid",
"uri": "https://bidder.east2.pubwise.io/bid/pubwisedirect",
"body": {
"id": "test-request-id-banner",
"imp": [
Expand Down Expand Up @@ -90,4 +90,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions adapters/pwbid/pwbidtest/exemplary/native.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "https://bid.pubwise.io/prebid",
"uri": "https://bidder.east2.pubwise.io/bid/pubwisedirect",
"body": {
"id": "test-request-id-native",
"imp": [
Expand Down Expand Up @@ -78,4 +78,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions adapters/pwbid/pwbidtest/exemplary/optional-params.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "https://bid.pubwise.io/prebid",
"uri": "https://bidder.east2.pubwise.io/bid/pubwisedirect",
"body": {
"id": "test-request-id-banner",
"imp": [
Expand Down Expand Up @@ -94,4 +94,4 @@
]
}
]
}
}
2 changes: 1 addition & 1 deletion adapters/pwbid/pwbidtest/exemplary/video.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "https://bid.pubwise.io/prebid",
"uri": "https://bidder.east2.pubwise.io/bid/pubwisedirect",
"body": {
"id": "test-request-id",
"imp": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "https://bid.pubwise.io/prebid",
"uri": "https://bidder.east2.pubwise.io/bid/pubwisedirect",
"body": {
"id": "test-request-id",
"imp": [
Expand Down
2 changes: 1 addition & 1 deletion adapters/pwbid/pwbidtest/supplemental/response-204.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "https://bid.pubwise.io/prebid",
"uri": "https://bidder.east2.pubwise.io/bid/pubwisedirect",
"body": {
"id": "test-request-id",
"imp": [
Expand Down
2 changes: 1 addition & 1 deletion adapters/pwbid/pwbidtest/supplemental/response-400.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "https://bid.pubwise.io/prebid",
"uri": "https://bidder.east2.pubwise.io/bid/pubwisedirect",
"body": {
"id": "test-request-id",
"imp": [
Expand Down
2 changes: 1 addition & 1 deletion adapters/pwbid/pwbidtest/supplemental/response-500.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "https://bid.pubwise.io/prebid",
"uri": "https://bidder.east2.pubwise.io/bid/pubwisedirect",
"body": {
"id": "test-request-id",
"imp": [
Expand Down
4 changes: 2 additions & 2 deletions static/bidder-info/pwbid.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
endpoint: "https://bid.pubwise.io/prebid"
endpoint: "https://bidder.east2.pubwise.io/bid/pubwisedirect"
maintainer:
email: info@pubwise.io
gvlVendorID: 842
Expand All @@ -17,4 +17,4 @@ userSync:
# PubWise supports user syncing, but requires configuration by the host. contact this
# bidder directly at the email address in this file to ask about enabling user sync.
supports:
- redirect
- redirect

0 comments on commit 02f40e3

Please sign in to comment.