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

Media.net Adapter Improvements #2954

Merged
merged 2 commits into from
Sep 11, 2018

Conversation

vedantseta
Copy link
Contributor

@vedantseta vedantseta commented Aug 9, 2018

Type of change

  • Other

Description of change

This PR adds Media.net support for utilising onBidWon and onTimeout events. This also adds improvements by caching canonical, og, twitter URLs.

@harpere harpere self-requested a review August 9, 2018 19:05
@harpere harpere self-assigned this Aug 9, 2018
Copy link
Collaborator

@harpere harpere left a comment

Choose a reason for hiding this comment

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

Prebid doesn't allow adapters to make arbitrary requests - in this case event-tracking - but user-sync is another example. You may want to consider using a (or writing your own) analytics adapter http://prebid.org/overview/analytics.html

@@ -24,15 +30,20 @@ function siteDetails(site) {
}

function getPageMeta() {
if ($$PREBID_GLOBAL$$.medianetGlobals.pageMeta) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Prebid no longer allows adapters to use the $$PREBID_GLOBAL$$ object. (though I notice you are already using it).

modules/medianetBidAdapter.js Show resolved Hide resolved
@stale
Copy link

stale bot commented Aug 23, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 23, 2018
@vedantseta
Copy link
Contributor Author

Hi @mkendall07 @harpere ,

In reference to #2254, bidders weren't able to identify if their bids timed out, which is why we added onTimeout bidder API. Also to monitor bidders wins, we have onBidWon event.

We have modeled our implementation based on the one built by sortable bid adapter

It would be helpful if you can point the critical differences between our and their implementation which we can correct.

Thanks.

@stale stale bot removed the stale label Aug 24, 2018
@stale
Copy link

stale bot commented Sep 7, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 7, 2018
@vedantseta
Copy link
Contributor Author

Hi @mkendall07 @harpere ,

Any update on the same ?

Thanks.

@stale stale bot removed the stale label Sep 7, 2018
@mkendall07
Copy link
Member

@vedantseta
The pixel request is OK tied to the events. Please remove the prebid global use though

Copy link
Collaborator

@harpere harpere left a comment

Choose a reason for hiding this comment

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

one comment, but should be ok.

modules/medianetBidAdapter.js Show resolved Hide resolved
@harpere harpere merged commit 640fa2b into prebid:master Sep 11, 2018
ptomasroos pushed a commit to happypancake/Prebid.js that referenced this pull request Sep 25, 2018
* Media.net bid adapter: firing logs on 'bidWon' and 'onTimeout' events

* Media.net Bid Adapter: removed use of prebid global to save page meta data
pedrolopezmrf pushed a commit to Marfeel/Prebid.js that referenced this pull request Mar 18, 2019
* Media.net bid adapter: firing logs on 'bidWon' and 'onTimeout' events

* Media.net Bid Adapter: removed use of prebid global to save page meta data
@piotr-yuxuan piotr-yuxuan mentioned this pull request Mar 28, 2019
9 tasks
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