Skip to content

Commit f3b5bce

Browse files
Smarthub: Update to Attekmi Endpoint (#4047)
1 parent 64d41cd commit f3b5bce

19 files changed

+23
-23
lines changed

adapters/smarthub/smarthub_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
func TestJsonSamples(t *testing.T) {
1313
bidder, buildErr := Builder(openrtb_ext.BidderSmartHub, config.Adapter{
14-
Endpoint: "http://prebid.smart-hub.io/pbserver?partnerName={{.Host}}&seat={{.AccountID}}&token={{.SourceId}}"}, config.Server{ExternalUrl: "http://hosturl.com", GvlID: 1, DataCenter: "2"})
14+
Endpoint: "https://prebid.example.com/pbserver?partnerName={{.Host}}&seat={{.AccountID}}&token={{.SourceId}}"}, config.Server{ExternalUrl: "http://hosturl.com", GvlID: 1, DataCenter: "2"})
1515

1616
assert.NoError(t, buildErr)
1717
adapterstest.RunJSONBidderTest(t, "smarthubtest", bidder)

adapters/smarthub/smarthubtest/exemplary/banner.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"httpCalls": [
4747
{
4848
"expectedRequest": {
49-
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
49+
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
5050
"body": {
5151
"id": "id",
5252
"imp": [

adapters/smarthub/smarthubtest/exemplary/native.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"httpCalls": [
4747
{
4848
"expectedRequest": {
49-
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
49+
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
5050
"body": {
5151
"id": "id",
5252
"imp": [

adapters/smarthub/smarthubtest/exemplary/video.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"httpCalls": [
6767
{
6868
"expectedRequest": {
69-
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
69+
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
7070
"body": {
7171
"id": "id",
7272
"imp": [

adapters/smarthub/smarthubtest/supplemental/bad-response.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"httpCalls": [
4747
{
4848
"expectedRequest": {
49-
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
49+
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
5050
"body": {
5151
"id": "id",
5252
"imp": [

adapters/smarthub/smarthubtest/supplemental/empty-seatbid-0-bid.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"httpCalls": [
4747
{
4848
"expectedRequest": {
49-
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
49+
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
5050
"body": {
5151
"id": "id",
5252
"imp": [

adapters/smarthub/smarthubtest/supplemental/empty-seatbid.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"httpCalls": [
4747
{
4848
"expectedRequest": {
49-
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
49+
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
5050
"body": {
5151
"id": "id",
5252
"imp": [

adapters/smarthub/smarthubtest/supplemental/status-204.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"httpCalls": [
4747
{
4848
"expectedRequest": {
49-
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
49+
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
5050
"body": {
5151
"id": "id",
5252
"imp": [

adapters/smarthub/smarthubtest/supplemental/status-400.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"httpCalls": [
4747
{
4848
"expectedRequest": {
49-
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
49+
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
5050
"body": {
5151
"id": "id",
5252
"imp": [

adapters/smarthub/smarthubtest/supplemental/status-503.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"httpCalls": [
4747
{
4848
"expectedRequest": {
49-
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
49+
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
5050
"body": {
5151
"id": "id",
5252
"imp": [

adapters/smarthub/smarthubtest/supplemental/unexpected-status.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"httpCalls": [
4747
{
4848
"expectedRequest": {
49-
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
49+
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
5050
"body": {
5151
"id": "id",
5252
"imp": [

adapters/smarthub/smarthubtest/supplemental/wrong-bidtype.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"httpCalls": [
4747
{
4848
"expectedRequest": {
49-
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
49+
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
5050
"body": {
5151
"id": "id",
5252
"imp": [

static/bidder-info/felixads.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
endpoint: "http://felixads-prebid.smart-hub.io/pbserver/?seat={{.AccountID}}&token={{.SourceId}}"
1+
endpoint: "https://felixads-prebid.attekmi.com/pbserver/?seat={{.AccountID}}&token={{.SourceId}}"
22
aliasOf: "smarthub"

static/bidder-info/jdpmedia.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
endpoint: "http://jdpmedia-prebid.smart-hub.io/pbserver/?seat={{.AccountID}}&token={{.SourceId}}"
1+
endpoint: "https://jdpmedia-prebid.attekmi.com/pbserver/?seat={{.AccountID}}&token={{.SourceId}}"
22
aliasOf: "smarthub"
33
userSync:
44
supports:

static/bidder-info/markapp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
endpoint: "http://markapp-prebid.smart-hub.io/pbserver/?seat={{.AccountID}}&token={{.SourceId}}"
1+
endpoint: "https://markapp-prebid.attekmi.com/pbserver/?seat={{.AccountID}}&token={{.SourceId}}"
22
aliasOf: "smarthub"
33
userSync:
44
supports:

static/bidder-info/smarthub.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
endpoint: "http://prebid.smart-hub.io/pbserver?partnerName={{.Host}}&seat={{.AccountID}}&token={{.SourceId}}"
1+
endpoint: "https://prebid.attekmi.com/pbserver?partnerName={{.Host}}&seat={{.AccountID}}&token={{.SourceId}}"
22
maintainer:
3-
3+
44
capabilities:
55
app:
66
mediaTypes:
@@ -13,7 +13,7 @@ capabilities:
1313
- video
1414
- native
1515
userSync:
16-
# smarthub supports user syncing, but requires configuration by the host. contact this
16+
# Attekmi supports user syncing, but requires configuration by the host. contact this
1717
# bidder directly at the email address in this file to ask about enabling user sync.
1818
supports:
1919
- redirect

static/bidder-info/tredio.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
endpoint: "http://tredio-prebid.smart-hub.io/pbserver/?seat={{.AccountID}}&token={{.SourceId}}"
1+
endpoint: "https://tredio-prebid.attekmi.com/pbserver/?seat={{.AccountID}}&token={{.SourceId}}"
22
aliasOf: "smarthub"
33
userSync:
44
supports:

static/bidder-info/vimayx.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
endpoint: "http://vimayx-prebid.smart-hub.io/pbserver/?seat={{.AccountID}}&token={{.SourceId}}"
1+
endpoint: "https://vimayx-prebid.attekmi.com/pbserver/?seat={{.AccountID}}&token={{.SourceId}}"
22
aliasOf: "smarthub"

static/bidder-params/smarthub.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"$schema": "http://json-schema.org/draft-04/schema#",
3-
"title": "SmartHub Adapter Params",
4-
"description": "A schema which validates params accepted by the SmartHub adapter",
3+
"title": "Attekmi (formerly SmartHub) Adapter Params",
4+
"description": "A schema which validates params accepted by the Attekmi (formerly SmartHub) adapter",
55
"type": "object",
66
"properties": {
77
"partnerName": {
88
"type": "string",
9-
"description": "SmartHub unique partner name",
9+
"description": "Attekmi (formerly SmartHub) unique partner name",
1010
"minLength": 1
1111
},
1212
"seat": {

0 commit comments

Comments
 (0)