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: track revelant ad-units only #12383

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

osazos
Copy link
Collaborator

@osazos osazos commented Oct 30, 2024

Type of change

  • Bugfix

Description of change

We had chosen to rely on the event.adUnitCodes array to define which adUnitCodes should be tracked. It was wrong because this array doesn't store the adUnitCodes are effectively used during the auction. In some scenario, an adUnit can be ignored due to specific configuration (typically, conditional ad-units).
Now, we rely on what is present in the event.bidderRequests array.

Note: the fixture in the adagioAnalyticsAdapter_spec.js file has been fixed in order to fit the real expected object

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.

1 participant