Unruly: Include GPID in request payload by zxPhoenix · Pull Request #4259 · prebid/prebid-server-java

Hi @AntoxaAntoxic ,

I’m not the owner of the Unruly adapter, so I’d like to add GPID with the minimum possible changes to the original code — avoiding any unexpected architectural or other modifications that could affect the Unruly team.

As I understand it, the existing code parses the impExt into a custom class to extract only the required fields from the bidder object — in this case, just siteId. All other fields are ignored.

I’ve noticed the same approach being used for many other bidders (e.g., ix, rubicon, pubmatic, openx, grid, etc.), so it appears to be a common pattern.

However, your suggestion would copy all fields from the bidder object, including those that Unruly doesn’t expect to receive.

Would you prefer that I apply your proposal, keep the current approach, or you could contact the Unruly team to discuss a possible refactor since that would be outside the scope of simply adding the GPID field?