Skip to content

Conversation

@karimMourra
Copy link
Contributor

This PR includes the gpid from the incoming bid request, in the outgoing bid request.
Equivalent PR for PBS-JAVA

@github-actions
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, 218a6de

connatix

Refer here for heat map coverage report

github.com/prebid/prebid-server/v3/adapters/connatix/connatix.go:24:	Builder			100.0%
github.com/prebid/prebid-server/v3/adapters/connatix/connatix.go:31:	MakeRequests		100.0%
github.com/prebid/prebid-server/v3/adapters/connatix/connatix.go:66:	MakeBids		95.0%
github.com/prebid/prebid-server/v3/adapters/connatix/connatix.go:106:	validateAndBuildImpExt	100.0%
github.com/prebid/prebid-server/v3/adapters/connatix/connatix.go:115:	splitRequests		90.9%
github.com/prebid/prebid-server/v3/adapters/connatix/connatix.go:195:	buildRequestImp		100.0%
github.com/prebid/prebid-server/v3/adapters/connatix/connatix.go:239:	buildDisplayManagerVer	88.9%
github.com/prebid/prebid-server/v3/adapters/connatix/connatix.go:257:	getBidType		100.0%
total:									(statements)		94.9%

@bsardo bsardo added the adapter label Aug 18, 2025
Copy link
Contributor

@SyntaxNode SyntaxNode left a comment

Choose a reason for hiding this comment

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

Consider adding a supplemental test where the gpid is empty, so the expected behavior is documented via the tests.


type impExtIncoming struct {
Bidder openrtb_ext.ExtImpConnatix `json:"bidder"`
Gpid string `json:"gpid"`
Copy link
Contributor

Choose a reason for hiding this comment

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

Nitpick: Per Go naming convention, these should be GPID.


type impExt struct {
Connatix impExtConnatix `json:"connatix"`
Gpid string `json:"gpid"`
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you want to add omitempty to not output the field when the gpid is empty?

@karimMourra
Copy link
Contributor Author

@SyntaxNode thanks, addressed

@github-actions
Copy link

github-actions bot commented Sep 4, 2025

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, 13eeb29

connatix

Refer here for heat map coverage report

github.com/prebid/prebid-server/v3/adapters/connatix/connatix.go:24:	Builder			100.0%
github.com/prebid/prebid-server/v3/adapters/connatix/connatix.go:31:	MakeRequests		100.0%
github.com/prebid/prebid-server/v3/adapters/connatix/connatix.go:66:	MakeBids		95.0%
github.com/prebid/prebid-server/v3/adapters/connatix/connatix.go:106:	validateAndBuildImpExt	100.0%
github.com/prebid/prebid-server/v3/adapters/connatix/connatix.go:115:	splitRequests		90.9%
github.com/prebid/prebid-server/v3/adapters/connatix/connatix.go:195:	buildRequestImp		100.0%
github.com/prebid/prebid-server/v3/adapters/connatix/connatix.go:239:	buildDisplayManagerVer	88.9%
github.com/prebid/prebid-server/v3/adapters/connatix/connatix.go:257:	getBidType		100.0%
total:									(statements)		94.9%

@karimMourra karimMourra closed this Oct 8, 2025
@karimMourra
Copy link
Contributor Author

redundant due to #4521

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants