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

Greenbids Bidder Adapter #12510

Merged
merged 9 commits into from
Dec 17, 2024
Merged

Greenbids Bidder Adapter #12510

merged 9 commits into from
Dec 17, 2024

Conversation

jeremy-greenbids
Copy link
Contributor

Type of change

New bidder adapter

Module Name: Greenbids Bidder Adapter
Module Type: Bidder Adapter
Maintainer: tech@greenbids.ai

Description

Use greenbids as bidder.

AdUnits configuration example

    var adUnits = [{
      code: 'your-slot_1-div', //use exactly the same code as your slot div id.
      sizes: [[300, 250]],
      bids: [{
          bidder: 'greenbids',
          params: { 
              gbPlacementId: 12345,
          }
      }]
    },{
      code: 'your-slot_2-div', //use exactly the same code as your slot div id.
      sizes: [[600, 800]],
      bids: [{
          bidder: 'greenbids',
          params: { 
              placementId: 12345,
          }
      }]
    }];

Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. We hate that we have to mention this, however, commits designed to hide from this utility by renaming variables or reordering an object are poor conduct. We will not look upon them kindly! Keep up the great work! 🚀

Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. We hate that we have to mention this, however, commits designed to hide from this utility by renaming variables or reordering an object are poor conduct. We will not look upon them kindly! Keep up the great work! 🚀

@jeremy-greenbids jeremy-greenbids changed the title Adapter Greenbids Bidder Adapter Nov 27, 2024
*
* @returns {string} The content of the description meta tag, or an empty string if not found.
*/
function getPageDescription() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

There's a bunch of utility functions here that can be imported, could you move them all?

Thanks!

Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. We hate that we have to mention this, however, commits designed to hide from this utility by renaming variables or reordering an object are poor conduct. We will not look upon them kindly! Keep up the great work! 🚀

Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. We hate that we have to mention this, however, commits designed to hide from this utility by renaming variables or reordering an object are poor conduct. We will not look upon them kindly! Keep up the great work! 🚀

@jeremy-greenbids
Copy link
Contributor Author

@patmmccann the debate for dupplication as been settled on slack. Is it good for the rest please?

Copy link

github-actions bot commented Dec 4, 2024

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. We hate that we have to mention this, however, commits designed to hide from this utility by renaming variables or reordering an object are poor conduct. We will not look upon them kindly! Keep up the great work! 🚀

@jeremy-greenbids
Copy link
Contributor Author

I think it's good

@jeremy-greenbids
Copy link
Contributor Author

Can you tell if it is good now please? :)

@jeremy-greenbids
Copy link
Contributor Author

@patmmccann

@patmmccann patmmccann self-assigned this Dec 17, 2024
@patmmccann
Copy link
Collaborator

Welcome to the project!

@patmmccann patmmccann merged commit e060b74 into prebid:master Dec 17, 2024
4 of 5 checks passed
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.

2 participants