Prebid.js icon indicating copy to clipboard operation
Prebid.js copied to clipboard

Demand with deal-targeted line item doesn't win over highest HB

Open tomraa opened this issue 8 years ago • 3 comments

Type of issue

Question

Description

We are updating our implementation to use Google Ad Manager and want deal-targeted line items to be prioritised over the highest-cpm header bidder, but the highest bidder seems to always win. The dev implementation is based off the basic example here: http://prebid.org/adops.html and we've followed the AdOps guide here: http://prebid.org/adops/deals.html

When we set up a test where Sovrn bids 0.31 and Rubicon bids 0.25, we can see the targeting on the GAM request looks like this:

hb_adid: "176011aee6a6983"
hb_adid_rubicon: "5da9d8fb52f82e"
hb_adid_sovrn: "176011aee6a6983"
hb_bidder: "sovrn"
hb_bidder_rubicon: "rubicon"
hb_bidder_sovrn: "sovrn"
hb_deal_rubicon: "RBC_123"
hb_format: "banner"
hb_format_rubicon: "banner"
hb_format_sovrn: "banner"
hb_pb: "0.30"
hb_pb_rubicon: "0.20"
hb_pb_sovrn: "0.30"
hb_size: "320x50"
hb_size_rubicon: "320x50"
hb_size_sovrn: "320x50"
hb_source: "client"
hb_source_rubicon: "client"
hb_source_sovrn: "client"

In this case we need line item with the targeting hb_deal_rubicon=RBC_123 to win but we consistently get the one that has hb_pb=0.30.

We can't see where we're going wrong. Big thanks to anyone who can help!

tomraa avatar Nov 05 '18 23:11 tomraa

Update: we got the deal-related line item winning by giving the targeted line item a unique creative with the code w.pbjs.renderAd(document, '%%PATTERN:hb_adid_rubicon%%');, but this means we'll need to create a unique line item and unique creative for every deal, which seems long-winded.

Does anyone know a better way to set up GAM, so we don't need a new creative for every deal?

tomraa avatar Nov 06 '18 14:11 tomraa

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 20 '18 14:11 stale[bot]

ping

Same question with the Universal Creative: the line item wins but the Universal Creative uses hb_adid nonetheless.

benjaminclot avatar Jun 12 '19 15:06 benjaminclot