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

Prebid Core: refactor to targeting file for readability and efficiency #12273

Merged
merged 2 commits into from
Oct 1, 2024

Conversation

mmoschovas
Copy link
Contributor

Type of change

  • Bugfix

  • Feature

  • New bidder adapter

  • Updated bidder adapter

  • Code style update (formatting, local variables)

  • Refactoring (no functional changes, no api changes)

  • Build related changes

  • CI related changes

  • Does this change affect user-facing APIs or examples documented on http://prebid.org?

  • Other

Description of change

Refactoring of targeting methods to improve readability, align winning bids, and implement efficiency benefits/overall loop reduction

Other information

Copy link

Tread carefully! This PR adds 4 linter warnings (possibly disabled through directives):

  • src/targeting.js (+4 warnings)

@patmmccann patmmccann changed the title refactor to targeting file for readability and efficiency Prebid Core: refactor to targeting file for readability and efficiency Sep 25, 2024
Copy link

Tread carefully! This PR adds 4 linter warnings (possibly disabled through directives):

  • src/targeting.js (+4 warnings)

@patmmccann
Copy link
Collaborator

fixes #3308

@patmmccann patmmccann linked an issue Sep 25, 2024 that may be closed by this pull request
src/targeting.js Outdated Show resolved Hide resolved
@mmoschovas mmoschovas force-pushed the refactor-set-targeting branch 3 times, most recently from 968b2f3 to 8629bfa Compare September 26, 2024 12:20
@prebid prebid deleted a comment from github-actions bot Sep 26, 2024
@prebid prebid deleted a comment from github-actions bot Sep 26, 2024
@prebid prebid deleted a comment from github-actions bot Sep 26, 2024
test/fixtures/fixtures.js Show resolved Hide resolved
test/spec/unit/core/targeting_spec.js Outdated Show resolved Hide resolved
Copy link

Tread carefully! This PR adds 3 linter errors (possibly disabled through directives):

  • src/targeting.js (+3 errors)

Copy link

Tread carefully! This PR adds 1 linter error (possibly disabled through directives):

  • src/targeting.js (+1 error)

fix
update

update

fix again
@mmoschovas mmoschovas added the needs 2nd review Core module updates require two approvals from the core team label Oct 1, 2024
@patmmccann patmmccann merged commit d807678 into master Oct 1, 2024
6 checks passed
@patmmccann patmmccann deleted the refactor-set-targeting branch October 1, 2024 18:12
Copy link
Collaborator

@patmmccann patmmccann left a comment

Choose a reason for hiding this comment

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

Lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance needs 2nd review Core module updates require two approvals from the core team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom adserver targeting applied to other bidders
4 participants