-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add 1ad4good bidder #4081
Add 1ad4good bidder #4081
Conversation
updating local fork
updating fork from head
A bidder for non-profit free ads. more info about this bidder project can be found on project site http://1ad4good.org
@Fawke thank you for looking into it! It's pretty straightforward, based on appnexus bidder code(for easier adops setup) with some unused code removed. nothing special.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @vladgurgov,
I've been through the PR and made few observations that needs changes.
- Your Test coverage is low (77.67%) which is less than our recommended 80% coverage. You can either remove unnecessary code from your Adapter file, or, you can add more test cases to cover more statements.
- The call to your Ad Server is recommended to go over https. If your server supports it, please consider changing it over.
- The call to load Instream video ad is not returning any bids. Please find the screenshot of the response.
updating master
Thanks for your comments @Fawke ! This was my first contribution to this project so I definitely was trying to obey all the rules. I was developing based on appnexus adapter, so most of the code is the same. in rubicon: in mine its: Should I hardcode https:// in it? I support https, i just wanted to follow the same rules. Tests are based on appnexusBidAdapter.js which has 75.92% coverage... I will look into adding more tests I don't bid on video yet, but i will add video campaign on server to make it bid on video as well. Thanks for your feedback again! |
test coverage is improved to >80% tested for instream video support
Thanks! |
@Fawke could you please take another look? Thank you! |
@mkendall07 @Fawke could you take look, thanks! |
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. |
re-opening -- ping @Fawke |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vladgurgov Sorry for the delay in response, I've suggested some changes for you. Let me know if you can incorporate that in your code.
For your question on hardcoding the endpoint to https
, yes, you can do that.
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. |
updating from head
updating from base
@Fawke , please take a look again. I removed most of unused code. Our initial idea with it was that we could simply use this module to test on client side easily by renaming appnexus -> 1ad4good. So that replacing one line immediately let us get fill from us and test code. And we simply wanted to make sure everything is as close to appnexus as possible. However, I agree with you - since we dont use most of these params it makes sense to remove it. Please take a look. Thanks! |
Thanks for making the required changes. There's just one last change which I suggest you make now, you can hardcode your endpoing URL to In the next major release of Prebid, we are having all bidder adapters convert to https. Failing to do so will result in them not being included in the next major release. |
@Fawke If this is accepted I can also add some sample pages and docs. I think it could be good beginners "entry-point" for Prebid and it would allow anyone to test and experiment Prebid without any accounts on Appnexus, Rubicon, their ad servers and still get 100% fill. Let me know if you think it makes sense of you have other ideas for contributing to this project. Thanks! |
Type of change
DONE: Add doc for 1ad4good.org bidder prebid.github.io#1428
Description of change
This is open source bidder for non profit ads that I created this weekend. Could be used to fill unsold inventory for a good causes.
More info about this project can be found here: http://1ad4good.org
I hope it will be net positive for this community as:
open source education about tech and header bidding
always filling (good for some test cases for ad ops
providing some free ad placements to non profits
Thank you!
Be sure to test the integration with your adserver using the Hello World sample page. -DONE
For any changes that affect user-facing APIs or example code documented on http://prebid.org, please provide:
Other information