Skip to content

fix: use correct JSON tag for adjustedConversionTime in bing-ads - #7204

Merged
maheshkutty merged 2 commits into
release/1.81.xfrom
fix.bingadsAdjustmentTime
Jul 22, 2026
Merged

maheshkutty merged 2 commits into
release/1.81.xfrom
fix.bingadsAdjustmentTime

Conversation

@maheshkutty

Copy link
Copy Markdown
Contributor

🔒 Scanned for secrets using gitleaks 8.30.1

Description

The RecordFields struct read the adjustment time under the wrong JSON key (conversionAdjustedTime), while the VDM field, rETL record events, and the Transform validation all use adjustedConversionTime. As a result, update (Restate) and delete (Retract) rows shipped with an empty Adjustment Time column and Microsoft rejected them with OfflineConversionAdjustmentTimeNullOrEmpty; only inserts succeeded.

Fix the struct tag to adjustedConversionTime and add tests asserting the Adjustment Time column is populated: a Transform test and a table-driven populateZipFile test that compares the full CSV output per action.

Linear Ticket

Resolves INT-6853

Security

  • The code changed/added as part of this pull request won't create any security issues with how the software is being used.

The RecordFields struct read the adjustment time under the wrong JSON key
(conversionAdjustedTime), while the VDM field, rETL record events, and the
Transform validation all use adjustedConversionTime. As a result, update
(Restate) and delete (Retract) rows shipped with an empty Adjustment Time
column and Microsoft rejected them with OfflineConversionAdjustmentTimeNullOrEmpty;
only inserts succeeded.

Fix the struct tag to adjustedConversionTime and add tests asserting the
Adjustment Time column is populated: a Transform test and a table-driven
populateZipFile test that compares the full CSV output per action.

🔒 Scanned for secrets using gitleaks 8.30.1
validateAndTransformTimeFields validated adjustedConversionTime on every
action. On insert, a malformed adjustedConversionTime rejected the job even
though insert never uses that field (populateZipFile's insert branch does not
read it). The parse-error message also hardcoded "conversionTime", misreporting
which field failed.

Pass the action into validateAndTransformTimeFields so only conversionTime is
validated on insert, while update and delete validate both conversionTime and
adjustedConversionTime. Report the actual failing field name in the parse error.
On insert, adjustedConversionTime is left untouched and ignored downstream.

Add tests for insert ignoring malformed/valid adjustedConversionTime and for
update reporting a malformed adjustedConversionTime by name.

🔒 Scanned for secrets using gitleaks 8.30.1
@maheshkutty
maheshkutty merged commit a95807f into release/1.81.x Jul 22, 2026
71 checks passed
@maheshkutty
maheshkutty deleted the fix.bingadsAdjustmentTime branch July 22, 2026 10:52
maheshkutty pushed a commit that referenced this pull request Jul 22, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.81.1](v1.81.0...v1.81.1)
(2026-07-22)


### Bug Fixes

* use correct JSON tag for adjustedConversionTime in bing-ads
([#7204](#7204))
([a95807f](a95807f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
atzoum pushed a commit that referenced this pull request Jul 22, 2026
# Description

Syncing patch release v1.81.1 to main branch

**↓↓ Please review and edit commit overrides before merging ↓↓**

BEGIN_COMMIT_OVERRIDE
fix: use correct JSON tag for adjustedConversionTime in bing-ads (#7204)
END_COMMIT_OVERRIDE

---------

Co-authored-by: Mahesh Kutty <[email protected]>
Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
@codecov

codecov Bot commented Jul 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.14%. Comparing base (896fa37) to head (c5b3149).
⚠️ Report is 2 commits behind head on release/1.81.x.

Additional details and impacted files
@@                Coverage Diff                 @@
##           release/1.81.x    #7204      +/-   ##
==================================================
+ Coverage           79.89%   80.14%   +0.25%     
==================================================
  Files                 596      596              
  Lines               66713    66445     -268     
==================================================
- Hits                53300    53253      -47     
+ Misses              10288    10050     -238     
- Partials             3125     3142      +17     

☔ 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.

mihir20 added a commit that referenced this pull request Jul 27, 2026
# Description

Syncing patch release v1.81.3 to main branch

**↓↓ Please review and edit commit overrides before merging ↓↓**

BEGIN_COMMIT_OVERRIDE
fix: use correct JSON tag for adjustedConversionTime in bing-ads (#7204)
fix: mid-run pod deaths under concurrent test runs (#7212)
fix: apply configured client QPS and Burst settings in restConfig
(#7220)
END_COMMIT_OVERRIDE

---------

Co-authored-by: Mahesh Kutty <[email protected]>
Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mihir Gandhi <[email protected]>
itsmihir pushed a commit that referenced this pull request Aug 3, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.82.0-rc.1](v1.81.0...v1.82.0-rc.1)
(2026-08-03)


### Features

* **processor:** fork event processing for configured isolated
destinations
([#7207](#7207))
([6eb91b4](6eb91b4))
* **processor:** isolated destination processing pipeline
([#7202](#7202))
([a684641](a684641))
* **router:** detect and classify transformer-proxy contract breaches
(INT-6839)
([#7184](#7184))
([c7a15a8](c7a15a8))
* **router:** gate 296 delivered-with-warning behind per-workspace
rollout
([#7217](#7217))
([1d772a1](1d772a1))


### Bug Fixes

* apply configured client QPS and Burst settings in restConfig
([#7220](#7220))
([762bc06](762bc06))
* gcs manager allows non-service account credentials and warehouse ssl
keys can escape their containing path
([#7227](#7227))
([3e126b2](3e126b2))
* mid-run pod deaths under concurrent test runs
([#7212](#7212))
([5279b64](5279b64))
* normalize null BingAds offline conversion fields
([#7236](#7236))
([678f130](678f130))
* use correct JSON tag for adjustedConversionTime in bing-ads
([#7204](#7204))
([50df0f7](50df0f7))


### Miscellaneous

* add new readme logo
([#7200](#7200))
([ab86afd](ab86afd))
* **deps:** bump the go-deps group across 1 directory with 32 updates
([#7199](#7199))
([0eaa833](0eaa833))
* **jobsdb:** graceful shutdown of addNewDSLoop and refreshDSListLoop
([#7210](#7210))
([78e104c](78e104c))
* remove archiveInPreProcess processor toggle
([#7205](#7205))
([f471b1d](f471b1d))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
itsmihir pushed a commit that referenced this pull request Aug 4, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.82.0](v1.81.0...v1.82.0)
(2026-08-03)


### Features

* **processor:** fork event processing for configured isolated
destinations
([#7207](#7207))
([6eb91b4](6eb91b4))
* **processor:** isolated destination processing pipeline
([#7202](#7202))
([a684641](a684641))
* **router:** detect and classify transformer-proxy contract breaches
(INT-6839)
([#7184](#7184))
([c7a15a8](c7a15a8))
* **router:** gate 296 delivered-with-warning behind per-workspace
rollout
([#7217](#7217))
([1d772a1](1d772a1))


### Bug Fixes

* apply configured client QPS and Burst settings in restConfig
([#7220](#7220))
([762bc06](762bc06))
* gcs manager allows non-service account credentials and warehouse ssl
keys can escape their containing path
([#7227](#7227))
([3e126b2](3e126b2))
* mid-run pod deaths under concurrent test runs
([#7212](#7212))
([5279b64](5279b64))
* normalize null BingAds offline conversion fields
([#7236](#7236))
([678f130](678f130))
* use correct JSON tag for adjustedConversionTime in bing-ads
([#7204](#7204))
([50df0f7](50df0f7))


### Miscellaneous

* add new readme logo
([#7200](#7200))
([ab86afd](ab86afd))
* **deps:** bump the go-deps group across 1 directory with 32 updates
([#7199](#7199))
([0eaa833](0eaa833))
* **jobsdb:** graceful shutdown of addNewDSLoop and refreshDSListLoop
([#7210](#7210))
([78e104c](78e104c))
* remove archiveInPreProcess processor toggle
([#7205](#7205))
([f471b1d](f471b1d))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
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.

3 participants