Skip to content

feat: support video, native, and audio media types in ConnectAd Adapter#4506

Open
rtuschkany wants to merge 5 commits into
prebid:masterfrom
rtuschkany:master
Open

feat: support video, native, and audio media types in ConnectAd Adapter#4506
rtuschkany wants to merge 5 commits into
prebid:masterfrom
rtuschkany:master

Conversation

@rtuschkany

Copy link
Copy Markdown

…ropagate network/site IDs in imp extension

🔧 Type of changes

  • new bid adapter
  • bid adapter update
  • new feature
  • new analytics adapter
  • new module
  • module update
  • bugfix
  • documentation
  • configuration
  • dependency update
  • tech debt (test coverage, refactorings, etc.)

Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread src/main/java/org/prebid/server/bidder/connectad/ConnectAdBidder.java Outdated
- Remove unnecessary null check on bidRequest in getBidType() method
- Remove unnecessary empty check on bidRequest.getImp() in getBidType() method
- Reorder modifyImpExt() method to be between updateImp() and updateBanner() 
  for better code organization and readability
- Add comprehensive JavaDoc comments explaining:
  - Why media type validation is necessary and validates all media types
  - Why networkId and siteId must be propagated to root level of imp.ext
  - Why getBidType() can safely assume bidRequest is non-null
- Keep defensive null check on impExt parameter for robustness (as per review discussion)

These changes address feedback from code review while maintaining code quality 
and robustness.

Addresses review comments from PR prebid#4506
@rtuschkany rtuschkany requested a review from CTMBNara June 15, 2026 19:03
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.

2 participants