Commit 212f441
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: 9a28059b62d49ebaf43dbe90b990fc4916b30d5e1 parent 0e8fc77 commit 212f441
File tree
6 files changed
+766
-3
lines changed- __tests__
- src/objects/serverside
6 files changed
+766
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
0 commit comments