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

Dailymotion Bid Adaptor: add support for user syncs & new fields #25

Merged
merged 3 commits into from
May 29, 2024

Conversation

kvnsw
Copy link
Collaborator

@kvnsw kvnsw commented May 22, 2024

Type of change

  • Feature

Description of change

  • Adding support for user syncs
  • Adding support for plcmt & playbackmethod
  • Adding support for additional contextual informations

Copy link

@rumesh rumesh left a comment

Choose a reason for hiding this comment

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

More global comment, shouldn't we do one feature on PR? in this case one for the new fields and one for the user syncs?

Comment on lines +175 to +176

expect(reqData.request.mediaTypes.video).to.eql(bidRequestData[0].mediaTypes.video);
Copy link

Choose a reason for hiding this comment

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

isn't it better to have the unit test covering each attribute than the full object? then when one attribute is failing we will have the exact attribute where an issue is occuring instead of the whole object?

Comment on lines +294 to +296

expect(reqData.request.mediaTypes.video).to.eql(bidRequestData[0].mediaTypes.video);

Copy link

Choose a reason for hiding this comment

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

isn't it better to have the unit test covering each attribute than the full object? then when one attribute is failing we will have the exact attribute where an issue is occuring instead of the whole object?

Copy link
Collaborator Author

@kvnsw kvnsw May 22, 2024

Choose a reason for hiding this comment

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

Oh actually it shouldn't be an issue, the failure will produce the diff showing which attribute has an issue (actual vs expected)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Like this one:
Capture d’écran 2024-05-22 à 14 37 19

@kvnsw kvnsw force-pushed the feat/dailymotion-support-usersync branch from ca51a15 to 3948851 Compare May 22, 2024 12:31
@kvnsw kvnsw force-pushed the feat/dailymotion-support-usersync branch from 3948851 to 16c1e56 Compare May 29, 2024 08:22
@kvnsw
Copy link
Collaborator Author

kvnsw commented May 29, 2024

More global comment, shouldn't we do one feature on PR? in this case one for the new fields and one for the user syncs?

@rumesh, to answer your comment, we are moving forward with grouped contributions to have Prebid org review a single PR for all features (no multi-assignments of reviewers, and everything in a single process). We'll ask them for feedback if they would prefer a one PR per feature approach.

@kvnsw kvnsw merged commit 71219c0 into master May 29, 2024
@kvnsw kvnsw deleted the feat/dailymotion-support-usersync branch May 29, 2024 13:01
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.

3 participants