Skip to content

Commit

Permalink
Change endpoint for Teads adapter (#3303)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-maxime-liege authored Nov 20, 2023
1 parent ea01ccf commit 1e89053
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions adapters/teads/teads_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

func TestJsonSamples(t *testing.T) {
bidder, buildErr := Builder(openrtb_ext.BidderTeads, config.Adapter{
Endpoint: "https://a.teads.tv/prebid-server/bid-request"}, config.Server{ExternalUrl: "https://a.teads.tv/prebid-server/bid-request", GvlID: 1, DataCenter: "2"})
Endpoint: "https://psrv.teads.tv/prebid-server/bid-request"}, config.Server{ExternalUrl: "https://psrv.teads.tv/prebid-server/bid-request", GvlID: 1, DataCenter: "2"})

if buildErr != nil {
t.Fatalf("Builder returned unexpected error %v", buildErr)
Expand All @@ -22,7 +22,7 @@ func TestJsonSamples(t *testing.T) {

func TestEndpointTemplateMalformed(t *testing.T) {
_, buildErr := Builder(openrtb_ext.BidderTeads, config.Adapter{
Endpoint: "{{Malformed}}"}, config.Server{ExternalUrl: "https://a.teads.tv/prebid-server/bid-request", GvlID: 1, DataCenter: "2"})
Endpoint: "{{Malformed}}"}, config.Server{ExternalUrl: "https://psrv.teads.tv/prebid-server/bid-request", GvlID: 1, DataCenter: "2"})

assert.Error(t, buildErr)
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "https://a.teads.tv/prebid-server/bid-request",
"uri": "https://psrv.teads.tv/prebid-server/bid-request",
"body": {
"id": "test-request-id",
"imp": [
Expand Down
2 changes: 1 addition & 1 deletion adapters/teads/teadstest/exemplary/simple-banner.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "https://a.teads.tv/prebid-server/bid-request",
"uri": "https://psrv.teads.tv/prebid-server/bid-request",
"body": {
"id": "test-request-id",
"imp": [
Expand Down
2 changes: 1 addition & 1 deletion adapters/teads/teadstest/exemplary/simple-video.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "https://a.teads.tv/prebid-server/bid-request",
"uri": "https://psrv.teads.tv/prebid-server/bid-request",
"body": {
"id": "test-request-id",
"imp": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "https://a.teads.tv/prebid-server/bid-request",
"uri": "https://psrv.teads.tv/prebid-server/bid-request",
"body": {
"id": "test-request-id",
"imp": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "https://a.teads.tv/prebid-server/bid-request",
"uri": "https://psrv.teads.tv/prebid-server/bid-request",
"body": {
"id": "test-request-id",
"imp": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "https://a.teads.tv/prebid-server/bid-request",
"uri": "https://psrv.teads.tv/prebid-server/bid-request",
"body": {
"id": "test-request-id",
"imp": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "https://a.teads.tv/prebid-server/bid-request",
"uri": "https://psrv.teads.tv/prebid-server/bid-request",
"body": {
"id": "test-request-id",
"imp": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "https://a.teads.tv/prebid-server/bid-request",
"uri": "https://psrv.teads.tv/prebid-server/bid-request",
"body": {
"id": "test-request-id",
"imp": [
Expand Down
2 changes: 1 addition & 1 deletion adapters/teads/teadstest/supplemental/status-400.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "https://a.teads.tv/prebid-server/bid-request",
"uri": "https://psrv.teads.tv/prebid-server/bid-request",
"body": {
"id": "test-request-id",
"imp": [
Expand Down
2 changes: 1 addition & 1 deletion adapters/teads/teadstest/supplemental/status-500.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "https://a.teads.tv/prebid-server/bid-request",
"uri": "https://psrv.teads.tv/prebid-server/bid-request",
"body": {
"id": "test-request-id",
"imp": [
Expand Down
2 changes: 1 addition & 1 deletion static/bidder-info/teads.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
endpoint: "https://a.teads.tv/prebid-server/bid-request"
endpoint: "https://psrv.teads.tv/prebid-server/bid-request"
maintainer:
email: "[email protected]"
gvlVendorID: 132
Expand Down

0 comments on commit 1e89053

Please sign in to comment.