-
Notifications
You must be signed in to change notification settings - Fork 764
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
How to create valid Stored Requests/Imps in a Prebid Server and how to call them on Client side using the Prebid.js s2s adapter #1559
Comments
From a quick look the stored imp you have looks fine to me.
You can set the
What directory you put your stored_requests and stored_imps in depends on what you have configured for the
You should get the bids sent by the bidders in the Prebid Server response. Please try adding your stored requests and stored imps in the above directory path or make sure to set the |
This is the same question as #1580
Please see the example in https://docs.prebid.org/prebid-server/features/pbs-storedreqs-go.html -- the example underneath "And then POST to /openrtb2/auction with your chosen ID" -- use PostMan or curl to hit the server directly rather than going through PBJS. |
@nmpina28 - have you worked this out to your satisfaction? |
Hi @bretg. Thank you for your response and to clarify this. Now I know that I definitely can't send the ID of a stored request using the prebid server adapter of the PBJS. Although I receive a response with bids I couldn't relate this bid with a valid bidder ID ('cause prebid isn't a valid bidder) and display the winning Ad. Thank you for your help and apologies for the late reply. Nelson |
Thank you for your answer. It helped me to understand better the way how prebid server is configured and how the request to send to the PBS should be like when using stored requests, besides the expected answer. Cheers, Nelson |
@nmpina28 I see you closed and then reopened this issue. Is there anything remaining for us to answer or addess? |
Hi, Cheers, Nelson |
Type of issue
Can't implement successfully Stored Requests or Stored Imps in a running Prebid Server. Can't get Bids or even know if the PBS is sending the Bids correctly to the SSPs when I call the auction endpoint on the client-side.
Description
I am trying to implement the architecture described here https://docs.prebid.org/prebid-server/overview/prebid-server-overview.html
I already have a prebid server running in a server, more precisely, a docker container with the prebid-server running in a server. I've created some stored-imps in the folder /usr/local/bin/stored_requests/data/by_id/stored_imps/
The stored-imp created is this one:
{"imp":[{"id":"imp-1","banner":{"format":[{"w":300,"h":250}]},"ext":{"appnexus":{"placement_id":13144370}}}]}
The Appnexus tag is the generic testing tag available on the Prebid.js page and should return this Ad: Prebid Ad
On the client-side, I am using the PBS adapter and the s2sConfig object to configure the adapter. The configuration is this one:
And the adUnits Object that I am pushing to pbjs is this one:
pbs.yaml
The configuration file for my PBS only have this:
stored_requests: filesystem: true
Expected results
If I understand correctly the Appnexus should win the auction, the response from the server should have the winning SSPs, the currency, and the value of the winning bid among other info.
Staging page
I've created a staging where you can check the implementation client-side: [test/prebid-s2s/index.php]
Questions
I really need help with this because I know that stored requests or imps are blocks of OpenRTB stored on the server-side that is merged into OpenRTB requests sent by the Client using Prebid.js, in this case.
Thank you,
Nelson
The text was updated successfully, but these errors were encountered: