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

Only set dimensions if can be resolved #5769

Merged
merged 1 commit into from
Sep 21, 2020

Conversation

robertrmartinez
Copy link
Collaborator

@robertrmartinez robertrmartinez commented Sep 18, 2020

Type of change

  • Bugfix

Description of change

Due to the Prebid Server Bid Adapter not setting width or height on video bidResponses, the rubicn analytics adapter sends an empty dimensions object.

This causes the record to be invalidated.

So, we will look for playerWidth and playerHeight if present, else if no dimensions could be resolved, then we will not send dimensions at all.

@robertrmartinez robertrmartinez merged commit 7c9c60d into master Sep 21, 2020
@robertrmartinez robertrmartinez deleted the rubiAnalyticsVideoIssue branch September 21, 2020 20:45
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