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

ZetaGlobalSsp Analytics Adapter : make event object with only needed fields #10555

Conversation

asurovenko-zeta
Copy link
Contributor

Type of change

  • Bugfix
  • Refactoring (no functional changes, no api changes)

Due to the complex object (args.doc) with cyclic dependence of fields, we had a bug associated with the impossibility of turning this object into a json. Therefore, we are forced to make logic that will leave only the fields we need in the object.

Please note that JSON.stringify(args) may produce an exception because of that.

asurovenko-zeta and others added 30 commits March 24, 2021 14:47
Copy link
Collaborator

@robertrmartinez robertrmartinez left a comment

Choose a reason for hiding this comment

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

please add a unit test or two

@robertrmartinez robertrmartinez self-assigned this Oct 10, 2023
@ChrisHuie ChrisHuie changed the title ZetaGlobalSspAnalyticsAdapter bugfix: make event object with only needed fields ZetaGlobalSsp Analytics Adapter : make event object with only needed fields Oct 10, 2023
@robertrmartinez
Copy link
Collaborator

@asurovenko-zeta

Please add a couple unit tests regarding this update.

@asurovenko-zeta
Copy link
Contributor Author

@robertrmartinez done

@robertrmartinez robertrmartinez merged commit 15b523f into prebid:master Nov 7, 2023
4 checks passed
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.

4 participants