Skip to content

fix(tiktok_ads): correct Events 2.0 content IDs key - #5630

Merged
shekhar-rudder merged 1 commit into
developfrom
harness/INT-7275-fix-tiktok-ads-correct-events-2-4927c395
Oct 6, 2026
Merged

shekhar-rudder merged 1 commit into
developfrom
harness/INT-7275-fix-tiktok-ads-correct-events-2-4927c395

Conversation

@rudder-devbox

@rudder-devbox rudder-devbox Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

What are the changes introduced in this PR?

Rename the TikTok Ads Events 2.0 outbound property from contents_ids to TikTok's documented content_ids parameter. Update the corresponding unit, processor, and router expectations without changing ID extraction or related payload fields.

What is the related Linear task?

Resolves INT-7275

Related: INT-7274

Please explain the objectives of your changes below

Ensure Events 2.0 track events containing properties.contents or properties.products send their existing ordered product ID list under properties.content_ids, allowing TikTok to recognize the recommended parameter.

Any changes to existing capabilities/behaviour, mention the reason & what are the changes ?

The emitted top-level Events 2.0 property is corrected from the invalid contents_ids spelling to content_ids. Nested contents[].content_id, num_items, ID filtering and ordering remain unchanged.

Any new dependencies introduced with this change?

N/A

Any new generic utility introduced or modified. Please explain the changes.

N/A

Any technical or performance related pointers to consider with the change?

No performance impact. This is a payload-key-only correction.


Developer checklist

  • My code follows the style guidelines of this project

  • No breaking changes are being introduced.

  • All related docs linked with the PR? N/A — no documentation changes required

  • All changes manually tested?

  • Any documentation changes needed with this change? No

  • Is the PR limited to 10 file changes?

  • Is the PR limited to one linear task?

  • Are relevant unit and component test-cases added in new readability format?

Reviewer checklist

  • Is the type of change in the PR title appropriate as per the changes?

  • Verified that there are no credentials or confidential data exposed with the changes.

Validation

  • npm test -- tiktok_ads — passed, 3 suites and 33 tests
  • npm run test:ts -- component --destination=tiktok_ads — passed, 1 suite and 73 tests
  • npm run lint — passed
  • git diff --check — passed
  • Confirmed no contents_ids occurrences remain under the TikTok Ads source or integration fixtures

@rudder-devbox

rudder-devbox Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

👋 I'm rudder-devbox. I opened this PR from a Linear ticket.

Mention @devbox or @rudder-devbox and I'll act on it — on a top-level PR comment,
in a review summary, or on an inline comment on the diff. Without a mention I won't see it.

@coderabbitai

coderabbitai Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 98a3f362-6c96-4c24-8423-70adff3052c4

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@rudder-devbox

rudder-devbox Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

⚠ CI failed on Verify but I could not fetch any job logs to diagnose the failure.

Errors encountered:
No details available.

View the run

@rudder-devbox

rudder-devbox Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

⚠ CI failed on zizmor but I could not fetch any job logs to diagnose the failure.

Errors encountered:
No details available.

View the run

@rudder-devbox

rudder-devbox Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

⚠ CI failed on Verify Server start but I could not fetch any job logs to diagnose the failure.

Errors encountered:
No details available.

View the run

@rudder-devbox

rudder-devbox Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

⚠ CI failed on Commitlint but I could not fetch any job logs to diagnose the failure.

Errors encountered:
No details available.

View the run

@rudder-devbox

rudder-devbox Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

⚠ CI failed on DT Tests but I could not fetch any job logs to diagnose the failure.

Errors encountered:
No details available.

View the run

@rudder-devbox

rudder-devbox Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

⚠ CI failed on Build Artifacts for PRs but I could not fetch any job logs to diagnose the failure.

Errors encountered:
No details available.

View the run

@shekhar-rudder
shekhar-rudder marked this pull request as ready for review October 6, 2026 09:11
@shekhar-rudder
shekhar-rudder requested review from a team as code owners October 6, 2026 09:11
@rudder-devbox
rudder-devbox Bot requested a review from shekhar-rudder October 6, 2026 09:15
@codecov

codecov Bot commented Oct 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.33%. Comparing base (eef7ec1) to head (19df99a).
⚠️ Report is 3 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #5630   +/-   ##
========================================
  Coverage    93.33%   93.33%           
========================================
  Files          703      703           
  Lines        38759    38759           
  Branches      9078     9015   -63     
========================================
  Hits         36174    36174           
- Misses        2381     2400   +19     
+ Partials       204      185   -19     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sonarqubecloud

sonarqubecloud Bot commented Oct 6, 2026

Copy link
Copy Markdown

@shekhar-rudder
shekhar-rudder merged commit de4fed1 into develop Oct 6, 2026
49 of 58 checks passed
@shekhar-rudder
shekhar-rudder deleted the harness/INT-7275-fix-tiktok-ads-correct-events-2-4927c395 branch October 6, 2026 11:01
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