-
Notifications
You must be signed in to change notification settings - Fork 753
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
MgidX: add optional region param #3220
Conversation
# Conflicts: # exchange/adapter_map.go # openrtb_ext/bidders.go
# Conflicts: # adapters/mgid/mgid.go # config/config.go # usersync/usersyncers/syncer.go
Get last prebid-server changes
Add mgidX
Code coverage summaryNote:
mgidXRefer here for heat map coverage report
|
@@ -1,4 +1,4 @@ | |||
endpoint: "https://us-east-x.mgid.com/pserver" | |||
endpoint: "https://{{.Host}}.mgid.com/pserver" |
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 change is not recommended. We highly discourage folks to use dynamic domain this way. Please review - #2606
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.
@xmgiddev requesting to address above comment
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.
Please review #2606
@xmgiddev, prebid server had major release 2.0 requesting to update |
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.
Sorry, but requiring users to enter a region is not acceptable.
I'll write up the solution in a more formal way but here's a summary:
- document for host companies that you request regional endpoints
- when they deploy your adapter's YAML file, they are responsible for using an appropriate regional endpoint
It is unrealistic to expect that multinational publishers can sort of which endpoint a given host should use. This places a heavy (or impossible) burden on the implementation of websites.
It's ok if host is an optional parameter for host companies that cannot support deploying region-specific endpoints.
closing this inactive PR. Can be reopened when comments gets addressed |
Sorry for not answering for a long time |
@xmgiddev - please open a new PR from your fork. |
doc - prebid/prebid.github.io#4932