-
Notifications
You must be signed in to change notification settings - Fork 762
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
Bizzclick: adapter update, add new host param #3347
Conversation
Code coverage summaryNote:
bizzclickRefer here for heat map coverage report
|
As noted in the docs PR, asking for publishers to enter the geographic region is not the right way to do this. For Prebid.js, you really ought to be paying for a global traffic management solution. Since the host parameter is optional, I won't insist, but I'm going to request that you consider how difficult it might be for a publisher to carry out this request. |
@bretg We're using it because we have different regions/datacenters of our servers. For instance US East and Europe regions, such parameter would be useful to reduce network latency. |
Many of us are in that situation that's not the problem. The problem is in how you're asking publishers to choose the region. That places an undue (often impossible) burden on them. Copying what was said above:
Many vendors offer such solutions. Search for "gslb solutions"
Please consider updating your bizzclick.yaml file similar to the rubicon.yaml there. https://github.com/prebid/prebid-server/pull/3311/files#diff-8fc6fb8199a8e0dcf5c4a887cf074043b99af8fdb349c2176ae5644e13a35ecc . You can your |
@bretg I will add |
Code coverage summaryNote:
bizzclickRefer here for heat map coverage report
|
To be honest, I find it quite unfriendly to make publishers enter this static parameter on every adunit for architecture reasons. But as long as |
Code coverage summaryNote:
bizzclickRefer here for heat map coverage report
|
@bretg Ok, I'll keep |
static/bidder-params/bizzclick.json
Outdated
"placementId": { | ||
"sourceId": { | ||
"type": "string", | ||
"description": "PlacementId id", | ||
"description": "Source id", | ||
"minLength": 1 | ||
}, | ||
"host": { | ||
"type": "string", | ||
"description": "Server region", | ||
"minLength": 1 | ||
} | ||
}, | ||
"required": ["accountId", "placementId"] | ||
"required": [ | ||
"accountId", | ||
"sourceId" | ||
] |
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.
@BizzClick , placementId
was required param and PR is renaming placementId
to sourceId
.
This will be an breaking change for the publishers making call to adapter. Should consider a transition period before making such change. Transition period will give provide enough time for the publishers and PBS host compaines to accomadate for such change.
As of now,
-
will recommend to keep
placementId
and mark it as deprecated in bidder docs. Alsotoanyone
as shown below for required params"oneOf": [ { "required": ["accountId", "placementId"] }, { "required": ["accountId", "sourceId"] } ]
-
Refer below example for deprecating
placementId
prebid-server/static/bidder-params/rise.json
Lines 11 to 14 in 2c3ec84
"publisher_id": { "type": "string", "description": "Deprecated, use org instead." } -
Adapter code can be changed to use one of sourceId or placementId
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.
All right, that looks reasonable. Fixed in the last commit
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.
Related commit in doc
host := "us-e-node1" | ||
if params.Host != "" { | ||
host = params.Host | ||
} |
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.
should add/ update test where params.Host
is empty
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.
The test was added here:
adapters/bizzclick/bizzclicktest/exemplary/default-host-param.json
With the placementId param also
Code coverage summaryNote:
bizzclickRefer here for heat map coverage report
|
Hi, the adapter was updated with new sourceId and host params.
Related PR in prebid.github.io