Skip to content

Commit 212f441

Browse files
Ji Limeta-codesync[bot]
authored andcommitted
Add additional AMM fields to AttributionData
Summary: This diff adds four new AMM (Advanced Measurement and Matching) fields to the NodeJS Business SDK AttributionData class: 1. **attribution_method** (Enum): The attribution method used to attribute the event (values: ard, deeplink, gpir, invalid_response, mir, srn) 2. **decline_reason** (Enum): The decline reason for the attribution (values: attribute_to_other_source, out_of_lookback_window, view_through_disabled, etc.) 3. **auditing_token** (String): The auditing token for the attribution 4. **linkage_key** (String): The linkage key for the attribution These fields are part of the ongoing work to enhance attribution tracking capabilities in the Conversions API. This builds upon the initial AMM fields added in v24.0.0. **Changes:** - Created new enum files: `attribution-method.js` and `decline-reason.js` - Updated `attribution-data.js` with new fields, getters/setters, and normalize method - Updated CHANGELOG.md to version v24.0.1 Reviewed By: danbunnell, satwikareddy3 Differential Revision: D85199918 Privacy Context Container: L1380952 fbshipit-source-id: 9a28059b62d49ebaf43dbe90b990fc4916b30d5e
1 parent 0e8fc77 commit 212f441

File tree

6 files changed

+766
-3
lines changed

6 files changed

+766
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@ All notable changes to this project will be documented in this file.
55

66
## Unreleased
77

8-
## v24.0.0
9-
8+
## v24.0.1
9+
### Added
10+
- Add additional AMM fields: attribution_method, decline_reason, auditing_token, linkage_key
11+
- Add attribution_setting nested field with inactivity_window_hours, reattribution_window_hours
1012

13+
## v24.0.0
1114
### Added
1215
- Add AMM fields to attribution data
1316

0 commit comments

Comments
 (0)