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

Adot: add new bid param publisherPath #2164

Merged
merged 1 commit into from
Feb 28, 2022
Merged

Adot: add new bid param publisherPath #2164

merged 1 commit into from
Feb 28, 2022

Conversation

ramyferjaniadot
Copy link
Contributor

Hello,

This PR is about adding a new bid param placementPath to our adapter.
We also updated our doc in this PR

Best regards,

#6)

* [SUPPORT-4219] feature: add publisher path to endpoint from ext.bidder
@mansinahar mansinahar changed the title adot: add new bid param placementPath Adot: add new bid param publisherPath Feb 22, 2022
@@ -46,9 +47,17 @@ func (a *adapter) MakeRequests(request *openrtb2.BidRequest, reqInfo *adapters.E
headers := http.Header{}
headers.Add("Content-Type", "application/json;charset=utf-8")

if adotExt := getImpAdotExt(&request.Imp[0]); adotExt != nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

For my understanding, could there be a situation where request.Imp has multiple entries, and you'd want the publisher path from an entry other than request.Imp[0]?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The publisher path will be used with some of our partners for custom integrations, so the value should be the same across all request.Imp entries

Copy link
Collaborator

@hhhjort hhhjort left a comment

Choose a reason for hiding this comment

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

LGTM

@bsardo bsardo merged commit 5fa462b into prebid:master Feb 28, 2022
pm-nilesh-chate pushed a commit to PubMatic-OpenWrap/prebid-server that referenced this pull request Mar 30, 2022
jorgeluisrocha pushed a commit to jwplayer/prebid-server that referenced this pull request Sep 28, 2022
shunj-nb pushed a commit to ParticleMedia/prebid-server that referenced this pull request Nov 8, 2022
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.

None yet

4 participants