-
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
Deal specific line items don't work #3899
Comments
Sorry for the silence on this issue @benjaminclot. The answer in #3266 is close to correct, but it's not quite as bad as it sounds:
Really it's just a unique line item and creative per bidder, not for every deal. e.g. targeting could be to hb_deal_BIDDERCODE in (1111,2222,3333). I've updated the deals page on prebid.org -- http://prebid.org/adops/deals.html#step-4-attach-creatives-to-line-items Basically, the line item targeting has to match what the creative sends back to Prebid.js -- so if the line item is targeted to hb_deal_BIDDERCODE, then the creative needs to send back hb_adid_BIDDERCODE. If you see a way around this, happy to take suggestions. I see that the last screenshot on the deals page needs to be changed -- not recommended to target different BIDDERCODEs in the same line item because of the adid issue. |
@bretg as much as I do agree with your statement and solution, this doesn't work with |
Not quite following @benjaminclot.
|
I understand where my explanations might not be clear @bretg so let me try again. Take these bid responses:
When
Whereas with
What I'm trying to convey here is that, while the docs state that all deal IDs are being sent (even for losing bids), their other properties (ad ID, cpm, etc.) are not. Thus, it is not possible to make them win in a deal specific line item because we don't get (at least) their ad ID; so the creative template will still render the winning bid. Maybe a solution would be to get something like this with
On a side note, I'm also wondering how is handled the case when a bidder has multiple bid responses, since there seems to be only one |
Thanks for the explanation -- we'll discuss what to do about this: understood that targeting values come in sets, and if we're only providing one element of the set, that's bad.
Only the highest bid from each bidder is considered. |
We discussed in the meeting today and resolved:
Proposed config:
If both Will open a separate issue to discuss how to customize which bids are sent. |
Hey @bretg . We already have a
Should we put the Also, I'm not clear if you are saying |
As a temporary fix, I've enabled Talking about the future, I think the goal for deals should be to get them all. In the case of deals, you can't let Prebid decide: the ad server should get all the info it needs to make a decision and cpms are (often? sometimes?) meaningless. That means getting all the deals and their associated metadata, whatever their cpm and even if there are multiple responses for the same bidder. |
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. |
Following up and referencing #3906 I think what we're facing here is the general desire for more flexibility in deciding which bids go to the ad server. In some cases there are too many KVPs, so there's a desire to control how many are going out. But previous efforts to limit the KVPs haven't provided a lot of flexibility in controlling which go out. One option would be to just provide an easy-to-grok example of writing your own Another option would be the ability for the publisher to supply a function that sorts the bids array. e.g.
|
When using an ad server, I'm not a big fan of having a client-side function as It prevents adops from doing their job because they don't have access to the Prebid config... and don't know how to code. Also, it's not good for maintainability -- in the case of this issue, editing the function each time you get a new "win-them-all" deal would quickly become a nightmare. |
@benjaminclot I generally agree with you, however, if prebid sets too many keys than it completely breaks the ad server call. So some control is needed, to prevent catastrophic failure. |
@mkendall07 yes, of course. My proposal was that when |
@mkendall07 - the IMO, either we need to fix And I'm ok with what @benjaminclot suggests here and adding deal KVPs for enableSendAllBids=false. Not sure I agree with the concern that adding a sort function would make AdOps' jobs harder -- such a function could be packaged up with Prebid.js so could have parameters tweaked by the PBJS packaging process. But in any case, the other solutions are fine. |
I've opened an internal Rubicon ticket to add the deal KVPs on |
Update: this was pushed out of last sprint, but is in our current sprint |
I know we discussed this in the Prebid.js meeting, but I couldn't find the results of the conversation. We're building this now and are concerned about the change the behavior of the existing system without adding a new flag. So that's what we propose:
|
This seems like a good option to me. |
Have a PR open and waiting for review. |
That's great! Now all that's missing is support of this by the Universal Creative... |
@benjaminclot - I'm not seeing a Prebid Universal Creative issue.
As noted in the comment way above, I updated the documentation to reflect how deals need to be set up. You're right that won't work without hb_adid_BIDDERCODE, but the Note also that I submitted a docs PR to revise the enableSendAll bids section |
OK this is good @bretg. Thanks! |
Cool. So we can close this @benjaminclot ? |
Yes, I'll close it. |
Type of issue
Deals don't work as advertised in the docs.
Description
When creating a deal specific line item, that LI wins but the Universal Creative code doesn't support it and only uses
hb_adid
which may not be the deal's ad ID.My guess is that it's not possible to know why GAM elected a LI to win with macros, so either the creative template or the UC code needs to be changed? Also, the deal's ad ID, if it didn't win, doesn't seem to be sent in the key-values with
enableSendAllBids: false
.Other information
This has already been reported (and ignored 😞) in #3266 back in november.
The text was updated successfully, but these errors were encountered: