Closed hhhjort closed 3 years ago
Discussed and accepted by Prebid Server Committee.
Re-opening because this isn't supported in PBS-Java yet.
@hhhjort - question: is it fair to say that includeformat
has no effect if neither includewinners
nor includebidderkeys
is specified?
Quick check on the code, as long as prebid.targeting
is not empty, it seems that some keys should be generated. Not sure if they could be useful without one of those two being set.
This was available in PBS-Java 1.52
I'm using prebidappnexuspsp Vendor, but the hb_format is not present on responses. How could I get this to work without having access to the stored requests? I need the hb_format in the response, so I can target the correct creative in GAM.
@lanceloti - You can send ext.prebid.targeting.includeformat on your request to any Prebid Server to get it to include hb_format. If this is for AMP. then you'll need your Prebid Server host company to create their stored requests with this value.
Prebid.js supports
hb_format
to enable multiformat imps on AMP, see multi-format. The spec itself already exists in the prebid.js documentation, we just need to implement this on PBS.In line with other flags we have on key value generation, I propose we add an
includeformat
flag to thetargeting
extension. So the targeting API would look like:Thus all current requests would not get
hb_format
added to the key values, but requests that need it can add the flag in order to get access to this value.