Closed raustaburk closed 7 years ago
what's the keys getting sent to the adserver? Do you have a test page? The best way to debug this is to use DFP debug console to see what is winning.
I figured it out, I was setting the granularity after requesting the bids. After moving setConfig() to the top everything works fine.
I don't know if this is a bug or an issue with my setup. I used the DFP API to set up 900 line items ranging from $0.01 to $9.00, but the only ones delivering are multiples of $0.10 even though the setup is identical for all of them.
I have my granularity set to $0.01 with a custom price bucket (see code below), but I don't think that's the problem. Looking at my ad partner's numbers they're only winning about 2-5% of what they bid on, and they're only competing against AdSense, so I believe bids that aren't multiples of $0.10 aren't even making it to DFP.
This is my granularity code. I originally used pbjs.setPriceGranularity(customGranularity) before changing it to the following, but neither solved the problem.
Any ideas? Thanks.