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

Implement liveintentRtd module #45

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

wi101
Copy link

@wi101 wi101 commented Dec 18, 2024

CM-1589

Tested in this page: https://vdreiling-lab-test.s3.us-east-1.amazonaws.com/prebid1589/liveintentRtdExample.html

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

Other information

Copy link

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

  • modules/liveintentRtdProvider.js (+3 warnings)

modules/liveintentRtdProvider.js Outdated Show resolved Hide resolved
modules/liveintentRtdProvider.js Outdated Show resolved Hide resolved
modules/liveintentRtdProvider.js Outdated Show resolved Hide resolved
modules/liveintentRtdProvider.js Outdated Show resolved Hide resolved
Copy link

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

  • modules/liveintentRtdProvider.js (+3 warnings)

@wi101 wi101 requested a review from 3link December 19, 2024 14:23
Copy link

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

  • modules/liveintentRtdProvider.js (+3 warnings)

Copy link

github-actions bot commented Jan 3, 2025

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

  • modules/liveintentRtdProvider.js (+3 warnings)

Copy link

github-actions bot commented Jan 3, 2025

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

  • modules/liveIntentRtdProvider.js (+3 warnings)

Copy link

github-actions bot commented Jan 7, 2025

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

  • modules/liveIntentRtdProvider.js (+3 warnings)

1 similar comment
Copy link

github-actions bot commented Jan 7, 2025

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

  • modules/liveIntentRtdProvider.js (+3 warnings)

Copy link

github-actions bot commented Jan 8, 2025

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

  • modules/liveIntentRtdProvider.js (+3 warnings)

@@ -190,7 +190,7 @@ describe('LiveIntentId', function() {

it('should not return a decoded identifier when the unifiedId is not present in the value', function() {
const result = liveIntentIdSubmodule.decode({ params: { fireEventDelay: 1, additionalData: 'data' } });
expect(result).to.be.eql({});
expect(result).to.be.eql({ 'lipb': {'params': { 'fireEventDelay': 1, 'additionalData': 'data' }} });
Copy link

Choose a reason for hiding this comment

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

It looks like the test is broken. The input should be (value, config). The test is only passing in config and it is handled as value. This inout should be ({}, { params: { fireEventDelay: 1, additionalData: 'data' } })

Copy link
Author

Choose a reason for hiding this comment

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

I adjusted it

Copy link

github-actions bot commented Jan 8, 2025

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

  • modules/liveIntentRtdProvider.js (+3 warnings)

Copy link

github-actions bot commented Jan 8, 2025

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

  • modules/liveIntentRtdProvider.js (+3 warnings)

Copy link

github-actions bot commented Jan 8, 2025

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

  • modules/liveIntentRtdProvider.js (+3 warnings)

Copy link

github-actions bot commented Jan 8, 2025

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

  • modules/liveIntentRtdProvider.js (+3 warnings)

@wi101 wi101 requested a review from 3link January 8, 2025 14:19
@@ -469,6 +479,13 @@ describe('LiveIntentId', function() {
expect(result).to.eql({'lipb': {'lipbid': 'foo', 'nonId': 'foo', 'tdid': 'bar'}, 'tdid': {'id': 'bar', 'ext': {'rtiPartner': 'TDID', 'provider': provider}}});
});

it('should decode the segments to a separate object when present', function() {
Copy link

Choose a reason for hiding this comment

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

It will not decode segments to a separate object - as discussed in the docs PR. It will be part of the lipb id.

Copy link
Author

Choose a reason for hiding this comment

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

good catch, I copy pasted the text, but the expectation of test is as discussed.

@wi101 wi101 requested a review from 3link January 8, 2025 15:04
Copy link

github-actions bot commented Jan 8, 2025

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

  • modules/liveIntentRtdProvider.js (+3 warnings)

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.

2 participants