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

Conversant Bid Adapter: handle paapi data in the response #11663

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

johnwier
Copy link
Contributor

@johnwier johnwier commented Jun 3, 2024

Type of change

  • Bugfix

  • [X ] Feature

  • New bidder adapter

  • Updated bidder adapter

  • Code style update (formatting, local variables)

  • Refactoring (no functional changes, no api changes)

  • Build related changes

  • CI related changes

  • Does this change affect user-facing APIs or examples documented on http://prebid.org?

  • Other

Description of change

Conversant bid adapter: Add support for handling paapi data in bid response

Other information

@patmmccann patmmccann self-requested a review June 3, 2024 18:20
@patmmccann patmmccann self-assigned this Jun 3, 2024
@@ -176,7 +176,18 @@ export const spec = {
* @return {Bid[]} An array of bids which were nested inside the server.
*/
interpretResponse: function(serverResponse, bidRequest) {
return converter.fromORTB({request: bidRequest.data, response: serverResponse.body});
const ortbBids = converter.fromORTB({request: bidRequest.data, response: serverResponse.body});
const ortbAuctionConfigs = deepAccess(serverResponse, 'body.ext.igi') || [];
Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

looks like as of today it is. I'll go back through my changes and check it out

Copy link
Collaborator

Choose a reason for hiding this comment

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

yes - this is no longer necessary. note that if you decide to keep it, paapiAuctionConfigs was renamed to just paapi (since it can also contain igs now) .

Copy link
Collaborator

@patmmccann patmmccann left a comment

Choose a reason for hiding this comment

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

trying to validate if ortbConverter handles out of the box now since you've used the proper formatting in your response...

@patmmccann patmmccann merged commit f7726ec into prebid:master Jun 13, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants