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

Submit NAF Digital Bidder Adapter #3750

Merged
merged 1 commit into from
Apr 23, 2019

Conversation

vyatsun
Copy link
Contributor

@vyatsun vyatsun commented Apr 15, 2019

Type of change

  • Bugfix
  • Feature
  • New bidder adapter
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Does this change affect user-facing APIs or examples documented on http://prebid.org?
  • Other

Description of change

  • test parameters for validating bids
{
  bidder: 'nafdigital',
  params: {
    publisherId: 2141020
  }
}

Be sure to test the integration with your adserver using the Hello World sample page.

  • contact email of the adapter’s maintainer: vyatsun@gmail.com
  • official adapter submission

For any changes that affect user-facing APIs or example code documented on http://prebid.org, please provide:

Other information

Copy link
Contributor

@sumit116 sumit116 left a comment

Choose a reason for hiding this comment

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

Hi,
Thanks for submitting your adaptor. I found some changes required in your adaptor files, mentioned in my comments. I tested your adaptor on hello-world page and find everything else working fine. Can you please make the necessary changes and let me know if you have any questions.


return {
method: 'POST',
url: URL,
Copy link
Contributor

Choose a reason for hiding this comment

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

While testing on hello_world page, I found that there is no response for request to 'https://nafdigitalbidder.com/hb'. Ideally it should return the bid object back as response like all other bid adaptors. Can you please check this at your end?

@vyatsun
Copy link
Contributor Author

vyatsun commented Apr 19, 2019

Hi @sumit116
Thanks for your response. Can you please provide the request payload as well as the country you're sending the request from, so that I can create a targeting for you on the server?

@sumit116
Copy link
Contributor

Hi @sumit116
Thanks for your response. Can you please provide the request payload as well as the country you're sending the request from, so that I can create a targeting for you on the server?

@sumit116 sumit116 closed this Apr 22, 2019
@sumit116 sumit116 reopened this Apr 22, 2019
@sumit116
Copy link
Contributor

HI @vyatsun ,

Request Payload: {"id":"3f1fdfb0737e75","imp":[{"id":"2ce3666274b969","banner":{"format":[{"w":300,"h":250},{"w":300,"h":600}],"ext":{"viewability":100}},"tagid":"div-gpt-ad-1460505748561-0","bidfloor":0.01}],"site":{"domain":"test.localhost:9999","page":"http://test.localhost:9999/integrationExamples/gpt/hello_world.html?pbjs_debug=true","publisher":{"id":2141020}},"device":{"devicetype":2,"w":1366,"h":768},"tmax":3000}

Country: India

@vyatsun
Copy link
Contributor Author

vyatsun commented Apr 22, 2019

Thanks @sumit116
I've created a new targeting on the server. Could you try again? Hopefully it will work this time.

@sumit116
Copy link
Contributor

Thanks @vyatsun, Yes its working now.

Tested the adaptor on hello_world page and all unit tests have passed. Test coverage of the adaptor is above 80%. The changes are working well against all parameters listed in https://github.com/prebid/Prebid.js/blob/master/PR_REVIEW.md, hence approving the PR.

@sumit116 sumit116 added the LGTM label Apr 23, 2019
@sumit116 sumit116 assigned vyatsun and sumit116 and unassigned sumit116 and vyatsun Apr 23, 2019
@jaiminpanchal27 jaiminpanchal27 merged commit b491a05 into prebid:master Apr 23, 2019
VideoReach pushed a commit to VideoReach/Prebid.js that referenced this pull request Aug 1, 2019
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