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

AdagioAnalyticsAdapter: stop trying to read sizes of sizeless ad-units #12489

Conversation

Abyfall
Copy link
Contributor

@Abyfall Abyfall commented Nov 22, 2024

Type of change

  • Bugfix

Description of change

In some cases, notably when using sizeMappingV2 adUnits might not have a sizes property.
This PR make sure it exists before we try to access it.

Copy link
Collaborator

@osazos osazos left a comment

Choose a reason for hiding this comment

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

LGTM

@osazos osazos merged commit 5401652 into prebid:master Nov 22, 2024
6 checks passed
@osazos osazos deleted the adagio-fix/adagioanalyticsadapter-pba-throws-an-error-when-banner-size-is-undefined branch November 22, 2024 15:11
hogekai pushed a commit to hogekai/Prebid.js that referenced this pull request Nov 26, 2024
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.

3 participants