Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

seedingAlliance: make suntContent alias, add finative alias and add seatId bidder param in seedingAlliance #3309

Merged
merged 6 commits into from
Dec 7, 2023

Conversation

sag-henmus
Copy link
Contributor

  • remove suntContent adapter, as it is practically a copy of the seedingAlliance code, and add as alias to seedingAlliance
  • add "seatId" as bidder param for seedingAlliance, to make endpoint configurable
  • suntContent was used in chooser_test.go for case insensitivity check, substitute with seedingAlliance

Copy link

Code coverage summary

Note:

  • Prebid team doesn't anticipate tests covering code paths that might result in marshal and unmarshal errors
  • Coverage summary encompasses all commits leading up to the latest one, 810d34c

seedingAlliance

Refer here for heat map coverage report

github.com/prebid/prebid-server/v2/adapters/seedingAlliance/seedingAlliance.go:23:	Builder			80.0%
github.com/prebid/prebid-server/v2/adapters/seedingAlliance/seedingAlliance.go:35:	MakeRequests		88.2%
github.com/prebid/prebid-server/v2/adapters/seedingAlliance/seedingAlliance.go:72:	MakeBids		87.0%
github.com/prebid/prebid-server/v2/adapters/seedingAlliance/seedingAlliance.go:121:	resolvePriceMacro	100.0%
github.com/prebid/prebid-server/v2/adapters/seedingAlliance/seedingAlliance.go:126:	getMediaTypeForBid	83.3%
github.com/prebid/prebid-server/v2/adapters/seedingAlliance/seedingAlliance.go:140:	curExists		100.0%
github.com/prebid/prebid-server/v2/adapters/seedingAlliance/seedingAlliance.go:149:	getExtInfo		100.0%
total:											(statements)		89.2%

endpoint: "https://b.nativendo.de/cds/rtb/bid?ssp=pbs"
endpoint: "https://b.nativendo.de/cds/rtb/bid?ssp={{.AccountID}}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sag-henmus could you explain usage of account id.

Based on account id will request get directed to bidder server hosted in different regions?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sag-henmus could you explain usage of account id.

Based on account id will request get directed to bidder server hosted in different regions?

@sag-henmus requesting to address above comment

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@onkarvhanumante no, this is used as optional identifier for SSPs with a special agreement with us who want to use our adapter.

@onkarvhanumante onkarvhanumante changed the title seedingAlliance: make suntContent alias, and add seatId bidder param seedingAlliance: make suntContent alias, add finative alias and add seatId bidder param in seedingAlliance Nov 27, 2023
@onkarvhanumante
Copy link
Contributor

should update json tests to use updated https://b.nativendo.de/cds/rtb/bid?ssp={{.AccountID}} endpoint

func TestJsonSamples(t *testing.T) {
bidder, buildErr := Builder(openrtb_ext.BidderSeedingAlliance, config.Adapter{
Endpoint: "https://mockup.seeding-alliance.de/",

Copy link

Code coverage summary

Note:

  • Prebid team doesn't anticipate tests covering code paths that might result in marshal and unmarshal errors
  • Coverage summary encompasses all commits leading up to the latest one, e9466b0

seedingAlliance

Refer here for heat map coverage report

github.com/prebid/prebid-server/v2/adapters/seedingAlliance/seedingAlliance.go:23:	Builder			80.0%
github.com/prebid/prebid-server/v2/adapters/seedingAlliance/seedingAlliance.go:35:	MakeRequests		86.7%
github.com/prebid/prebid-server/v2/adapters/seedingAlliance/seedingAlliance.go:68:	MakeBids		87.0%
github.com/prebid/prebid-server/v2/adapters/seedingAlliance/seedingAlliance.go:117:	resolvePriceMacro	100.0%
github.com/prebid/prebid-server/v2/adapters/seedingAlliance/seedingAlliance.go:122:	getMediaTypeForBid	83.3%
github.com/prebid/prebid-server/v2/adapters/seedingAlliance/seedingAlliance.go:136:	curExists		100.0%
github.com/prebid/prebid-server/v2/adapters/seedingAlliance/seedingAlliance.go:145:	getExtInfo		100.0%
total:											(statements)		89.4%

@@ -1,4 +1,4 @@
endpoint: "https://b.nativendo.de/cds/rtb/bid?ssp=pbs"
endpoint: "https://b.nativendo.de/cds/rtb/bid?ssp={{.AccountID}}"
maintainer:
email: [email protected]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sent an email for verification. Please reply with received.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

received

Copy link
Contributor

@gargcreation1992 gargcreation1992 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left a comment to add a json test case.

Copy link

github-actions bot commented Dec 5, 2023

Code coverage summary

Note:

  • Prebid team doesn't anticipate tests covering code paths that might result in marshal and unmarshal errors
  • Coverage summary encompasses all commits leading up to the latest one, 9ddd96a

seedingAlliance

Refer here for heat map coverage report

github.com/prebid/prebid-server/v2/adapters/seedingAlliance/seedingAlliance.go:23:	Builder			80.0%
github.com/prebid/prebid-server/v2/adapters/seedingAlliance/seedingAlliance.go:35:	MakeRequests		86.7%
github.com/prebid/prebid-server/v2/adapters/seedingAlliance/seedingAlliance.go:68:	MakeBids		87.0%
github.com/prebid/prebid-server/v2/adapters/seedingAlliance/seedingAlliance.go:117:	resolvePriceMacro	100.0%
github.com/prebid/prebid-server/v2/adapters/seedingAlliance/seedingAlliance.go:122:	getMediaTypeForBid	83.3%
github.com/prebid/prebid-server/v2/adapters/seedingAlliance/seedingAlliance.go:136:	curExists		100.0%
github.com/prebid/prebid-server/v2/adapters/seedingAlliance/seedingAlliance.go:145:	getExtInfo		100.0%
total:											(statements)		89.4%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants