Commit 244d6bd
docs(sdk): engagementRate semantics; account rate is always null
Mirrors the server fixes in bulk-publish 5029cac and 4149e6d.
- Account-level engagementRate is documented and typed as always null: no
handler computes one (the getAccountAnalytics contract has no such field),
so it was the column default 0 on all 125 production rows and looked like a
measured 0%. Both SDKs already allowed null, so nothing breaks.
- The two engagementRate fields on the engagement response are different
numbers — post-level is a mean over the post's measurable channels,
platformMetrics[] is one channel's own rate. Documented at both, since
rendering the former beside the latter's counters is what produced a
TikTok panel reading 0/0/0/0 and 24.55%.
- profileViews is Facebook-only, websiteClicks is Google-Business-only; a 0
elsewhere means not reported.
node SDK 1.7.2, python SDK 0.8.2 (pyproject + __version__ in step).1 parent 593b451 commit 244d6bd
7 files changed
Lines changed: 28 additions & 5 deletions
File tree
- node
- src
- python
- bulkpublish
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
3 | 15 | | |
4 | 16 | | |
5 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
819 | 819 | | |
820 | 820 | | |
821 | 821 | | |
| 822 | + | |
822 | 823 | | |
| 824 | + | |
823 | 825 | | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
824 | 832 | | |
825 | 833 | | |
826 | 834 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3436 | 3436 | | |
3437 | 3437 | | |
3438 | 3438 | | |
3439 | | - | |
| 3439 | + | |
3440 | 3440 | | |
3441 | 3441 | | |
3442 | 3442 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
316 | | - | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
317 | 320 | | |
318 | 321 | | |
319 | 322 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments