Skip to content

Tappx Bid Adapter: minor updates and universal id added - #6504

Merged
ChrisHuie merged 11 commits into
prebid:masterfrom
prebidtappx:master
Apr 7, 2021
Merged

Tappx Bid Adapter: minor updates and universal id added#6504
ChrisHuie merged 11 commits into
prebid:masterfrom
prebidtappx:master

Conversation

@prebidtappx

Copy link
Copy Markdown
Contributor

Type of change

  • Bugfix
  • Feature

Description of change

  • Minimal adapter updates:
    • An adapter bug related sending the parameters in the buildRequests function has been resolved.
    • Version adapter added
    • Info about requests domain updated
  • The Universal ID has been added in the requests.

Other information

@lgtm-com

lgtm-com Bot commented Mar 31, 2021

Copy link
Copy Markdown

This pull request introduces 6 alerts when merging 8700881 into c5cd4e2 - view on LGTM.com

new alerts:

  • 6 for Useless regular-expression character escape

@smenzer smenzer left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

make sure you don't include the packgage-lock.json in your PR, please.

also, I would suggest adding a test to ensure that the payload.user gets set properly with values from the eids array.

Comment thread modules/tappxBidAdapter.js Outdated
Comment thread modules/tappxBidAdapter.js Outdated
Comment on lines +281 to +284
let user = {};
user.ext = {};
user.ext.eids = eidsArr;
payload.user = user;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

this could be written in a single line like this:

Suggested change
let user = {};
user.ext = {};
user.ext.eids = eidsArr;
payload.user = user;
payload.user = {
ext: {
eids: eidsArr
}
};

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated in commit 37d9f96

@lgtm-com

lgtm-com Bot commented Mar 31, 2021

Copy link
Copy Markdown

This pull request introduces 6 alerts when merging 88dfa06 into c5cd4e2 - view on LGTM.com

new alerts:

  • 6 for Useless regular-expression character escape

@lgtm-com

lgtm-com Bot commented Mar 31, 2021

Copy link
Copy Markdown

This pull request introduces 6 alerts when merging 37d9f96 into c5cd4e2 - view on LGTM.com

new alerts:

  • 6 for Useless regular-expression character escape

@prebidtappx

Copy link
Copy Markdown
Contributor Author

First of all, thank you for your comments @smenzer
About the "packgage-lock.json", should I create a new pr or do I update it the same way it is in your master branch?

Thank you

@ChrisHuie

Copy link
Copy Markdown
Collaborator

I would just untrack the package-lock file in this pr or you can update it to match the master branch.

@prebidtappx

Copy link
Copy Markdown
Contributor Author

I've just updated for matching the package-lock.json from master.

@lgtm-com

lgtm-com Bot commented Mar 31, 2021

Copy link
Copy Markdown

This pull request introduces 6 alerts when merging e5777a2 into c5cd4e2 - view on LGTM.com

new alerts:

  • 6 for Useless regular-expression character escape

@ChrisHuie
ChrisHuie self-requested a review March 31, 2021 12:16
@ChrisHuie ChrisHuie self-assigned this Mar 31, 2021
@patmmccann

Copy link
Copy Markdown
Collaborator

Comment says add uid, but code seems to pass all id's? Do you drop the rest server side? Can you clarify with a docs pr?

@ChrisHuie

Copy link
Copy Markdown
Collaborator

@prebidtappx 👆 question and if you could please update docs before we merge 🙏

@prebidtappx

prebidtappx commented Apr 7, 2021

Copy link
Copy Markdown
Contributor Author

Hello @patmmccann @ChrisHuie
we pass all the id's and it's managed on the server side
We've updated our docs in prebid/prebid.github.io#2829
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants