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 adapter for IAS #2056

Merged
merged 6 commits into from
Feb 8, 2018
Merged

Conversation

katzhang-ias
Copy link
Contributor

Type of change

  • New bidder adapter

Description of change

This module is an integration with prebid.js with an IAS product, pet.js. It is not a bidder per se but works in a similar way: retrieve data that publishers might be interested in setting keyword targeting.

  • test parameters for validating bids
                   {
                       bidder: "ias",
                       params: {
                           pubId: '99',
                           adUnitPath: '/57514611/news.com'
                       }
                   }

Be sure to test the integration with your adserver using the Hello World sample page.

  • contact email of the adapter’s maintainer: [email protected]
  • official adapter submission

// Necessary to get around with prebid's common bid response check
const commonBidResponse = {
requestId: request.bidRequest.bidId,
cpm: 1,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can this be changed to 0.01? The hardcoded 1 may prevent bidders with real cpms from winning

@katzhang-ias
Copy link
Contributor Author

Hi @matthewlane ,
I changed the cpm value per review. Please take a look when you have a chance.
Thanks!

@matthewlane
Copy link
Collaborator

@katzhang-ias Please also 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

@katzhang-ias
Copy link
Contributor Author

Thanks @matthewlane ! Will do.

@katzhang-ias
Copy link
Contributor Author

Docs PR: prebid/prebid.github.io#595

@katzhang-ias
Copy link
Contributor Author

Please let me know if there's anything else that needs to be done to get it merged/released.

@matthewlane matthewlane merged commit ace5903 into prebid:master Feb 8, 2018
@matthewlane matthewlane added this to the Prebid 1.4.0 milestone Feb 9, 2018
Millerrok pushed a commit to Vertamedia/Prebid.js that referenced this pull request Feb 12, 2018
* 'master' of https://github.com/prebid/Prebid.js: (51 commits)
  Update maintainer email (prebid#2132)
  Replace event string with constant (prebid#2128)
  Add adapter for IAS (prebid#2056)
  Fix sovrn dealid (prebid#2119)
  Added support for NURL and ADM as backup (prebid#2112)
  fix bug where hooked functions w/ no hooks weren't ran immediately (prebid#2115)
  Increment pre version
  Prebid 1.3.1 Release
  Omit app and device if not present rather than send false (prebid#2116)
  Increment pre version
  Prebid.js 1.3.0 Release
  Unit test fixes (prebid#2111)
  must explicitly list pre1api for it to be included in build (prebid#2097)
  adkernel adapter additional bid parameters (prebid#2105)
  removing userSync (prebid#2032)
  33across Bid Adapter: Bugfix + Refactor (prebid#2024)
  Port calling order fix to 1.x  (prebid#2067)
  Update adform adapter request (prebid#2107)
  Serverbid Bid Adapter: getUserSyncs and new adsizes (prebid#2106)
  Add hfa and pv parameter to request payload (prebid#2109)
  ...
dluxemburg pushed a commit to Genius/Prebid.js that referenced this pull request Jul 17, 2018
* PET-201: got a working version

* PET-201: encoded query string

* PET-201: added unit tests

* PET-201: added missing keyword

* PET-201: corrected coding styles

* PET-201: decreased cpm so real bidders could win per code review
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