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

New Adapter: Pixfuture #4117

Open
wants to merge 32 commits into
base: master
Choose a base branch
from
Open

Conversation

pixfuture-media
Copy link

This Pixfuture Prebid Server Adapter enables seamless integration with Pixfuture's ad exchange, allowing publishers to leverage their demand through server-side header bidding. The adapter formats outgoing bid requests, processes incoming bid responses, and adheres to OpenRTB standards for efficient and privacy-compliant ad delivery.

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, 3f33089

pixfuture

Refer here for heat map coverage report

github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:20:	Builder			100.0%
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:28:	MakeRequests		85.7%
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:49:	getMediaTypeForBid	100.0%
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:64:	MakeBids		90.0%
total:									(statements)		91.4%

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, 993f157

pixfuture

Refer here for heat map coverage report

github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:20:	Builder			100.0%
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:27:	MakeRequests		85.7%
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:48:	getMediaTypeForBid	100.0%
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:63:	MakeBids		90.0%
total:									(statements)		91.2%

@gargcreation1992 gargcreation1992 self-assigned this Dec 24, 2024
@pixfuture-media
Copy link
Author

pixfuture-media commented Dec 27, 2024 via email

@bsardo bsardo changed the title New Pixfuture adapter New Adapter: Pixfuture Jan 6, 2025
@bsardo bsardo added the adapter label Jan 6, 2025
@pixfuture-media
Copy link
Author

I would like to ask for your help with reviewing a pull request [New Adapter: Pixfuture #4117].
Your feedback would be greatly appreciated.
When do you think you might be able to review this?
Thank you in advance for your time and effort.

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, 284c847

pixfuture

Refer here for heat map coverage report

github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:20:	Builder			100.0%
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:27:	MakeRequests		85.7%
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:48:	getMediaTypeForBid	100.0%
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:63:	MakeBids		90.0%
total:									(statements)		91.2%

@bsardo
Copy link
Collaborator

bsardo commented Jan 22, 2025

@scr-oath can you please review?

@pixfuture-media
Copy link
Author

@scr-oath can you please review?

Please provide the next steps from our side. We've implemented all the requested changes.

@pixfuture-media
Copy link
Author

Hi, @gargcreation1992. Please let us know what is required from our end.

Copy link
Collaborator

@bsardo bsardo left a comment

Choose a reason for hiding this comment

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

See my comments. For reference, we have a section in the developer docs that describe how to build and test a Go adapter. LMK if you have any questions.

coverage.out Outdated Show resolved Hide resolved
go.mod Show resolved Hide resolved
adapters/pixfuture/pixfuture_test.go Outdated Show resolved Hide resolved
adapters/pixfuture/testdata/valid-bid-request.json Outdated Show resolved Hide resolved
config/config.go Outdated Show resolved Hide resolved
static/bidder-info/pixfuture.yaml Outdated Show resolved Hide resolved
adapters/pixfuture/pixfuture.go Show resolved Hide resolved
adapters/pixfuture/pixfuture.go Outdated Show resolved Hide resolved
adapters/pixfuture/pixfuture.go Outdated Show resolved Hide resolved
adapters/pixfuture/pixfuture.go Outdated Show resolved Hide resolved
adapters/pixfuture/pixfuture.go Outdated Show resolved Hide resolved
adapters/pixfuture/pixfuture.go Outdated Show resolved Hide resolved
adapters/pixfuture/pixfuture.go Show resolved Hide resolved
adapters/pixfuture/pixfuture.go Outdated Show resolved Hide resolved
adapters/pixfuture/pixfuture.go Outdated Show resolved Hide resolved
adapters/pixfuture/pixfuture.go Outdated Show resolved Hide resolved
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, ea7d94e

pixfuture

Refer here for heat map coverage report

github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:21:	Builder			100.0%
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:28:	MakeRequests		70.0%
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:73:	getMediaTypeForBid	100.0%
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:88:	MakeBids		88.9%
total:									(statements)		82.2%

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, 3f13c25

pixfuture

Refer here for heat map coverage report

github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:21:	Builder			100.0%
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:28:	MakeRequests		77.8%
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:68:	getMediaTypeForBid	100.0%
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:83:	MakeBids		88.9%
total:									(statements)		86.0%

@scr-oath
Copy link
Contributor

@scr-oath can you please review?

Please provide the next steps from our side. We've implemented all the requested changes.

I still see a bunch of unresolved comments from @bsardo … we can leave the bot-generated comments unresolved, but I would like to re-review after others' comments are addressed (I don't think there's process to promote my RFC to at least neutral… wish there was like an "I approve but defer to others" or the like feature in github - there used to be something like that in gerrit when I used that years and years ago, and I miss it 😉 )

Anyway… will re-review when those are tackled

@pixfuture-media
Copy link
Author

@scr-oath Apologies for any confusion. I'll review what hasn't been addressed yet and respond to @bsardo accordingly.

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, a407b22

pixfuture

Refer here for heat map coverage report

github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:21:	Builder			100.0%
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:28:	MakeRequests		77.8%
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:68:	getMediaTypeForBid	100.0%
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:83:	MakeBids		88.9%
total:									(statements)		86.0%

go.mod Outdated Show resolved Hide resolved
@scr-oath
Copy link
Contributor

scr-oath commented Feb 2, 2025

@scr-oath Apologies for any confusion. I'll review what hasn't been addressed yet and respond to @bsardo accordingly.

Also, I see one dangling comment from me still #4117 (comment)

I see that you have merged a few times, maybe once more would remove that diff from the go.mod/sum?

Copy link

github-actions bot commented Feb 3, 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, 3457b8c

pixfuture

Refer here for heat map coverage report

github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:21:	Builder			100.0%
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:28:	MakeRequests		77.8%
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:68:	getMediaTypeForBid	100.0%
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:83:	MakeBids		88.9%
total:									(statements)		86.0%

go.mod Outdated Show resolved Hide resolved
Copy link

github-actions bot commented Feb 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, f1b859c

pixfuture

Refer here for heat map coverage report

github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:21:	Builder			100.0%
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:28:	MakeRequests		77.8%
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:68:	getMediaTypeForBid	100.0%
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:83:	MakeBids		88.9%
total:									(statements)		86.0%

@bsardo bsardo assigned guscarreon and unassigned gargcreation1992 Feb 5, 2025
@@ -84,4 +84,4 @@ require (
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/ini.v1 v1.66.4 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)
)
Copy link
Contributor

Choose a reason for hiding this comment

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

This file seems to have slight, inconsequential format change with respect to master. Can you bring master's version so we don't have this change listed here?

$ git checkout --patch master go.mod

@@ -1018,4 +1018,4 @@ honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9
honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
Copy link
Contributor

Choose a reason for hiding this comment

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

This file seems to have slight, inconsequential format change with respect to master. Can you bring master's version so we don't have this change listed here?

$ git checkout --patch master go.sum

github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:90.35,92.18 2 1
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:92.18,94.13 2 0
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:96.4,99.6 1 1
github.com/prebid/prebid-server/v3/adapters/pixfuture/pixfuture.go:103.2,103.28 1 1
Copy link
Contributor

Choose a reason for hiding this comment

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

There's no need to incorporate this file into our repository. Can you please delete coverage.out?

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.

6 participants