Skip to content

Doceree AdManager Bid Adapter: initial release #10684

Merged
osazos merged 22 commits intoprebid:masterfrom
doceree:master
Nov 15, 2023
Merged

Doceree AdManager Bid Adapter: initial release #10684
osazos merged 22 commits intoprebid:masterfrom
doceree:master

Conversation

@Doceree-techStack
Copy link
Contributor

@Doceree-techStack Doceree-techStack commented Nov 2, 2023

Type of change

  • Bugfix

  • Feature

  • New 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

Other information

@Doceree-techStack
Copy link
Contributor Author

Please update the status of (#10684) pull request

1 similar comment
@Doceree-techStack
Copy link
Contributor Author

Please update the status of (#10684) pull request

@Doceree-techStack
Copy link
Contributor Author

added the link to docs PR

@Doceree-techStack
Copy link
Contributor Author

@osazos please review to move the pull request for merge as we have urgent integration blocked

Copy link
Collaborator

@osazos osazos left a comment

Choose a reason for hiding this comment

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

I'm not sure regarding the file name of your adapter, it should be suffixed by "BidAdapter" (doc)

When testing your endpoint:

Your serverResponse.body response is an array but your code is written to handle an object. Btw I didn't receive a "valid" response so perhaps it is an exepected format.

Also, it seems there is a mismatch regarding the requestId in the request and the response:

// request
{
  "userid": "7d26d8ca-233a-46c2-9d36-7c5d261e151d",
  ... 
  "requestId": "296180d3d4c11b",
}

// response
{
  "response": [
    {
      "status": -1,
      "adUnit": "DOC_7jm9j5eqkl0xvc5w",
      "position": 0,
      "adFormat": 0,
      "userId": "7d26d8ca-233a-46c2-9d36-7c5d261e151d",
      "bidRequestId": "0bdf4e05-38cf-43c1-8dca-8f1ed0a68e01-7sjmhc"
    }
  ]
}

Which diplay the warning:

 WARNING: Bidder docereeadmanager made bid for unknown request ID: undefined. Ignoring.

@Doceree-techStack
Copy link
Contributor Author

Doceree-techStack commented Nov 11, 2023

@osazos the changes you mentioned have been fixed. Kindly have a look on the updated code and make sure to use an correct adUnit (DOC-19-1) code for making a server call.

Please let us know if we need to change anything else.

@osazos osazos self-requested a review November 15, 2023 15:51
Copy link
Collaborator

@osazos osazos left a comment

Choose a reason for hiding this comment

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

LGTM

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.

4 participants

Comments