Skip to content

LiveIntent RTD provider: does nothing since 10.0 (reads bid.userId.lipb.segments) #16221

Open

Description

@patmmccann

🤖 This issue was written by an AI agent (Claude Code) on behalf of @patmmccann.

Type of issue

Bug: a module that has done nothing since Prebid.js 10.0.

Description

modules/liveIntentRtdProvider.js has one piece of logic. In onBidRequestEvent, it reads LiveIntent segments from each bid's raw userId object and copies them into ortb2.user.data:

const providedSegmentsFromUserId = deepAccess(bid, 'userId.lipb.segments', []);

Since Prebid.js 10.0 (#13253), the User ID module no longer sets bid.userId. IDs reach bid requests only as EIDs (ortb2.user.ext.eids, aliased as bid.userIdAsEids). So bid.userId is always undefined, the segment list is always empty, and the module never adds anything. It fails silently: no error, no warning. The module's .md still describes reading bidRequest.userId.lipb.segments.

The segments do still exist. libraries/liveIntentId/shared.js still puts them in the ID system's output (lipb.segments). They just no longer reach the RTD module through the bid.

Steps to reproduce

  1. Build with rtdModule,liveIntentRtdProvider,userId,liveIntentIdSystem and a bidder, and configure the liveIntent ID module so it returns segments.
  2. Run an auction.
  3. Inspect the bid requests' ortb2.user.data.

Expected results

A { name: 'liveintent.com', segment: [...] } entry with the user's segments.

Actual results

No liveintent.com entry. The RTD module adds nothing.

Possible fixes (for the maintainers to choose)

  • Read the segments from where they now live. Either have the ID module expose them on its EID (for example in the EID's ext), and read that from ortb2.user.ext.eids or bid.userIdAsEids. Or read the ID module's output through getGlobal().getUserIds()?.lipb?.segments.
  • Consider moving the work to getBidRequestData, the usual RTD hook for enriching first-party data before the auction, rather than mutating bid requests in the bidRequested event.
  • Update modules/liveIntentRtdProvider.md and its tests.
  • If the module is no longer needed, say so, and it can be deprecated and removed in 12.0.

Related: #16205 removed other bid.userId reads left over from 10.0; this module was left alone because the fix needs the maintainers.

@3link, could you take a look?

Activity

  1. 3link commented on Nov 17, 2026

    @3link
    Contributor

    @patmmccann Is on my list 👍

  2. 3link commented on Nov 24, 2026

    @3link
    Contributor

    @patmmccann I opened this PR with a fix. Can you please have a look when you find time?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions