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

fix for not syncing bidders. #1598

Merged
merged 2 commits into from
Sep 19, 2017
Merged

fix for not syncing bidders. #1598

merged 2 commits into from
Sep 19, 2017

Conversation

mkendall07
Copy link
Member

@mkendall07 mkendall07 commented Sep 18, 2017

This is a partial fix for #1582
I'll update this PR shortly with another fix

@dbemiller
Copy link
Contributor

Probably worth having a test to prevent regressions

Copy link
Collaborator

@protonate protonate left a comment

Choose a reason for hiding this comment

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

happened to catch a typo here

@@ -212,7 +212,9 @@ function PrebidServer() {
*/
baseAdapter.queueSync = function({bidderCodes}) {
let syncedList = StorageManager.get(pbjsSyncsKey) || [];
if (_cookiesQueued || syncedList.length === bidderCodes.length) {
// filter synced bidders - https://github.com/prebid/Prebid.js/issues/1582
syncList = bidderCodes.filter(bidder => !syncList.includes(bidder));
Copy link
Collaborator

Choose a reason for hiding this comment

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

typo in variable name, should be syncedList, or syncList, but consistent

Copy link
Member Author

Choose a reason for hiding this comment

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

good catch thanks.

@matthewlane matthewlane merged commit 99aa370 into master Sep 19, 2017
@matthewlane matthewlane deleted the bugfix/sync_prebid_server branch September 19, 2017 20:14
jbAdyoulike pushed a commit to jbAdyoulike/Prebid.js that referenced this pull request Sep 21, 2017
* fix for prebid#1582

* fixed typo and add unit tests
outoftime pushed a commit to Genius/Prebid.js that referenced this pull request Sep 21, 2017
* tag '0.29.0' of https://github.com/prebid/Prebid.js: (29 commits)
  Prebid 0.29.0 Release
  Fix for not syncing bidders.  (prebid#1598)
  fix amp example pages (prebid#1597)
  closes prebid#1298 (prebid#1583)
  Fixed the broken tests. (prebid#1602)
  Rubicon Bidder Factory (prebid#1587)
  Trustx adapter (prebid#1488)
  Add nurl to markup (prebid#1601)
  Pass bidRequest to createBid (prebid#1600)
  Add Kumma adapter (prebid#1512)
  Serverbid alias (prebid#1560)
  Add user sync to process for approving adapter PRs (prebid#1457)
  fix travis build (prebid#1595)
  Rubicon project improvement/user sync (prebid#1549)
  Adding Orbitsoft adapter (prebid#1378)
  Fix renderer test for new validation rule (prebid#1592)
  Allow SET_TARGETING to be used in AnalyticsAdapter (prebid#1577)
  Add support for video stream context (prebid#1483)
  Invalidate bid if matching bid request not found (prebid#1575)
  allow adapters to set default adserverTargeting for specific bid (prebid#1568)
  ...
vzhukovsky added a commit to aol/Prebid.js that referenced this pull request Oct 13, 2017
….29.0 to aolgithub-master

* commit 'd7a1d285acbf95fad7562f1c0077ea99df9e5976': (45 commits)
  Added changelog entry.
  Add support for secure bid requests for one mobile get endpoint.
  Fixed adding undefined value for request without data
  Fixed wrong userSyncs type for image tags
  Updated unit tests for AOL userSyncOn.
  Added support for dropping pixels after bid response.
  Improved code formatting, fixed typos.
  Added userSync feature for aol adapter.
  Added test cases for contentType and headers. Fixes unit tests for AOL adapter.
  Added cpm adjustment warning.
  Added initial support for unit tests.
  Added drop pixels support.
  Added bid response handler.
  Converted AOL bid adapter to Prebid 1.0.
  Added changelog entry.
  Added new aol partners ids.
  Prebid 0.29.0 Release
  Fix for not syncing bidders.  (prebid#1598)
  fix amp example pages (prebid#1597)
  closes prebid#1298 (prebid#1583)
  ...
dluxemburg pushed a commit to Genius/Prebid.js that referenced this pull request Jul 17, 2018
* fix for prebid#1582

* fixed typo and add unit tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants