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

Pubmatic responding with unexpected banner sizes #1823

Closed
bjorn-lw opened this issue Apr 26, 2021 · 2 comments · Fixed by #1825
Closed

Pubmatic responding with unexpected banner sizes #1823

bjorn-lw opened this issue Apr 26, 2021 · 2 comments · Fixed by #1825
Assignees

Comments

@bjorn-lw
Copy link
Contributor

When testing version 0.155, I noticed that Pubmatic started to respond with banner sizes not present in the bid request, whereas it worked just as it should in the previously installed version (0.139.1).

After some testing, I noticed this behavior started to happen with version 0.153 and my uninitiated guess is that it may have something to do with #1759.

I added two comments in the PR a little more than a week ago, but no one picked it up so I thought I'd try creating an issue here instead, but please refer to my comments there as well.

I realize this is quite vague and I'm having trouble setting up a proper test case: I can see the problem in our statistics, but it's hard to repeat when actually trying. It was about a percentage of all responses that had the issue last time I checked, but it's one percent too much as it was working perfectly the version before that. :)

Please let me know whatever I can do to help solve this: I'm not a good enough GO programmer to actually being able to figure out the issue in code and I'm hesitant to give away our customer's SSP id's in this PR, but maybe that can be done outside this context with the person investigating the issue?

@SyntaxNode
Copy link
Contributor

Thank you for opening an issue. We sometimes miss comments made on closed PRs. The circumstantial evidence seems strong. I'll take a look where we might've introduced an error with that PR.

@SyntaxNode
Copy link
Contributor

@bjorn-lw Found the bug. You're correct that it was caused by PR #1759. In the case of no ad slot id, the height was copied to both width and height. There was no test coverage for this error. I've opened a PR to fix the error, added a test case, and I included some miscellaneous code refactor while I was in there.

I'm going to close this issue with the error has been identified and PR opened. Please review the PR and we'll include it in this week's release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants