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

Read floor data in analytic + support for Criteo Id #6003

Merged
merged 55 commits into from
Dec 1, 2020
Merged

Read floor data in analytic + support for Criteo Id #6003

merged 55 commits into from
Dec 1, 2020

Conversation

bjorn-lw
Copy link
Contributor

@bjorn-lw bjorn-lw commented Nov 19, 2020

Type of change

  • Feature

Description of change

Support in analytics for reading floor data, both from Prebid's floors module and from Livewrapped's wrapper.

Note that adapter support for Prebid's floor module will follow at a later stage.

Added support for Criteo's id module

Make it possible to pass dynamic parameters to adapter
Pass metadata from adapter
@musikele
Copy link
Contributor

Dear @bjorn-lw, this PR contains two logical and separate things (analytics adapter and bidder adapter), so please can you split it in two separate MRs ? Thank you.

@bjorn-lw
Copy link
Contributor Author

bjorn-lw commented Nov 30, 2020

Dear @bjorn-lw, this PR contains two logical and separate things (analytics adapter and bidder adapter), so please can you split it in two separate MRs ? Thank you.

@musikele I'd rather not. They belong together and we need to have both of them merged at once.

@musikele
Copy link
Contributor

In general, there is a rule that prohibits to put two "different" things in the same PR. You may have seen it when you try to open a new Issue; or in the file PR_REVIEW.md .
Anyway, I understand your problem and for this time I'll try to review the PR as is.

Can you update the file livewrapperBidAdapter.md with test parameters that return a test ad?
At the moment I see from livewrapper Bid adapter this 400 response:

 {"errorMessage":"Guru Meditation. Error at log: 11/30/2020 4:55:48 PM"}

@bjorn-lw
Copy link
Contributor Author

I appreciate you're being thorough.

I could remove the Criteo support if you wish, but would be great if you let it pass this time. Since you sometimes have weeks before MRs are getting attention I was hoping I could let this one slip in as well since it's really small, but I won't next time.

I have updated the example.

@musikele
Copy link
Contributor

I see the file livewrappedAnalyticsAdapter.md is missing. It should contain some basic info about how to install and use it. See examples from other adapters. A good description of various options is appreciated; also, if there are any test parameters that can be used, don't forget to add them.

@bjorn-lw
Copy link
Contributor Author

@musikele Look, as I said, I really appreciate your thoroughness, but this is not a new adapter or analytics adapter submission. It's some changes to existing adapters that have existed in Prebid.js for quite a long time now.

The analytics adapter can only be used in agreement with Livewrapped AB. There are no test id's that can you can use unless you have an account with us.

However, there are unit tests for the adapter.

Thank you.

@musikele
Copy link
Contributor

@bjorn-lw ,
this is an open source library and I, as a reviewer, have to go through a list of rules that all contributors and reviewers follow.
I only ask to add a simple .md file that explains what this module is, how to enable, and a general description of the parameters used.
I can say that the code looks good, but I still have to test on my end. We recently had cases of modules that broke other modules, or prevented the auction to happen under special circumstances. We do not want to repeat that...
So please, add this file, and tomorrow morning I'll do a final test to the analytics module and hopefully merge it.

@bjorn-lw
Copy link
Contributor Author

@musikele OK, it's added now. Thank you for your input.

Copy link
Contributor

@musikele musikele left a comment

Choose a reason for hiding this comment

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

LGTM

@musikele musikele merged commit 0820790 into prebid:master Dec 1, 2020
stsepelin pushed a commit to cointraffic/Prebid.js that referenced this pull request May 28, 2021
* Livewrapped bid and analytics adapter

* Fixed some tests for browser compatibility

* Fixed some tests for browser compatibility

* Changed analytics adapter code name

* Fix double quote in debug message

* modified how gdpr is being passed

* Added support for Publisher Common ID Module

* Corrections for ttr in analytics

* ANalytics updates

* Auction start time stamp changed

* Detect recovered ad blocked requests
Make it possible to pass dynamic parameters to adapter

* Collect info on ad units receiving any valid bid

* Support for ID5
Pass metadata from adapter

* Typo in test + eids on wrong level

* Fix for Prebid 3.0

* Fix get referer

* http -> https in tests

* Native support

* Read sizes from mediatype.banner

* Revert accidental commit

* Support native data collection + minor refactorings

* Set analytics endpoint

* Support for app parameters

* Fix issue where adunits with bids were not counted on reload

* Send debug info from adapter to external debugger

* SChain support

* Send GDPR data in analytics request

* video support

Video support

* Report back floor via analytic

* Send auction id and adunit/bidder connection id

* Criteo id support

* Updated example

* livewrapped Analytics Adapter info file
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.

3 participants