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

CleanIO RTD Module: support billable event #8750

Merged
merged 7 commits into from
Aug 8, 2022

Conversation

alexeyst
Copy link
Contributor

Add billable events to clean.io Real-time Anti-Malvertising Module

Type of change

  • Other

Description of change

As described in Vendor Billing, clean.io will now submit a billable event for each protected impression.

  • contact email of the adapter’s maintainer

Module Name: clean.io Rtd provider
Module Type: Rtd Provider
Maintainer: [email protected]

  • official adapter submission

Other information

Solution was previously merged as part of pull request #7449

@nick-clean
Copy link
Contributor

@ChrisHuie
As we expected, the CircleCI tests failed. Our update includes utilizing a billable events; however, the tests seem to be hardcoded for a specific number of billable events so they fail when we send an unexpected event.
Screen Shot 2022-07-28 at 9 15 57 AM

Can you advise? We believe this is an issue with the tests.

@patmmccann patmmccann changed the title Feature/cleanio billable event CleanIO RTD Module: support billable event Jul 28, 2022
@patmmccann patmmccann requested a review from mmoschovas July 28, 2022 17:46
@nick-clean
Copy link
Contributor

@mmoschovas
We're not surprised that the CircleCI tests failed. Our update includes utilizing a billable events; however, the tests seem to be hardcoded for a specific number of billable events so they fail when we send an unexpected event.

With a previous submission, we were told to pull in recent PRs to resolve the issue, but that doesn't look to resolve the problem, as the tests seem to be hardcoded for specific values. Can you let us know how to proceed?

@patmmccann
Copy link
Collaborator

patmmccann commented Aug 2, 2022

In the past, for things like

should catch all events if affiliate id present Sovrn Analytics Adapter enableAnalytics AssertError: expected track to be called 5 times but was called 6 times

we just increase the count in the expect

@nick-clean
Copy link
Contributor

In the past, for things like

should catch all events if affiliate id present Sovrn Analytics Adapter enableAnalytics AssertError: expected track to be called 5 times but was called 6 times

we just increase the count in the expect

@patmmccann Thanks for jumping in. Are you stating that the tests need to be updated by manually adjusting the Expected count? Is that something @mmoschovas would do? I unclear if this is something that you are requesting of us. Could you help clarify?

@mmoschovas
Copy link
Contributor

@nick-clean sorry for the delay. You would need to go through the tests that fail with the introduction of your billable event and increase their expected values

Copy link
Contributor

@mmoschovas mmoschovas left a comment

Choose a reason for hiding this comment

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

lgtm

@mmoschovas mmoschovas merged commit d7e7aa1 into prebid:master Aug 8, 2022
@eugen-tikhonov eugen-tikhonov deleted the feature/cleanio-billable-event branch August 9, 2022 08:40
JacobKlein26 pushed a commit to nextmillenniummedia/Prebid.js that referenced this pull request Feb 9, 2023
* clean.io RTD Module: send billable events

* Added unit test for billable events

* attempt to trigger circleci

* Fixed some analytics test to expect Clean.io billableEvents too.

Co-authored-by: mkikot-sigma <[email protected]>
Co-authored-by: Patrick McCann <[email protected]>
Co-authored-by: eugen-tikhonov <[email protected]>
Co-authored-by: yevhen.tykhonov <[email protected]>
jorgeluisrocha pushed a commit to jwplayer/Prebid.js that referenced this pull request May 23, 2023
* clean.io RTD Module: send billable events

* Added unit test for billable events

* attempt to trigger circleci

* Fixed some analytics test to expect Clean.io billableEvents too.

Co-authored-by: mkikot-sigma <[email protected]>
Co-authored-by: Patrick McCann <[email protected]>
Co-authored-by: eugen-tikhonov <[email protected]>
Co-authored-by: yevhen.tykhonov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants