-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Question] Bid adapter get no response from DFP #6010
Comments
The issue seems likely to be in your line item setup. Do you have separate line items for appnexus (e.g. targeting hb_pb_appnexus) and your own (targeting hb_pb_custom)? Or do you have one line item targeting the hb_pb key-value-pair? |
Hi @bretg thanks for reply. But if it's mandatory to set line items, why appnexus work even if I did not set line items for appnexus? I assumed that the problem was on GAM side, so I tried the Post-bid example. In that case it seems that the |
More info on postbid tested only with appnexus. When While if mediaType is That's the HTML:
|
You're right, can't do PBJS native "alpha" without an ad server. We're soon going to release "native 2.0" which could theoretically do this, but it's a use case we haven't documented. Is it a real scenario or just for your testing? |
Hi @bretg, that's my scenario. I'm a developer at Nativery, a native advertising platform (to be clear a sort of little I have finished the adapter, but here comes the problem. If I have understood correctly I have to set key-values based on the inventory sizes that a website has. Since we are a platform with hundreds of publishers (each with one or more website), does this means that I have to repeat these steps for every domain we manage? Not really a viable option. Besides, there's one thing still bothers me. If it's mandatory to set line items, why appnexus work even if I haven't set any, while my adapter don't? Another solution is to go without an ad server, but at the moment the Am I right or are there other better solutions to implement Native Programmatic Advertising? |
This is the way header bidding has always worked -- it was designed to get some optional open market bids that can compete in the ad server with a publisher's direct-sold ads. You could come up with a hack to skip the ad server even with native:
One issue here is that Native was originally envisioned to let Publishers control the templates. I think in your case though, you want to control the template.
You're welcome to check out the draft PBJS Native 2.0 documentation to see what's coming soon. When released, this will give you the option of defining the creative template in the AdUnit rather than the ad server. It would improve the approach noted above, which is something we could document if it works out for you. |
@bretg thank you so much, thats was really helpful.
It will be definitely an improvement. Thanks for your great work. |
Type of issue
Question
Description
I'm pretty new to the world of Header Bidding and some mechanics are not very clear to me, anyway I have to write my own bid adapter (only
native
).I have defined the functions
isBidRequestValid()
buildRequests()
interpretResponse()
onBidWon()
. For testing purpouse I'm usingintegrationExamples/gpt/native_example.html
withappnexusAdapter
andmycustomAdapter
.I'm able to create the bid requests for my bidder’s server and parsing the bid responses. But I'm stuck on this, when my bids are higher than appnexus bids, I get no response from DFP and the
onBidWon()
event is not fired. While if the appenxus bids are higher than mine, I get a valid response from DFP, theappnexus onBidWon()
event is fired and the adUnits are populated with the appnexus creatives.AppNexus responds with two creatives ($0.5 cpm and $10.00 cpm), my server also responds with two creatives with random int (1-100) cpm.
That's an example of bid returned by
interpretResponse
:From the console log I can see the following info:
I suppose that I'm missing some configuration, because I get no error at all.
Thanks in advance
The text was updated successfully, but these errors were encountered: