Skip to content

Commit

Permalink
Smarthub: Update to Attekmi Endpoint (#4047)
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartHubSolutions authored Dec 16, 2024
1 parent 64d41cd commit f3b5bce
Show file tree
Hide file tree
Showing 19 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion adapters/smarthub/smarthub_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.BidderSmartHub, config.Adapter{
Endpoint: "http://prebid.smart-hub.io/pbserver?partnerName={{.Host}}&seat={{.AccountID}}&token={{.SourceId}}"}, config.Server{ExternalUrl: "http://hosturl.com", GvlID: 1, DataCenter: "2"})
Endpoint: "https://prebid.example.com/pbserver?partnerName={{.Host}}&seat={{.AccountID}}&token={{.SourceId}}"}, config.Server{ExternalUrl: "http://hosturl.com", GvlID: 1, DataCenter: "2"})

assert.NoError(t, buildErr)
adapterstest.RunJSONBidderTest(t, "smarthubtest", bidder)
Expand Down
2 changes: 1 addition & 1 deletion adapters/smarthub/smarthubtest/exemplary/banner.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
"body": {
"id": "id",
"imp": [
Expand Down
2 changes: 1 addition & 1 deletion adapters/smarthub/smarthubtest/exemplary/native.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
"body": {
"id": "id",
"imp": [
Expand Down
2 changes: 1 addition & 1 deletion adapters/smarthub/smarthubtest/exemplary/video.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
"body": {
"id": "id",
"imp": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
"body": {
"id": "id",
"imp": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
"body": {
"id": "id",
"imp": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
"body": {
"id": "id",
"imp": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
"body": {
"id": "id",
"imp": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
"body": {
"id": "id",
"imp": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
"body": {
"id": "id",
"imp": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
"body": {
"id": "id",
"imp": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
"body": {
"id": "id",
"imp": [
Expand Down
2 changes: 1 addition & 1 deletion static/bidder-info/felixads.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
endpoint: "http://felixads-prebid.smart-hub.io/pbserver/?seat={{.AccountID}}&token={{.SourceId}}"
endpoint: "https://felixads-prebid.attekmi.com/pbserver/?seat={{.AccountID}}&token={{.SourceId}}"
aliasOf: "smarthub"
2 changes: 1 addition & 1 deletion static/bidder-info/jdpmedia.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
endpoint: "http://jdpmedia-prebid.smart-hub.io/pbserver/?seat={{.AccountID}}&token={{.SourceId}}"
endpoint: "https://jdpmedia-prebid.attekmi.com/pbserver/?seat={{.AccountID}}&token={{.SourceId}}"
aliasOf: "smarthub"
userSync:
supports:
Expand Down
2 changes: 1 addition & 1 deletion static/bidder-info/markapp.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
endpoint: "http://markapp-prebid.smart-hub.io/pbserver/?seat={{.AccountID}}&token={{.SourceId}}"
endpoint: "https://markapp-prebid.attekmi.com/pbserver/?seat={{.AccountID}}&token={{.SourceId}}"
aliasOf: "smarthub"
userSync:
supports:
Expand Down
6 changes: 3 additions & 3 deletions static/bidder-info/smarthub.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
endpoint: "http://prebid.smart-hub.io/pbserver?partnerName={{.Host}}&seat={{.AccountID}}&token={{.SourceId}}"
endpoint: "https://prebid.attekmi.com/pbserver?partnerName={{.Host}}&seat={{.AccountID}}&token={{.SourceId}}"
maintainer:
email: "[email protected]"
email: "[email protected]"
capabilities:
app:
mediaTypes:
Expand All @@ -13,7 +13,7 @@ capabilities:
- video
- native
userSync:
# smarthub supports user syncing, but requires configuration by the host. contact this
# Attekmi 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
2 changes: 1 addition & 1 deletion static/bidder-info/tredio.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
endpoint: "http://tredio-prebid.smart-hub.io/pbserver/?seat={{.AccountID}}&token={{.SourceId}}"
endpoint: "https://tredio-prebid.attekmi.com/pbserver/?seat={{.AccountID}}&token={{.SourceId}}"
aliasOf: "smarthub"
userSync:
supports:
Expand Down
2 changes: 1 addition & 1 deletion static/bidder-info/vimayx.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
endpoint: "http://vimayx-prebid.smart-hub.io/pbserver/?seat={{.AccountID}}&token={{.SourceId}}"
endpoint: "https://vimayx-prebid.attekmi.com/pbserver/?seat={{.AccountID}}&token={{.SourceId}}"
aliasOf: "smarthub"
6 changes: 3 additions & 3 deletions static/bidder-params/smarthub.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "SmartHub Adapter Params",
"description": "A schema which validates params accepted by the SmartHub adapter",
"title": "Attekmi (formerly SmartHub) Adapter Params",
"description": "A schema which validates params accepted by the Attekmi (formerly SmartHub) adapter",
"type": "object",
"properties": {
"partnerName": {
"type": "string",
"description": "SmartHub unique partner name",
"description": "Attekmi (formerly SmartHub) unique partner name",
"minLength": 1
},
"seat": {
Expand Down

0 comments on commit f3b5bce

Please sign in to comment.