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

Platform.io Bidder Adapter update. Prebid v1.0. #1705

Merged
merged 29 commits into from
Oct 23, 2017
Merged

Platform.io Bidder Adapter update. Prebid v1.0. #1705

merged 29 commits into from
Oct 23, 2017

Conversation

varashellov
Copy link
Contributor

Type of change

  • Bugfix
  • Feature
  • New bidder adapter
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other

Description of change

Platform.io Bidder Adapter update. Prebid v1.0.
Adapter does not support external JS library

  • test parameters for validating bids
{
  bidder: 'platformio',
  params: {
    pubId: '28082',
    siteId: '26047',
    placementId: '123',
    size: '250X250'
  }
}

Other information

Copy link
Collaborator

@matthewlane matthewlane left a comment

Choose a reason for hiding this comment

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

Thanks for the updated adapter, I was able to verify bid responses with the provided test parameters. A few line removals requested below. Also it looks like all three files in the PR have CRLF/Windows-style line endings, preferably update these to have LF/Unix-style line endings to be consistent with the other file in the project

$$PREBID_GLOBAL$$._bidsReceived = [];
import {expect} from 'chai';
import {spec} from 'modules/platformioBidAdapter';
import bidManager from 'src/bidmanager';
Copy link
Collaborator

Choose a reason for hiding this comment

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

bidManager isn't used in the test, line can be removed

import {spec} from 'modules/platformioBidAdapter';
import bidManager from 'src/bidmanager';
import {getTopWindowLocation} from 'src/utils';
import {newBidder} from 'src/adapters/bidderFactory';
Copy link
Collaborator

Choose a reason for hiding this comment

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

newBidder isn't used in the test, line can be removed

var adloader = require('src/adloader.js');
var utils = require('src/utils.js');
var CONSTANTS = require('src/constants.json');
var adaptermanager = require('src/adaptermanager');

Copy link
Collaborator

Choose a reason for hiding this comment

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

Preferable to start files with content rather than a blank line, line can be removed

@varashellov
Copy link
Contributor Author

@matthewlane Hey, thanks for the feedback. Everything was updated, please verify. Looking forward to you reply.

@dbemiller dbemiller merged commit 409fbc5 into prebid:master Oct 23, 2017
Millerrok pushed a commit to Vertamedia/Prebid.js that referenced this pull request Oct 25, 2017
* 'master' of https://github.com/prebid/Prebid.js: (414 commits)
  Make response headers available to the specs (prebid#1748)
  add option to run tests in a specific file (prebid#1727)
  Update JCM Adapter to 1.0  (prebid#1715)
  Finished an unfinished comment. (prebid#1749)
  Platform.io Bidder Adapter update.  Prebid v1.0. (prebid#1705)
  Fix window.top.host cross origin issue when in nested iframes. (prebid#1730)
  fix log message not displaying when referencing missing bidder (prebid#1737)
  Allow more than one placement from one page (prebid#1692)
  Justpremium Adapter bugfix (prebid#1716)
  Updating license (prebid#1717)
  realvuBidAdapter  (prebid#1571)
  Update JSDoc to call the module `pbjs` (prebid#1572)
  Update Beachfront adapter for v1.0 (prebid#1675)
  Update AdButler adapter for Prebid v1.0 (prebid#1664)
  Increment pre version
  Fix for prebid#1628 (allowing standard bidCpmAdjustment) (prebid#1645)
  Prebid 0.31.0 Release
  Support native click tracking (prebid#1691)
  Initial commit for video support for pbs (prebid#1706)
  Fixes: Immediate adapter response may end auction (prebid#1690)
  ...
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.

5 participants