-
Notifications
You must be signed in to change notification settings - Fork 726
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
New Adapter: Nativo #3790
base: master
Are you sure you want to change the base?
New Adapter: Nativo #3790
Conversation
Code coverage summaryNote:
nativoRefer here for heat map coverage report
|
@onkarvhanumante Is there any ETA for reviewing this PR? |
@rafataveira PR tests are failing due to file miss format. Requesting to format files
|
@rafataveira Does this bidder supports |
@@ -0,0 +1,19 @@ | |||
endpoint: "https://exchange.postrelease.com/esi?ntv_epid=7" | |||
maintainer: | |||
email: "[email protected]" |
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.
I've sent an email to this address to confirm it is correct. Please respond to the email with a "received" message.
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.
It is correct. I've just replied to the email.
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.
mail confirmed
static/bidder-params/nativo.json
Outdated
"title": "Nativo Adapter Params", | ||
"description": "A schema which validates params accepted by the Nativo adapter", | ||
"type": "object", | ||
|
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.
NIP, please delete white line
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.
done
adapters/nativo/nativo_test.go
Outdated
|
||
func TestBidderNativo(t *testing.T) { | ||
bidder, buildErr := Builder(openrtb_ext.BidderNativo, config.Adapter{ | ||
Endpoint: "https://foo.io/?src=prebid"}, |
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.
why is it "https://foo.io/?src=prebid" ?
It should be endpoint from yaml
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.
done
@@ -0,0 +1,19 @@ | |||
endpoint: "https://exchange.postrelease.com/esi?ntv_epid=7" |
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.
"esi?ntv_epid=7" does not look fine
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.
this is correct, that's the url to our exchange server, in this case, prebid server.
@onkarvhanumante I will review all comments and make the changes accordingly. |
Code coverage summaryNote:
nativoRefer here for heat map coverage report
|
Code coverage summaryNote:
nativoRefer here for heat map coverage report
|
Code coverage summaryNote:
nativoRefer here for heat map coverage report
|
Hi @rafataveira, your tests are failing because you need to run |
Code coverage summaryNote:
nativoRefer here for heat map coverage report
|
Code coverage summaryNote:
nativoRefer here for heat map coverage report
|
@rafataveira , redirect url is not working @przemkaczmarek could you check if redirect url is working for you
|
@onkarvhanumante you need to use the secure url https:// provided in the nativo.yaml instead of http://
|
I see this 200 response as well but it is supposed to redirect (302) to the PBS setuid endpoint which is specified in your |
@bsardo This is the result of the redirect I get: |
Hi @rafataveira, I suggest testing your user sync with localhost so that your bidder is known and so that you can ensure your server redirects to the setuid endpoint of the PBS host, which in this case will be the localhost setuid endpoint. Start this process by first hitting the localhost PBS cookie sync endpoint: |
Code coverage summaryNote:
nativoRefer here for heat map coverage report
|
I found the issue with the double quotes on userMacro. Now it should work as expected. |
@rafataveira we're still seeing an issue with the user sync. Your server is responding with a 200. Since you've classified this user sync as type redirect, your server should be responding with a 302 redirect to the url defined in the |
No description provided.