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

add rubicon targeting to rubicon bid responses for bidderSettings use #1045

Merged
merged 1 commit into from
Mar 27, 2017

Conversation

snapwich
Copy link
Collaborator

Type of change

  • Feature

Description of change

Allows targeting in rubicon response to be accessible on the bidResponse when using custom bidderSettings.

It would be used like so:

pbjs.bidderSettings = {
    rubicon: {
        sendStandardTargeting: false,
        adserverTargeting: [{
            key: 'rpfl_14062',
            val: function(bidResponse) {
                return bidResponse.rubiconTargeting.rpfl_14062;
            }
        }, {
            key: 'rpfl_elemid',
            val: function (bidResponse) {
                return bidResponse.rubiconTargeting.rpfl_elemid;
            }
        }]
    }
}

@grevory
Copy link
Contributor

grevory commented Mar 14, 2017

👍

Copy link
Collaborator

@protonate protonate left a comment

Choose a reason for hiding this comment

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

This looks good, confirmed key value set as expected, tests green.

@matthewlane matthewlane merged commit 7361e64 into prebid:master Mar 27, 2017
vzhukovsky added a commit to aol/Prebid.js that referenced this pull request May 19, 2017
…19.0 to aolgithub-master

* commit '5109273bd4317535b23e26ff609345101a3d038d': (49 commits)
  Disable unit tests that fails on PhantomJs.
  Fixed unit tests for adapter loader.
  Changed way of including analytic adapters.
  Added adapters in aolPartnersIds.json.
  Added changelog entry.
  Replace removed utils.extend functionality by object.assign.
  Add Inneractive adapter (prebid#1048)
  Add alias freewheel-ssp to stickyadstv bidder adapter  (prebid#1043)
  Add Facebook Audience Network adapter (prebid#1068)
  Add Atomx support (prebid#1056)
  Updated rubicon video bid endpoint in source and test files (prebid#1097)
  Pass through params to server (prebid#1084)
  Reset the list of slots to be requested between each action for pubmatic (prebid#1079)
  Support for downloading Analytics Adapters via http://prebid.org/download.html (prebid#1021)
  update PR template to include link to dev docs page (prebid#1075)
  Prebid 0.21.0
  Lifestreet adapter: ignore unnecessary events from creative. (prebid#1054)
  Video header bidding support to RhythmOne bidder adapter (prebid#1052)
  Add rubicon targeting to rubicon bid responses for bidderSettings use (prebid#1045)
  Fix adapter getSize (prebid#1064)
  ...
@robertrmartinez robertrmartinez deleted the rubicon-updates branch July 5, 2023 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants