Skip to content

- New Adapter: Innity#1074

Merged
mkendall07 merged 10 commits intoprebid:masterfrom
engtat:master
Apr 14, 2017
Merged

- New Adapter: Innity#1074
mkendall07 merged 10 commits intoprebid:masterfrom
engtat:master

Conversation

@engtat
Copy link
Contributor

@engtat engtat commented Mar 24, 2017

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

Hi, new Innity Prebid.js adapter

  • test parameters for validating bids
{
  bidder: 'innity',
  params: {
    pub: 267,
    zone: 62546
  }
}

Other information

Thanks.

Copy link
Collaborator

@jaiminpanchal27 jaiminpanchal27 left a comment

Choose a reason for hiding this comment

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

@engtat Please check the comments.
Thanks.

var bidObject = {}, callbackID, libURL = window.location.protocol + "//cdn.innity.net/frame_util.js";
callbackID = response.callback_uid;
if (response.cpm > 0) {
bidObject = bidfactory.createBid(CONSTANTS.STATUS.GOOD);
Copy link
Collaborator

Choose a reason for hiding this comment

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

use bidRequest object as second argument to match bid request/response pair

bidObject.width = response.width;
bidObject.height = response.height;
} else {
bidObject = bidfactory.createBid(CONSTANTS.STATUS.NO_BID);
Copy link
Collaborator

Choose a reason for hiding this comment

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

use bidRequest object as second argument to match bid request/response pair

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

window.pbjs = window.pbjs || {};
Copy link
Collaborator

Choose a reason for hiding this comment

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

use $$PREBID_GLOBAL$$ instead of pbjs in this file.


it('bid request for single placement', function () {

var params = {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Format this file properly.

adapters.json Outdated
"gumgum",
"hiromedia",
"indexExchange",
"innity",
Copy link
Collaborator

Choose a reason for hiding this comment

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

align "innity"

var adapter = require('src/adapters/innity');
var adLoader = require('src/adloader');
var bidmanager = require('src/bidmanager');
var utils = require('src/utils');
Copy link
Collaborator

Choose a reason for hiding this comment

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

You are not using utils, CONSTANTS anywhere. Remove them if not required

if (typeof(pbjs._bidsRequested) === "undefined") {
pbjs._bidsRequested = [];
}
if (typeof(pbjs._adsReceived) === "undefined") {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do you need _adsReceived here ? How are you using this ?

@engtat
Copy link
Contributor Author

engtat commented Apr 6, 2017

@jaiminpanchal27 We have made the necessary changes, thanks.

@mkendall07
Copy link
Contributor

LGTM.

@mkendall07 mkendall07 merged commit 4257158 into prebid:master Apr 14, 2017
@mkendall07
Copy link
Contributor

This is merged into master. Please submit a PR to the docs repo to add a file for your adapter to the bidders directory so your adapter's params will appear on the bidders page. Thank you for contributing

outoftime added a commit to Genius/Prebid.js that referenced this pull request Apr 19, 2017
…built

* 'master' of https://github.com/prebid/Prebid.js: (38 commits)
  Add optional domain parameter to AdButler adapter (prebid#1078)
  Send transactionID to Criteo Services (prebid#1113)
  Fix `buildMasterVideoTagFromAdserverTag()` not selecting winning bid (prebid#1106)
  Remove placement size selection and filtering (prebid#1107)
  revert `srcdoc` change (prebid#1130)
  Add new Adapter- Beachfront Media (prebid#1062)
  Fixes SpringServe adapter (prebid#1101)
  Update Widespace request param (prebid#1098)
  - New Adapter: Innity (prebid#1074)
  Update Roxot prebid analytic adapter (prebid#1034)
  Yarn Package Manager (prebid#1109)
  allow writing into current document if prebid is loaded inside an iframe (prebid#1066)
  Adapter bug fix (prebid#1096)
  fix typo
  added pr review process and governance model (prebid#1103)
  added support for sampling in ga and base adapter, fixed up some tests (prebid#1011)
  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)
  ...
pm-abhinav-deshpande pushed a commit to pm-abhinav-deshpande/Prebid.js that referenced this pull request Apr 23, 2025
support for gzip compression for ssp bid requests to ssp endpoints
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.

3 participants

Comments