Skip to content
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

added advertiserId and networkId for rubiconBidAdapter #2086

Merged

Conversation

snapwich
Copy link
Collaborator

Type of change

  • Feature

Description of change

Added an advertiserId and networkId to rubicon bid response so these values can be picked up by analytics and others interested in this data.

netRevenue: config.getConfig('rubicon.netRevenue') || false
netRevenue: config.getConfig('rubicon.netRevenue') || false,
advertiserId: ad.advertiser,
networkId: ad.network
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd propose that these values get set in a sub-object of the bidResponse. i.e. bidResponse.rp.advertiserId and bidResponse.rp.networkId.

These aren't meant to be values used outside certain RP-specific creative review scenarios.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds like a good idea.

@snapwich
Copy link
Collaborator Author

snapwich commented Feb 6, 2018

updated. using rubicon instead of rp just to be more consistent with our bidder code.

@mkendall07 mkendall07 added this to the Prebid 1.4.0 milestone Feb 12, 2018
@mkendall07 mkendall07 merged commit 64bc038 into prebid:master Feb 13, 2018
dluxemburg pushed a commit to Genius/Prebid.js that referenced this pull request Jul 17, 2018
* added advertiserId and networkId for rubiconBidAdapter

* move advertiserId and networkId into custom rubicon property
@robertrmartinez robertrmartinez deleted the rubicon-advertiserId-networkId branch July 5, 2023 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants