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

[Feature] Streamlined Buyer and Brand Id's

Open Slind14 opened this issue 8 years ago • 33 comments

Feature

From a publisher perspective it would be great to get access to the buyer and brand id's. A couple of major exchanges (AppNexus, Rubicon, Index..) are already exposing this data but do not follow a common syntax.

Current Situation:

AppNexus (1.x pbjs bid object) image Rubicon (1.x pbjs bid object) image Index (bid respond, not transmitted to pbjs bid object) image

Proposal

Major/Minor Version Optional streamlined/restful declaration for buyer, brand, landing page domain and additional dynamic information. Breaking Version (2.0) Network, Agency, Buyer, Brand and primaryCatId become mandatory.

Could look like:

meta: {
    networkId: 34,                          // Network/DSP Id
    networkName: 'Adform'                   // Network/DSP Name
    agencyId: 0,                            // Agency Id
    agencyName: 'direct',                   // Agency Name
    buyerId: 4994,                          // Buyer/Advertiser
    buyerName: 'Volvo',                     // Buyer/Advertiser Name
    brandId: 39342,                         // Brand/Product
    brandName: 'Volvo v40',                 // Brand/Product Name
    primaryCatId: 'IAB2',                   // Primary IAB Sub Category ID
    secondaryCatIds: ['IAB2-3'],            // Secondary IAB Sub Category IDs
    clickUrl: 'https://www.volvocars.com/nl/modellen/model/v40'   // landing page
}

Open to discussions

Are there any other variables/meta information which would/could be valuable for you?

Slind14 avatar Sep 21 '18 15:09 Slind14

Probably should rename domain to clickUrl since that's closer to the industry name.

mkendall07 avatar Sep 24 '18 18:09 mkendall07

Probably should rename domain to clickUrl since that's closer to the industry name.

Does clickUrl always refer to the "landing page" or to the tracking pages in between as well?

Slind14 avatar Sep 24 '18 18:09 Slind14

It depends. Some SSPs will use 2 separate URLS and some combine them (daisy chains style).

mkendall07 avatar Sep 24 '18 18:09 mkendall07

Updated split buyer into buyer and network. AppNexus reports both under buyer and most other exchanges report them separately. We want the lowest level of granularity and aggregate it on pub side if needed.

Slind14 avatar Nov 09 '18 03:11 Slind14

Updated added IAB Category ID

Slind14 avatar Nov 09 '18 03:11 Slind14

@Slind14 I updated it a bit. Let me know what you think. I dropped creativeId and DealId because they already exist on bid and I don't think we need to make a breaking change just to move them.

mkendall07 avatar Nov 21 '18 20:11 mkendall07

Looking good. I have added network name for convince. For clarity and order I think it could be of benefit to include the deal and creative id in the meta data, be it by keeping a duplicate in the parent object or depreciating the duplicate with the next breaking version.

Slind14 avatar Nov 21 '18 22:11 Slind14

This is a great addition. coming from the publisher side, what are the chances this info can be added into the bids and winning bids scripts ? ie http://prebid.org/dev-docs/troubleshooting-tips.html#see-all-bids-in-the-console and http://prebid.org/dev-docs/troubleshooting-tips.html#see-all-winning-bids-in-the-console The ability to see this would help a great deal in previewing bad creatives and blocking crappy buyers within each of the SSP.

chefbenjamin avatar Nov 22 '18 22:11 chefbenjamin

what are the chances this info can be added into the bids and winning bids scripts

A small addition to the script and you would be set. Though I highly recommend recording the data so you can track down and block bad ads more easily.

Slind14 avatar Nov 23 '18 13:11 Slind14

It would be helpful to distinguish between advertiser and agency, where that information is available. So:

buyerId: 4994,                   // Advertiser/Agency
buyerName: 'name',               // Buyer Name

might become:

agencyId: 4993,
agencyName: 'agName',
advertiserId: 4994, 
advertiserName: 'adName',

Would that be feasible?

kelvin-chappell avatar Jan 11 '19 10:01 kelvin-chappell

@kelvin-chappell updated it to reflect the additional dimension and added a simple example

Slind14 avatar Mar 13 '19 11:03 Slind14

Small update to match what we did for the long form video competitive separation.

mkendall07 avatar Mar 26 '19 18:03 mkendall07

we'd really love it if hb_adomain was a possible targeting key

patmmccann avatar Aug 09 '19 18:08 patmmccann

@Slind14 - is this issue ready to close?

@patmmccann - what is hb_adomain? Can you explain in a new issue?

bretg avatar Oct 17 '19 01:10 bretg

Hi @bretg,

this is still pending proper implementation. Being added to the docs and becoming mandatory.

Slind14 avatar Oct 19 '19 14:10 Slind14

If each bidder set key hb_bidder_adomain with the advertiser domain, we would find that incredibly useful.

On Wed, Oct 16, 2019, 6:07 PM bretg [email protected] wrote:

@Slind14 https://github.com/Slind14 - is this issue ready to close?

@patmmccann https://github.com/patmmccann - what is hb_adomain? Can you explain in a new issue?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/prebid/Prebid.js/issues/3115?email_source=notifications&email_token=AAM25Z727BOFP27N2KN4JHTQO63DTA5CNFSM4FWRPVQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBOMZYA#issuecomment-542952672, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM25Z4DGFWARJ45CDBBUQ3QO63DTANCNFSM4FWRPVQQ .

patmmccann avatar Oct 24 '19 22:10 patmmccann

Would you agree that hb_adomain_BIDDER could be optional as a targeting variable? We're already getting some pressure on how much data is going to the ad server.

@mkendall07 - making these fields mandatory or strongly encouraged seems like a candidate for 4.0?

bretg avatar Oct 28 '19 03:10 bretg

Certainly makes sense for it to be optional

On Sun, Oct 27, 2019 at 11:13 PM bretg [email protected] wrote:

Would you agree that hb_adomain_BIDDER could be optional as a targeting variable? We're already getting some pressure on how much data is going to the ad server.

@mkendall07 https://github.com/mkendall07 - making these fields mandatory or strongly encouraged seems like a candidate for 4.0?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/prebid/Prebid.js/issues/3115?email_source=notifications&email_token=AAM25ZZ3OHHKVJC7MWPTKGTQQZKHHA5CNFSM4FWRPVQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECLR7JA#issuecomment-546774948, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM25Z4RSQPWT72BL6RO4E3QQZKHHANCNFSM4FWRPVQQ .

patmmccann avatar Oct 31 '19 19:10 patmmccann

I took a first step and opened a docs PR to at least document the meta object. Made some changes to the proposal:

  • changed clickUrl to 'advertiserDomains'. Taking into account other advice, the domain of the clickUrl is not always the final landing page after a series of redirects. I used 'advertiserDomain' because it aligns with the OpenRTB 'adomain' field, which is an array in case this is a 'rotating creative'.
  • changed buyerId and buyerName to advertiserId and advertiserName to align with advertiserDomain. Also, 3 adapters already support advertiserId. Its a start.

I can be talked out of these changes.

@Slind14 and @patmmccann - need your review and suggestion about which fields are the most critical and should ideally be made "mandatory" in some future release.

Will leave the next step to @mkendall07. One suggestion would be to reach out to all 200+ adapters and warn that the meta object may someday be required, and in any case, is desired by publishers.

bretg avatar Apr 06 '20 01:04 bretg

I'm good with these adjustments. If it is possible to send out an email to all the maintainers of the adapters, that would be fantastic.

The most important ones are network/dsp and buyer/advertiser followed by brand.

Slind14 avatar Apr 06 '20 08:04 Slind14