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

adquery: added device ip and ua to bidder request #3288

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

wgalecki
Copy link
Contributor

@wgalecki wgalecki commented Nov 9, 2023

  • adquery: added device ip and ua to bidder request
  • adquery: passing client ip as x-forwarded-for header
  • adquery: updated adapter endpoint
  • adquery: passing ipv6 to bidder, updated user sync config
  • adquery: passing page url to bidder

Copy link

github-actions bot commented Nov 9, 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, 3e02d0f

adquery

Refer here for heat map coverage report

github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:29:	Builder			100.0%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:36:	MakeRequests		92.9%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:65:	MakeBids		100.0%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:112:	buildHeaders		100.0%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:126:	buildRequest		100.0%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:160:	parseExt		88.9%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:177:	parseResponseJson	100.0%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:211:	getImpSizes		100.0%
total:									(statements)		97.8%

@wgalecki wgalecki changed the title adquery: added device ip and ua to bidder request (#1) adquery: added device ip and ua to bidder request Nov 9, 2023
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, d0157ff

adquery

Refer here for heat map coverage report

github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:29:	Builder			100.0%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:36:	MakeRequests		92.9%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:65:	MakeBids		100.0%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:112:	buildHeaders		100.0%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:126:	buildRequest		100.0%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:160:	parseExt		88.9%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:177:	parseResponseJson	100.0%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:211:	getImpSizes		100.0%
total:									(statements)		97.8%

@wgalecki
Copy link
Contributor Author

Hey, sorry for the force-pushes, identified some minor issues and wanted to fix them to make the review process smoother.

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, 6c67649

adquery

Refer here for heat map coverage report

github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:29:	Builder			100.0%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:36:	MakeRequests		92.9%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:65:	MakeBids		100.0%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:112:	buildHeaders		100.0%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:126:	buildRequest		100.0%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:160:	parseExt		88.9%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:177:	parseResponseJson	100.0%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:211:	getImpSizes		100.0%
total:									(statements)		97.8%

go.mod Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please undo changes made to go.mod?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, sorry about that, I also removed the test directory which I commited inadvertently.

* adquery: added device ip and ua to bidder request

* adquery: passing client ip as x-forwarded-for header

* adquery: updated adapter endpoint

* adquery: passing ipv6 to bidder, updated user sync config

* adquery: passing page url to bidder
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, 609e247

adquery

Refer here for heat map coverage report

github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:29:	Builder			100.0%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:36:	MakeRequests		92.9%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:65:	MakeBids		100.0%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:112:	buildHeaders		100.0%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:126:	buildRequest		100.0%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:160:	parseExt		88.9%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:177:	parseResponseJson	100.0%
github.com/prebid/prebid-server/v2/adapters/adquery/adquery.go:211:	getImpSizes		100.0%
total:									(statements)		97.8%

endpoint: "https://bidder.adquery.io/prebid/bid"
endpoint: https://bidder2.adquery.io/prebid/bid
Copy link
Contributor

Choose a reason for hiding this comment

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

% curl -i https://bidder2.adquery.io/prebid/bid
HTTP/2 204
server: nginx/1.18.0 (Ubuntu)
date: Tue, 14 Nov 2023 11:45:28 GMT
x-adq-t: r:1123;p:0;
cache-control: max-age=-172800, must-revalidate, private
pragma: no-cache
expires: Sun, 12 Nov 2023 11:45:28 GMT
access-control-allow-origin: *
access-control-allow-methods: POST, GET, OPTIONS, DELETE, PUT
access-control-max-age: 1000
access-control-allow-headers: x-requested-with, Content-Type, origin, authorization, accept, client-security-token
curl: (56) HTTP/2 stream 1 was reset

endpoint is reachable

@Sonali-More-Xandr Sonali-More-Xandr merged commit 94d8682 into prebid:master Nov 20, 2023
5 checks passed
svamiftah pushed a commit to sovrn/prebid-server that referenced this pull request Nov 21, 2023
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.

3 participants