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

[Sharethrough] Adapter fixes #1082

Merged
merged 3 commits into from
Oct 24, 2019
Merged

[Sharethrough] Adapter fixes #1082

merged 3 commits into from
Oct 24, 2019

Conversation

maphe
Copy link
Contributor

@maphe maphe commented Oct 18, 2019

Couple of fixes:

  • get bidfloor from custom impression params
  • remove gzip header

@guscarreon guscarreon self-requested a review October 21, 2019 20:10
@guscarreon guscarreon self-assigned this Oct 21, 2019
@@ -71,7 +71,6 @@ func (s StrOpenRTBTranslator) requestFromOpenRTB(imp openrtb.Imp, request *openr
headers := http.Header{}
headers.Add("Content-Type", "application/json;charset=utf-8")
headers.Add("Accept", "application/json")
headers.Add("Accept-Encoding", "gzip")
Copy link
Contributor

Choose a reason for hiding this comment

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

Curious, why is gzip no longer accepted?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@SyntaxNode it actually broke our adapter, our ad server now returns gzip encoded responses and it looks like the adapter needs to handle unzipping itself. We'll push a fix later to decode gzipped responses but for now we just need this fix asap in production as it can't process any bid in its current state.

Copy link
Contributor

Choose a reason for hiding this comment

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

Gotcha.

@maphe
Copy link
Contributor Author

maphe commented Oct 23, 2019

Hi @guscarreon, just a heads up we would really appreciate it if this makes it into this week's release as our adapter is broken in its current state. Thank you very much.

Copy link
Contributor

@guscarreon guscarreon left a comment

Choose a reason for hiding this comment

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

LGTM

@guscarreon guscarreon merged commit 3ad99dd into prebid:master Oct 24, 2019
katsuo5 pushed a commit to flux-dev-team/prebid-server-1 that referenced this pull request Dec 1, 2020
* Get bidfloor value from ExtImp instead of Imp

[#168939771]

* Bump adapter version to 7

* Remove gzip encoding handling (not working)
katsuo5 pushed a commit to flux-dev-team/prebid-server-1 that referenced this pull request Dec 2, 2020
* Get bidfloor value from ExtImp instead of Imp

[#168939771]

* Bump adapter version to 7

* Remove gzip encoding handling (not working)
katsuo5 pushed a commit to flux-dev-team/prebid-server-1 that referenced this pull request Dec 4, 2020
* Get bidfloor value from ExtImp instead of Imp

[#168939771]

* Bump adapter version to 7

* Remove gzip encoding handling (not working)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants