Closed jamesfebin closed 7 years ago
Looks like the KVs are never getting to google. Do you by chance have the googletag.pubads().refresh()
call (you might even be able to call this manually in the browser console to see if the KVs get set
Actually I am using the refresh function in the code.
pbjs.que.push(function() {
pbjs.setTargetingForGPTAsync();
googletag.pubads().refresh();
});
@jamesfebin is that in the bidsbackhandler
? Otherwise i'd think you'd need an onEvent handler on the auctionEnd event before firing that off.
pbjs.que.push(function() {
pbjs.onEvent('auctionEnd', function() {
pbjs.setTargetingForGPTAsync();
googletag.pubads().refresh();
});
});
( I also should have asked if you also have a googletag.disableInitialLoad()
in place as well )
I have satisfied all the requirements you have mentioned. One more thing I failed to mention. I am a third party who is implemented header bidding for a publisher through a javascript in the header. Does that change anything?
I am using the latest version of Prebid.
I was trying to setup prebid. I am able to receive bids, however the winning bid is not picked or the respective line item is not triggered, the ad of the bidder is not displayed. Instead it goes back to a fallback line items I created for $0.00 . The prebid console stops at Attempting to set key value for slot XXXX and then nothing, no winners, no render ad as shown in the below link Look at the following image
Here hb_pb value is 0.40. But the respective line item is not selected even though there are line items with hb_pb of 0.36, 0.39 etc. In the delivery diagnostics, I don't see the hb_pb request going to dfp. I am not sure why the case is. Please check the image.
Here is my prebid code.