From b21c2a0980c8730e8d8b83eb48790b10048baec3 Mon Sep 17 00:00:00 2001 From: BizzClick Date: Fri, 17 May 2024 21:55:13 +0300 Subject: [PATCH] rename bizzclick to blasto --- .../{bizzclick/bizzclick.go => blasto/blasto.go} | 16 ++++++++-------- .../bizzclick_test.go => blasto/blasto_test.go} | 10 +++++----- .../blastotest}/exemplary/banner-app.json | 8 +++++--- .../blastotest}/exemplary/banner-web.json | 9 ++++++--- .../exemplary/default-host-param.json | 8 +++++--- .../blastotest}/exemplary/native-app.json | 8 +++++--- .../blastotest}/exemplary/native-web.json | 8 +++++--- .../blastotest}/exemplary/video-app.json | 8 +++++--- .../blastotest}/exemplary/video-web.json | 8 +++++--- .../supplemental/empty-seatbid-array.json | 6 ++++-- .../supplemental/invalid-blasto-ext-object.json} | 0 .../supplemental/invalid-response.json | 6 ++++-- .../supplemental/status-code-bad-request.json | 6 ++++-- .../supplemental/status-code-no-content.json | 6 ++++-- .../supplemental/status-code-other-error.json | 6 ++++-- .../status-code-service-unavailable.json | 6 ++++-- adapters/{bizzclick => blasto}/params_test.go | 8 ++++---- exchange/adapter_builders.go | 4 ++-- openrtb_ext/bidders.go | 4 ++-- openrtb_ext/{imp_bizzclick.go => imp_blasto.go} | 2 +- .../bidder-info/{bizzclick.yaml => blasto.yaml} | 8 ++++---- .../{bizzclick.json => blasto.json} | 4 ++-- 22 files changed, 88 insertions(+), 61 deletions(-) rename adapters/{bizzclick/bizzclick.go => blasto/blasto.go} (92%) rename adapters/{bizzclick/bizzclick_test.go => blasto/blasto_test.go} (57%) rename adapters/{bizzclick/bizzclicktest => blasto/blastotest}/exemplary/banner-app.json (94%) rename adapters/{bizzclick/bizzclicktest => blasto/blastotest}/exemplary/banner-web.json (95%) rename adapters/{bizzclick/bizzclicktest => blasto/blastotest}/exemplary/default-host-param.json (94%) rename adapters/{bizzclick/bizzclicktest => blasto/blastotest}/exemplary/native-app.json (95%) rename adapters/{bizzclick/bizzclicktest => blasto/blastotest}/exemplary/native-web.json (95%) rename adapters/{bizzclick/bizzclicktest => blasto/blastotest}/exemplary/video-app.json (95%) rename adapters/{bizzclick/bizzclicktest => blasto/blastotest}/exemplary/video-web.json (95%) rename adapters/{bizzclick/bizzclicktest => blasto/blastotest}/supplemental/empty-seatbid-array.json (94%) rename adapters/{bizzclick/bizzclicktest/supplemental/invalid-bizzclick-ext-object.json => blasto/blastotest/supplemental/invalid-blasto-ext-object.json} (100%) rename adapters/{bizzclick/bizzclicktest => blasto/blastotest}/supplemental/invalid-response.json (94%) rename adapters/{bizzclick/bizzclicktest => blasto/blastotest}/supplemental/status-code-bad-request.json (92%) rename adapters/{bizzclick/bizzclicktest => blasto/blastotest}/supplemental/status-code-no-content.json (91%) rename adapters/{bizzclick/bizzclicktest => blasto/blastotest}/supplemental/status-code-other-error.json (91%) rename adapters/{bizzclick/bizzclicktest => blasto/blastotest}/supplemental/status-code-service-unavailable.json (91%) rename adapters/{bizzclick => blasto}/params_test.go (76%) rename openrtb_ext/{imp_bizzclick.go => imp_blasto.go} (86%) rename static/bidder-info/{bizzclick.yaml => blasto.yaml} (68%) rename static/bidder-params/{bizzclick.json => blasto.json} (92%) diff --git a/adapters/bizzclick/bizzclick.go b/adapters/blasto/blasto.go similarity index 92% rename from adapters/bizzclick/bizzclick.go rename to adapters/blasto/blasto.go index 40805da0cb0..4cfb0c97065 100644 --- a/adapters/bizzclick/bizzclick.go +++ b/adapters/blasto/blasto.go @@ -1,4 +1,4 @@ -package bizzclick +package blasto import ( "encoding/json" @@ -60,7 +60,7 @@ func (a *adapter) MakeRequests( requestsToBidder []*adapters.RequestData, errs []error, ) { - bizzclickExt, err := a.getImpressionExt(&openRTBRequest.Imp[0]) + blastoExt, err := a.getImpressionExt(&openRTBRequest.Imp[0]) if err != nil { return nil, []error{err} } @@ -68,7 +68,7 @@ func (a *adapter) MakeRequests( for idx := range openRTBRequest.Imp { openRTBRequest.Imp[idx].Ext = nil } - url, err := a.buildEndpointURL(bizzclickExt) + url, err := a.buildEndpointURL(blastoExt) if err != nil { return nil, []error{err} } @@ -87,24 +87,24 @@ func (a *adapter) MakeRequests( }}, nil } -func (a *adapter) getImpressionExt(imp *openrtb2.Imp) (*openrtb_ext.ExtBizzclick, error) { +func (a *adapter) getImpressionExt(imp *openrtb2.Imp) (*openrtb_ext.ExtBlasto, error) { var bidderExt adapters.ExtImpBidder if err := json.Unmarshal(imp.Ext, &bidderExt); err != nil { return nil, &errortypes.BadInput{ Message: "ext.bidder not provided", } } - var bizzclickExt openrtb_ext.ExtBizzclick - if err := json.Unmarshal(bidderExt.Bidder, &bizzclickExt); err != nil { + var blastoExt openrtb_ext.ExtBlasto + if err := json.Unmarshal(bidderExt.Bidder, &blastoExt); err != nil { return nil, &errortypes.BadInput{ Message: "ext.bidder not provided", } } - return &bizzclickExt, nil + return &blastoExt, nil } -func (a *adapter) buildEndpointURL(params *openrtb_ext.ExtBizzclick) (string, error) { +func (a *adapter) buildEndpointURL(params *openrtb_ext.ExtBlasto) (string, error) { host := "us-e-node1" if params.Host != "" { host = params.Host diff --git a/adapters/bizzclick/bizzclick_test.go b/adapters/blasto/blasto_test.go similarity index 57% rename from adapters/bizzclick/bizzclick_test.go rename to adapters/blasto/blasto_test.go index 5933ee551a6..1c9d79410d2 100644 --- a/adapters/bizzclick/bizzclick_test.go +++ b/adapters/blasto/blasto_test.go @@ -1,4 +1,4 @@ -package bizzclick +package blasto import ( "testing" @@ -10,18 +10,18 @@ import ( ) func TestJsonSamples(t *testing.T) { - bidder, buildErr := Builder(openrtb_ext.BidderBizzclick, config.Adapter{ - Endpoint: "http://{{.Host}}.bizzclick.com/bid?rtb_seat_id={{.SourceId}}&secret_key={{.AccountID}}"}, config.Server{ExternalUrl: "http://hosturl.com", GvlID: 1, DataCenter: "2"}) + bidder, buildErr := Builder(openrtb_ext.BidderBlasto, config.Adapter{ + Endpoint: "http://{{.Host}}.blasto.com/bid?rtb_seat_id={{.SourceId}}&secret_key={{.AccountID}}"}, config.Server{ExternalUrl: "http://hosturl.com", GvlID: 1, DataCenter: "2"}) if buildErr != nil { t.Fatalf("Builder returned unexpected error %v", buildErr) } - adapterstest.RunJSONBidderTest(t, "bizzclicktest", bidder) + adapterstest.RunJSONBidderTest(t, "blastotest", bidder) } func TestEndpointTemplateMalformed(t *testing.T) { - _, buildErr := Builder(openrtb_ext.BidderBizzclick, config.Adapter{ + _, buildErr := Builder(openrtb_ext.BidderBlasto, config.Adapter{ Endpoint: "{{Malformed}}"}, config.Server{ExternalUrl: "http://hosturl.com", GvlID: 1, DataCenter: "2"}) assert.Error(t, buildErr) diff --git a/adapters/bizzclick/bizzclicktest/exemplary/banner-app.json b/adapters/blasto/blastotest/exemplary/banner-app.json similarity index 94% rename from adapters/bizzclick/bizzclicktest/exemplary/banner-app.json rename to adapters/blasto/blastotest/exemplary/banner-app.json index 840ed212623..7bdcf0c51f2 100644 --- a/adapters/bizzclick/bizzclicktest/exemplary/banner-app.json +++ b/adapters/blasto/blastotest/exemplary/banner-app.json @@ -61,7 +61,7 @@ "123.123.123.123" ] }, - "uri": "http://host.bizzclick.com/bid?rtb_seat_id=sourceId&secret_key=accountId", + "uri": "http://host.blasto.ai/bid?rtb_seat_id=sourceId&secret_key=accountId", "body": { "id": "some-request-id", "device": { @@ -97,7 +97,9 @@ }, "tmax": 1000 }, - "impIDs":["some-impression-id"] + "impIDs": [ + "some-impression-id" + ] }, "mockResponse": { "status": 200, @@ -120,7 +122,7 @@ } ], "type": "banner", - "seat": "bizzclick" + "seat": "blasto" } ], "cur": "USD" diff --git a/adapters/bizzclick/bizzclicktest/exemplary/banner-web.json b/adapters/blasto/blastotest/exemplary/banner-web.json similarity index 95% rename from adapters/bizzclick/bizzclicktest/exemplary/banner-web.json rename to adapters/blasto/blastotest/exemplary/banner-web.json index 21dad82fd12..09382bd37b5 100644 --- a/adapters/bizzclick/bizzclicktest/exemplary/banner-web.json +++ b/adapters/blasto/blastotest/exemplary/banner-web.json @@ -70,7 +70,7 @@ "123.123.123.123" ] }, - "uri": "http://host.bizzclick.com/bid?rtb_seat_id=sourceId&secret_key=accountId", + "uri": "http://host.blasto.ai/bid?rtb_seat_id=sourceId&secret_key=accountId", "body": { "id": "some-request-id", "device": { @@ -108,7 +108,10 @@ }, "tmax": 1000 }, - "impIDs":["some-impression-id1","some-impression-id2"] + "impIDs": [ + "some-impression-id1", + "some-impression-id2" + ] }, "mockResponse": { "status": 200, @@ -143,7 +146,7 @@ } ], "type": "banner", - "seat": "bizzclick" + "seat": "blasto" } ], "cur": "USD" diff --git a/adapters/bizzclick/bizzclicktest/exemplary/default-host-param.json b/adapters/blasto/blastotest/exemplary/default-host-param.json similarity index 94% rename from adapters/bizzclick/bizzclicktest/exemplary/default-host-param.json rename to adapters/blasto/blastotest/exemplary/default-host-param.json index a99099092d7..468c5be00a0 100644 --- a/adapters/bizzclick/bizzclicktest/exemplary/default-host-param.json +++ b/adapters/blasto/blastotest/exemplary/default-host-param.json @@ -60,7 +60,7 @@ "123.123.123.123" ] }, - "uri": "http://us-e-node1.bizzclick.com/bid?rtb_seat_id=placementId&secret_key=accountId", + "uri": "http://us-e-node1.blasto.ai/bid?rtb_seat_id=placementId&secret_key=accountId", "body": { "id": "some-request-id", "device": { @@ -96,7 +96,9 @@ }, "tmax": 1000 }, - "impIDs":["some-impression-id"] + "impIDs": [ + "some-impression-id" + ] }, "mockResponse": { "status": 200, @@ -119,7 +121,7 @@ } ], "type": "banner", - "seat": "bizzclick" + "seat": "blasto" } ], "cur": "USD" diff --git a/adapters/bizzclick/bizzclicktest/exemplary/native-app.json b/adapters/blasto/blastotest/exemplary/native-app.json similarity index 95% rename from adapters/bizzclick/bizzclicktest/exemplary/native-app.json rename to adapters/blasto/blastotest/exemplary/native-app.json index 65fe85085ad..d0e81d4798d 100644 --- a/adapters/bizzclick/bizzclicktest/exemplary/native-app.json +++ b/adapters/blasto/blastotest/exemplary/native-app.json @@ -61,7 +61,7 @@ "123.123.123.123" ] }, - "uri": "http://host.bizzclick.com/bid?rtb_seat_id=sourceId&secret_key=accountId", + "uri": "http://host.blasto.ai/bid?rtb_seat_id=sourceId&secret_key=accountId", "body": { "id": "some-request-id", "device": { @@ -97,7 +97,9 @@ }, "tmax": 1000 }, - "impIDs":["some-impression-id"] + "impIDs": [ + "some-impression-id" + ] }, "mockResponse": { "status": 200, @@ -118,7 +120,7 @@ } ], "type": "native", - "seat": "bizzclick" + "seat": "blasto" } ], "cur": "USD" diff --git a/adapters/bizzclick/bizzclicktest/exemplary/native-web.json b/adapters/blasto/blastotest/exemplary/native-web.json similarity index 95% rename from adapters/bizzclick/bizzclicktest/exemplary/native-web.json rename to adapters/blasto/blastotest/exemplary/native-web.json index 0e36975194c..9a6fbf085f8 100644 --- a/adapters/bizzclick/bizzclicktest/exemplary/native-web.json +++ b/adapters/blasto/blastotest/exemplary/native-web.json @@ -55,7 +55,7 @@ "2607:fb90:f27:4512:d800:cb23:a603:e245" ] }, - "uri": "http://host.bizzclick.com/bid?rtb_seat_id=sourceId&secret_key=accountId", + "uri": "http://host.blasto.ai/bid?rtb_seat_id=sourceId&secret_key=accountId", "body": { "id": "some-request-id", "device": { @@ -85,7 +85,9 @@ }, "tmax": 1000 }, - "impIDs":["some-impression-id"] + "impIDs": [ + "some-impression-id" + ] }, "mockResponse": { "status": 200, @@ -105,7 +107,7 @@ "crid": "20" } ], - "seat": "bizzclick" + "seat": "blasto" } ], "cur": "USD" diff --git a/adapters/bizzclick/bizzclicktest/exemplary/video-app.json b/adapters/blasto/blastotest/exemplary/video-app.json similarity index 95% rename from adapters/bizzclick/bizzclicktest/exemplary/video-app.json rename to adapters/blasto/blastotest/exemplary/video-app.json index 9c16795230a..29d182505c4 100644 --- a/adapters/bizzclick/bizzclicktest/exemplary/video-app.json +++ b/adapters/blasto/blastotest/exemplary/video-app.json @@ -66,7 +66,7 @@ "123.123.123.123" ] }, - "uri": "http://host.bizzclick.com/bid?rtb_seat_id=sourceId&secret_key=accountId", + "uri": "http://host.blasto.ai/bid?rtb_seat_id=sourceId&secret_key=accountId", "body": { "id": "some-request-id", "device": { @@ -107,7 +107,9 @@ }, "tmax": 1000 }, - "impIDs":["some-impression-id"] + "impIDs": [ + "some-impression-id" + ] }, "mockResponse": { "status": 200, @@ -129,7 +131,7 @@ "h": 720 } ], - "seat": "bizzclick" + "seat": "blasto" } ], "cur": "USD" diff --git a/adapters/bizzclick/bizzclicktest/exemplary/video-web.json b/adapters/blasto/blastotest/exemplary/video-web.json similarity index 95% rename from adapters/bizzclick/bizzclicktest/exemplary/video-web.json rename to adapters/blasto/blastotest/exemplary/video-web.json index 9410fdb78df..7dacd1d7943 100644 --- a/adapters/bizzclick/bizzclicktest/exemplary/video-web.json +++ b/adapters/blasto/blastotest/exemplary/video-web.json @@ -60,7 +60,7 @@ "123.123.123.123" ] }, - "uri": "http://host.bizzclick.com/bid?rtb_seat_id=sourceId&secret_key=accountId", + "uri": "http://host.blasto.ai/bid?rtb_seat_id=sourceId&secret_key=accountId", "body": { "id": "some-request-id", "device": { @@ -95,7 +95,9 @@ }, "tmax": 1000 }, - "impIDs":["some-impression-id"] + "impIDs": [ + "some-impression-id" + ] }, "mockResponse": { "status": 200, @@ -122,7 +124,7 @@ } } ], - "seat": "bizzclick" + "seat": "blasto" } ], "cur": "USD" diff --git a/adapters/bizzclick/bizzclicktest/supplemental/empty-seatbid-array.json b/adapters/blasto/blastotest/supplemental/empty-seatbid-array.json similarity index 94% rename from adapters/bizzclick/bizzclicktest/supplemental/empty-seatbid-array.json rename to adapters/blasto/blastotest/supplemental/empty-seatbid-array.json index 40aa5374504..ab7e9a8accb 100644 --- a/adapters/bizzclick/bizzclicktest/supplemental/empty-seatbid-array.json +++ b/adapters/blasto/blastotest/supplemental/empty-seatbid-array.json @@ -66,7 +66,7 @@ "123.123.123.123" ] }, - "uri": "http://host.bizzclick.com/bid?rtb_seat_id=sourceId&secret_key=accountId", + "uri": "http://host.blasto.ai/bid?rtb_seat_id=sourceId&secret_key=accountId", "body": { "id": "some-request-id", "device": { @@ -107,7 +107,9 @@ }, "tmax": 1000 }, - "impIDs":["some-impression-id"] + "impIDs": [ + "some-impression-id" + ] }, "mockResponse": { "status": 200, diff --git a/adapters/bizzclick/bizzclicktest/supplemental/invalid-bizzclick-ext-object.json b/adapters/blasto/blastotest/supplemental/invalid-blasto-ext-object.json similarity index 100% rename from adapters/bizzclick/bizzclicktest/supplemental/invalid-bizzclick-ext-object.json rename to adapters/blasto/blastotest/supplemental/invalid-blasto-ext-object.json diff --git a/adapters/bizzclick/bizzclicktest/supplemental/invalid-response.json b/adapters/blasto/blastotest/supplemental/invalid-response.json similarity index 94% rename from adapters/bizzclick/bizzclicktest/supplemental/invalid-response.json rename to adapters/blasto/blastotest/supplemental/invalid-response.json index 4808f4823ee..a5d81d3490f 100644 --- a/adapters/bizzclick/bizzclicktest/supplemental/invalid-response.json +++ b/adapters/blasto/blastotest/supplemental/invalid-response.json @@ -61,7 +61,7 @@ "123.123.123.123" ] }, - "uri": "http://host.bizzclick.com/bid?rtb_seat_id=sourceId&secret_key=accountId", + "uri": "http://host.blasto.ai/bid?rtb_seat_id=sourceId&secret_key=accountId", "body": { "id": "some-request-id", "device": { @@ -97,7 +97,9 @@ }, "tmax": 1000 }, - "impIDs":["some-impression-id"] + "impIDs": [ + "some-impression-id" + ] }, "mockResponse": { "status": 200, diff --git a/adapters/bizzclick/bizzclicktest/supplemental/status-code-bad-request.json b/adapters/blasto/blastotest/supplemental/status-code-bad-request.json similarity index 92% rename from adapters/bizzclick/bizzclicktest/supplemental/status-code-bad-request.json rename to adapters/blasto/blastotest/supplemental/status-code-bad-request.json index b274c758856..e841d18a6b7 100644 --- a/adapters/bizzclick/bizzclicktest/supplemental/status-code-bad-request.json +++ b/adapters/blasto/blastotest/supplemental/status-code-bad-request.json @@ -43,7 +43,7 @@ "httpCalls": [ { "expectedRequest": { - "uri": "http://host.bizzclick.com/bid?rtb_seat_id=sourceId&secret_key=accountId", + "uri": "http://host.blasto.ai/bid?rtb_seat_id=sourceId&secret_key=accountId", "body": { "id": "some-request-id", "imp": [ @@ -78,7 +78,9 @@ }, "tmax": 1000 }, - "impIDs":["some-impression-id"] + "impIDs": [ + "some-impression-id" + ] }, "mockResponse": { "status": 400 diff --git a/adapters/bizzclick/bizzclicktest/supplemental/status-code-no-content.json b/adapters/blasto/blastotest/supplemental/status-code-no-content.json similarity index 91% rename from adapters/bizzclick/bizzclicktest/supplemental/status-code-no-content.json rename to adapters/blasto/blastotest/supplemental/status-code-no-content.json index 6163a4af0dd..e0e1bbcd0c5 100644 --- a/adapters/bizzclick/bizzclicktest/supplemental/status-code-no-content.json +++ b/adapters/blasto/blastotest/supplemental/status-code-no-content.json @@ -37,7 +37,7 @@ "httpCalls": [ { "expectedRequest": { - "uri": "http://host.bizzclick.com/bid?rtb_seat_id=sourceId&secret_key=accountId", + "uri": "http://host.blasto.ai/bid?rtb_seat_id=sourceId&secret_key=accountId", "body": { "id": "some-request-id", "imp": [ @@ -66,7 +66,9 @@ }, "tmax": 1000 }, - "impIDs":["some-impression-id"] + "impIDs": [ + "some-impression-id" + ] }, "mockResponse": { "status": 204 diff --git a/adapters/bizzclick/bizzclicktest/supplemental/status-code-other-error.json b/adapters/blasto/blastotest/supplemental/status-code-other-error.json similarity index 91% rename from adapters/bizzclick/bizzclicktest/supplemental/status-code-other-error.json rename to adapters/blasto/blastotest/supplemental/status-code-other-error.json index af2a91110d2..f7a4f641e62 100644 --- a/adapters/bizzclick/bizzclicktest/supplemental/status-code-other-error.json +++ b/adapters/blasto/blastotest/supplemental/status-code-other-error.json @@ -37,7 +37,7 @@ "httpCalls": [ { "expectedRequest": { - "uri": "http://host.bizzclick.com/bid?rtb_seat_id=sourceId&secret_key=accountId", + "uri": "http://host.blasto.ai/bid?rtb_seat_id=sourceId&secret_key=accountId", "body": { "id": "some-request-id", "imp": [ @@ -66,7 +66,9 @@ }, "tmax": 1000 }, - "impIDs":["some-impression-id"] + "impIDs": [ + "some-impression-id" + ] }, "mockResponse": { "status": 306 diff --git a/adapters/bizzclick/bizzclicktest/supplemental/status-code-service-unavailable.json b/adapters/blasto/blastotest/supplemental/status-code-service-unavailable.json similarity index 91% rename from adapters/bizzclick/bizzclicktest/supplemental/status-code-service-unavailable.json rename to adapters/blasto/blastotest/supplemental/status-code-service-unavailable.json index d4c0fa392c8..9afe7ff6958 100644 --- a/adapters/bizzclick/bizzclicktest/supplemental/status-code-service-unavailable.json +++ b/adapters/blasto/blastotest/supplemental/status-code-service-unavailable.json @@ -37,7 +37,7 @@ "httpCalls": [ { "expectedRequest": { - "uri": "http://host.bizzclick.com/bid?rtb_seat_id=sourceId&secret_key=accountId", + "uri": "http://host.blasto.ai/bid?rtb_seat_id=sourceId&secret_key=accountId", "body": { "id": "some-request-id", "imp": [ @@ -66,7 +66,9 @@ }, "tmax": 1000 }, - "impIDs":["some-impression-id"] + "impIDs": [ + "some-impression-id" + ] }, "mockResponse": { "status": 503 diff --git a/adapters/bizzclick/params_test.go b/adapters/blasto/params_test.go similarity index 76% rename from adapters/bizzclick/params_test.go rename to adapters/blasto/params_test.go index fe72e41f16b..45731ca6a5d 100644 --- a/adapters/bizzclick/params_test.go +++ b/adapters/blasto/params_test.go @@ -1,4 +1,4 @@ -package bizzclick +package blasto import ( "encoding/json" @@ -18,8 +18,8 @@ func TestValidParams(t *testing.T) { } for _, validParam := range validParams { - if err := validator.Validate(openrtb_ext.BidderBizzclick, json.RawMessage(validParam)); err != nil { - t.Errorf("Schema rejected Bizzclick params: %s", validParam) + if err := validator.Validate(openrtb_ext.BidderBlasto, json.RawMessage(validParam)); err != nil { + t.Errorf("Schema rejected Blasto params: %s", validParam) } } } @@ -43,7 +43,7 @@ func TestInvalidParams(t *testing.T) { } for _, invalidParam := range invalidParams { - if err := validator.Validate(openrtb_ext.BidderBizzclick, json.RawMessage(invalidParam)); err == nil { + if err := validator.Validate(openrtb_ext.BidderBlasto, json.RawMessage(invalidParam)); err == nil { t.Errorf("Schema allowed unexpected params: %s", invalidParam) } } diff --git a/exchange/adapter_builders.go b/exchange/adapter_builders.go index 09c7bf83777..1ff22612e40 100755 --- a/exchange/adapter_builders.go +++ b/exchange/adapter_builders.go @@ -53,7 +53,7 @@ import ( "github.com/prebid/prebid-server/v2/adapters/bidmyadz" "github.com/prebid/prebid-server/v2/adapters/bidscube" "github.com/prebid/prebid-server/v2/adapters/bidstack" - "github.com/prebid/prebid-server/v2/adapters/bizzclick" + "github.com/prebid/prebid-server/v2/adapters/blasto" "github.com/prebid/prebid-server/v2/adapters/bliink" "github.com/prebid/prebid-server/v2/adapters/blue" "github.com/prebid/prebid-server/v2/adapters/bluesea" @@ -263,7 +263,7 @@ func newAdapterBuilders() map[openrtb_ext.BidderName]adapters.Builder { openrtb_ext.BidderBidmyadz: bidmyadz.Builder, openrtb_ext.BidderBidsCube: bidscube.Builder, openrtb_ext.BidderBidstack: bidstack.Builder, - openrtb_ext.BidderBizzclick: bizzclick.Builder, + openrtb_ext.BidderBlasto: blasto.Builder, openrtb_ext.BidderBliink: bliink.Builder, openrtb_ext.BidderBlue: blue.Builder, openrtb_ext.BidderBluesea: bluesea.Builder, diff --git a/openrtb_ext/bidders.go b/openrtb_ext/bidders.go index 5f6e35452d5..d43616815f1 100644 --- a/openrtb_ext/bidders.go +++ b/openrtb_ext/bidders.go @@ -69,7 +69,7 @@ var coreBidderNames []BidderName = []BidderName{ BidderBidmyadz, BidderBidsCube, BidderBidstack, - BidderBizzclick, + BidderBlasto, BidderBliink, BidderBlue, BidderBluesea, @@ -357,7 +357,7 @@ const ( BidderBidmyadz BidderName = "bidmyadz" BidderBidsCube BidderName = "bidscube" BidderBidstack BidderName = "bidstack" - BidderBizzclick BidderName = "bizzclick" + BidderBlasto BidderName = "blasto" BidderBliink BidderName = "bliink" BidderBlue BidderName = "blue" BidderBluesea BidderName = "bluesea" diff --git a/openrtb_ext/imp_bizzclick.go b/openrtb_ext/imp_blasto.go similarity index 86% rename from openrtb_ext/imp_bizzclick.go rename to openrtb_ext/imp_blasto.go index 15a8c2d0d46..b49544895a9 100644 --- a/openrtb_ext/imp_bizzclick.go +++ b/openrtb_ext/imp_blasto.go @@ -1,6 +1,6 @@ package openrtb_ext -type ExtBizzclick struct { +type ExtBlasto struct { AccountID string `json:"accountId"` SourceID string `json:"sourceId"` Host string `json:"host"` diff --git a/static/bidder-info/bizzclick.yaml b/static/bidder-info/blasto.yaml similarity index 68% rename from static/bidder-info/bizzclick.yaml rename to static/bidder-info/blasto.yaml index 9d0103bcd81..de59b7f2524 100644 --- a/static/bidder-info/bizzclick.yaml +++ b/static/bidder-info/blasto.yaml @@ -1,14 +1,14 @@ -# Contact support@bizzclick.com to connect with Bizzclick exchange. +# Contact support@blasto.ai to connect with Blasto exchange. # We have the following regional endpoint sub-domains: US East - us-e-node1, EU: n1, APAC: n3 # Use Host macro to resolve the endpoint based on the datacenter. # By default, we will use the US East sub-domain. # Please deploy this config in each of your datacenters with the appropriate regional subdomain -endpoint: 'http://{{.Host}}.bizzclick.com/bid?rtb_seat_id={{.SourceId}}&secret_key={{.AccountID}}' +endpoint: 'http://{{.Host}}.blasto.ai/bid?rtb_seat_id={{.SourceId}}&secret_key={{.AccountID}}' maintainer: - email: 'support@bizzclick.com' + email: 'support@blasto.ai' geoscope: - global -endpointCompression: "GZIP" +endpointCompression: 'GZIP' capabilities: app: mediaTypes: diff --git a/static/bidder-params/bizzclick.json b/static/bidder-params/blasto.json similarity index 92% rename from static/bidder-params/bizzclick.json rename to static/bidder-params/blasto.json index 3f16e990be1..5ed3049195e 100644 --- a/static/bidder-params/bizzclick.json +++ b/static/bidder-params/blasto.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Bizzclick Adapter Params", - "description": "A schema which validates params accepted by the Bizzclick adapter", + "title": "Blasto Adapter Params", + "description": "A schema which validates params accepted by the Blasto adapter", "type": "object", "properties": { "accountId": {