Skip to content

New Adapter: Oprx#4432

Open
Ivan-Z-Oprx wants to merge 15 commits into
prebid:masterfrom
Ivan-Z-Oprx:adding-adapter-oprx
Open

New Adapter: Oprx#4432
Ivan-Z-Oprx wants to merge 15 commits into
prebid:masterfrom
Ivan-Z-Oprx:adding-adapter-oprx

Conversation

@Ivan-Z-Oprx

Copy link
Copy Markdown

No description provided.

Comment thread adapters/oprx/oprx.go Outdated
var bidExt openrtb_ext.ExtBid
err := jsonutil.Unmarshal(bid.Ext, &bidExt)
if err == nil && bidExt.Prebid != nil {
return openrtb_ext.ParseBidType(string(bidExt.Prebid.Type))

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Consider this as a suggestion. Prebid server expects the media type to be explicitly set in the adapter response. Therefore, recommends implementing a pattern where the adapter server sets the MType field in the response to accurately determine the media type for the impression.

@github-actions

Copy link
Copy Markdown

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

oprx

Refer here for heat map coverage report

github.com/prebid/prebid-server/v3/adapters/oprx/oprx.go:20:	Builder			100.0%
github.com/prebid/prebid-server/v3/adapters/oprx/oprx.go:27:	MakeRequests		80.0%
github.com/prebid/prebid-server/v3/adapters/oprx/oprx.go:43:	getMediaTypeForBid	83.3%
github.com/prebid/prebid-server/v3/adapters/oprx/oprx.go:57:	MakeBids		63.6%
total:								(statements)		71.4%

@suruvu

suruvu commented Jul 11, 2025

Copy link
Copy Markdown

Please let us know if we need to do anything for this pullrequest

Comment thread static/bidder-info/oprx.yaml
Comment thread static/bidder-info/oprx.yaml
Comment thread adapters/oprx/oprxtest/exemplary/banner.json
Comment thread adapters/oprx/oprx.go Outdated
Comment thread adapters/oprx/oprx.go Outdated
@przemkaczmarek przemkaczmarek changed the title New Adapter: oprx New Adapter: Oprx Jul 24, 2025
@przemkaczmarek przemkaczmarek self-assigned this Jul 24, 2025
Comment thread adapters/oprx/oprx.go
var bidExt openrtb_ext.ExtBid
err := jsonutil.Unmarshal(bid.Ext, &bidExt)
if err == nil && bidExt.Prebid != nil {
return openrtb_ext.ParseBidType(string(bidExt.Prebid.Type))

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Consider this as a suggestion. Prebid server expects the media type to be explicitly set in the adapter response. Therefore, recommends implementing a pattern where the adapter server sets the MType field in the response to accurately determine the media type for the impression.

@github-actions

Copy link
Copy Markdown

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

oprx

Refer here for heat map coverage report

github.com/prebid/prebid-server/v3/adapters/oprx/oprx.go:19:	Builder			100.0%
github.com/prebid/prebid-server/v3/adapters/oprx/oprx.go:26:	MakeRequests		80.0%
github.com/prebid/prebid-server/v3/adapters/oprx/oprx.go:42:	MakeBids		86.4%
github.com/prebid/prebid-server/v3/adapters/oprx/oprx.go:85:	getMediaTypeForBid	83.3%
total:								(statements)		85.7%

@github-actions

Copy link
Copy Markdown

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

oprx

Refer here for heat map coverage report

github.com/prebid/prebid-server/v3/adapters/oprx/oprx.go:19:	Builder			100.0%
github.com/prebid/prebid-server/v3/adapters/oprx/oprx.go:26:	MakeRequests		80.0%
github.com/prebid/prebid-server/v3/adapters/oprx/oprx.go:42:	MakeBids		86.4%
github.com/prebid/prebid-server/v3/adapters/oprx/oprx.go:85:	getMediaTypeForBid	83.3%
total:								(statements)		85.7%

przemkaczmarek
przemkaczmarek previously approved these changes Jul 28, 2025
@przemkaczmarek przemkaczmarek self-requested a review July 28, 2025 14:23
Comment on lines +24 to +27
"bid_floor": {
"type": "number",
"description": "Bidding Price Floor"
},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we need this as bidder param ? ( as standard parameter imp.bidfloor is present)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@bsardo

bsardo commented Oct 22, 2025

Copy link
Copy Markdown
Collaborator

@Ivan-Z-Oprx please see most recent comment above.

Comment thread static/bidder-params/oprx.json
Comment thread adapters/oprx/oprx.go Outdated
Comment thread adapters/oprx/oprx.go Outdated
@github-actions

Copy link
Copy Markdown

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

oprx

Refer here for heat map coverage report

github.com/prebid/prebid-server/v3/adapters/oprx/oprx.go:19:	Builder			100.0%
github.com/prebid/prebid-server/v3/adapters/oprx/oprx.go:26:	MakeRequests		80.0%
github.com/prebid/prebid-server/v3/adapters/oprx/oprx.go:42:	MakeBids		85.7%
github.com/prebid/prebid-server/v3/adapters/oprx/oprx.go:82:	getMediaTypeForBid	83.3%
total:								(statements)		85.3%

@bsardo

bsardo commented Mar 25, 2026

Copy link
Copy Markdown
Collaborator

@Ivan-Z-Oprx please resolve conflicts by merging with master.

@pm-jaydeep-mohite pm-jaydeep-mohite self-requested a review April 14, 2026 06:47
@bsardo

bsardo commented May 12, 2026

Copy link
Copy Markdown
Collaborator

@Ivan-Z-Oprx please resolve conflicts by merging with master.

1 similar comment
@przemkaczmarek

Copy link
Copy Markdown
Collaborator

@Ivan-Z-Oprx please resolve conflicts by merging with master.

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