-
Notifications
You must be signed in to change notification settings - Fork 744
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
not getting proper response when sending BID to openrtb2/auction
path using prebid-server for video
#3960
Comments
@as5550 - this is not enough to work with.
Here are some specific lines in your OpenRTB that are questionable:
My guess is you're trying to spin up your own server and want to see any test response. This isn't going to happen -- there are no bidders.I know of that guarantee a test response on every request. (I think there is one, but I can't recall which) You need to rely on |
for the OpenRTB issues that you pointed out
but even after making these changes not getting appropriate response, this prebid-server repo should give a valid response on a BID request sent to 'openrtb2/auction' if the request is valid. |
You misunderstand how Prebid Server works. When you host your own server, there's a lot you need to do.
Sorry, but it's not correct. 13232361 is test appnexus video placement code. It is not your publisher ID. When you run your own Prebid Server, you need to set up your own set of accounts, or turn off accounts entirely. site.publisher.id only means anything in the context of whoever owns the server.
Not true. There are many reasons why you might not get a bid response back. As I said before, your tests need to rely on stored responses. Please spend time with the sample configuration we've provided at https://github.com/prebid/prebid-server/tree/master/sample. It uses a stored request that chains to a stored response. When you understand how that sample works, you'll probably be able to fix the configuration of your own server. |
thanks @bretg , |
Hi,
can ayone help me with this, i am not getting proper response when sending BID to
openrtb2/auction
path using prebid-server for video.i have used the same prebid server (https://github.com/prebid/prebid-server) and hosted it to 'https://prebid.ubplayer.in'
i am using videoBidRequest as mentioned below as BID
and using axios for requesting BID on 'openrtb2/auction' path as below
code for Sending Bid request -->
BID request used -->
let videoBidRequest = {
"id": "11798",
"site": {
"id": "site-id",
"name": "Example Video Site",
"domain": "example.com",
"cat": ["IAB7", "IAB8"],
"publisher": {
"id": "13232361",
"name": "appnexus"
}
},
"device": {
"ua": "user-agent-string",
"ip": "192.168.0.3",
"os": "windows10",
"geo": {
"lat": 37.7749,
"lon": -122.4194,
"country": "IND"
}
},
"imp": [
{
"id": "1",
"video": {
"w": 640,
"h": 480,
"mimes": ["video/mp4", "video/x-ms-wmv"],
"minduration": 5,
"maxduration": 30,
"playbackmethod": [1, 2],
"protocols": [2, 3, 5, 6],
"linearity": 1,
"startdelay": 0,
"skip": 1
},
"ext": {
"prebid": {
"bidder": {
"appnexus": {
"placementId": 13232361,
"publisherId": 11798,
"adSlot": ("div-ub-" + this.clientData?.CURRENT_CLIENT),
"bidfloor": 0.05
}
},
// "storedbidresponse": [
// {
// "bidder": "",
// "id": ""
// }
// ]
}
}
}
],
"user": {
"id": "user-1",
"buyeruid": "buyer-1"
},
"at": 1,
"tmax": 450
};
this is the response i am getting which does not contain any ad response -->
pls check and let me know what needs to be changed to resolve this
The text was updated successfully, but these errors were encountered: