@getlatedev/node 0.2.495 → 0.2.496

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1655,9 +1655,9 @@ type budgetLevel = 'campaign' | 'adset';
1655
1655
  * called with `timeIncrement=1`. Rate metrics (ctr/cpc/cpm/costPerConversion/
1656
1656
  * roas/videoAvgTimeWatchedActions) are recomputed per day from that day's
1657
1657
  * sums, so summing the additive fields across a node's `daily[]` reproduces
1658
- * its aggregated `metrics` total. `reach` is the exception: on Meta the
1659
- * aggregated total is de-duplicated across the range, so daily reach does
1660
- * not sum to it. Do NOT sum or plain-average
1658
+ * its aggregated `metrics` total. `reach` is the exception: on Meta and
1659
+ * TikTok the aggregated total is de-duplicated across the range, so daily
1660
+ * reach does not sum to it. Do NOT sum or plain-average
1661
1661
  * `videoAvgTimeWatchedActions` across days: the range value is the
1662
1662
  * play-weighted average of the daily values.
1663
1663
  *
@@ -1672,7 +1672,7 @@ type AdMetrics = {
1672
1672
  spend?: number;
1673
1673
  impressions?: number;
1674
1674
  /**
1675
- * Unique people reached in the requested date range. Meta (facebook/instagram): Meta's own de-duplicated reach for the exact range, fetched live and cached up to ~1 hour (may lag recent delivery; on a transient Meta error the value temporarily falls back to a sum of per-day reach, which overcounts people reached on multiple days or by multiple child ads). Because it is de-duplicated, Meta reach is NOT additive: neither daily values nor child nodes sum to the range total. TikTok: sum of per-day reach, so multi-day ranges overcount vs TikTok Ads Manager. Google, LinkedIn, X, Pinterest and OpenAI report 0 (reach not synced). Only derive frequency (impressions / reach) for Meta.
1675
+ * Unique people reached in the requested date range. Meta (facebook/instagram) and TikTok: the platform's own de-duplicated reach for the exact range, fetched live and cached up to ~1 hour (may lag recent delivery; on a transient platform error the value temporarily falls back to a sum of per-day reach, which overcounts people reached on multiple days or by multiple child ads). Because it is de-duplicated, reach is NOT additive on these platforms: neither daily values nor child nodes sum to the range total. Google, LinkedIn, X, Pinterest and OpenAI report 0 (reach not synced). Frequency (impressions / reach) is only meaningful for Meta and TikTok.
1676
1676
  */
1677
1677
  reach?: number;
1678
1678
  clicks?: number;
@@ -25579,7 +25579,7 @@ type GetAdTreeData = {
25579
25579
  */
25580
25580
  status?: AdStatus;
25581
25581
  /**
25582
- * Set to `1` to also return a daily breakdown. Mirrors Meta Insights' `time_increment=1`: each node gains a `daily[]` array of per-day metrics (same fields as the aggregated `metrics`) alongside the range total, so you get per-entity daily trends in ONE call instead of calling the tree once per day. Only `1` (daily) is supported. The daily series covers the same date range and uses the same source data as `metrics`, except Meta `reach`: the range total is Meta's de-duplicated value, so daily reach does not sum to it. See `dailyLevel` to control which levels carry it.
25582
+ * Set to `1` to also return a daily breakdown. Mirrors Meta Insights' `time_increment=1`: each node gains a `daily[]` array of per-day metrics (same fields as the aggregated `metrics`) alongside the range total, so you get per-entity daily trends in ONE call instead of calling the tree once per day. Only `1` (daily) is supported. The daily series covers the same date range and uses the same source data as `metrics`, except `reach` on Meta and TikTok: the range total is the platform's de-duplicated value, so daily reach does not sum to it. See `dailyLevel` to control which levels carry it.
25583
25583
  */
25584
25584
  timeIncrement?: 1;
25585
25585
  /**
package/dist/index.d.ts CHANGED
@@ -1655,9 +1655,9 @@ type budgetLevel = 'campaign' | 'adset';
1655
1655
  * called with `timeIncrement=1`. Rate metrics (ctr/cpc/cpm/costPerConversion/
1656
1656
  * roas/videoAvgTimeWatchedActions) are recomputed per day from that day's
1657
1657
  * sums, so summing the additive fields across a node's `daily[]` reproduces
1658
- * its aggregated `metrics` total. `reach` is the exception: on Meta the
1659
- * aggregated total is de-duplicated across the range, so daily reach does
1660
- * not sum to it. Do NOT sum or plain-average
1658
+ * its aggregated `metrics` total. `reach` is the exception: on Meta and
1659
+ * TikTok the aggregated total is de-duplicated across the range, so daily
1660
+ * reach does not sum to it. Do NOT sum or plain-average
1661
1661
  * `videoAvgTimeWatchedActions` across days: the range value is the
1662
1662
  * play-weighted average of the daily values.
1663
1663
  *
@@ -1672,7 +1672,7 @@ type AdMetrics = {
1672
1672
  spend?: number;
1673
1673
  impressions?: number;
1674
1674
  /**
1675
- * Unique people reached in the requested date range. Meta (facebook/instagram): Meta's own de-duplicated reach for the exact range, fetched live and cached up to ~1 hour (may lag recent delivery; on a transient Meta error the value temporarily falls back to a sum of per-day reach, which overcounts people reached on multiple days or by multiple child ads). Because it is de-duplicated, Meta reach is NOT additive: neither daily values nor child nodes sum to the range total. TikTok: sum of per-day reach, so multi-day ranges overcount vs TikTok Ads Manager. Google, LinkedIn, X, Pinterest and OpenAI report 0 (reach not synced). Only derive frequency (impressions / reach) for Meta.
1675
+ * Unique people reached in the requested date range. Meta (facebook/instagram) and TikTok: the platform's own de-duplicated reach for the exact range, fetched live and cached up to ~1 hour (may lag recent delivery; on a transient platform error the value temporarily falls back to a sum of per-day reach, which overcounts people reached on multiple days or by multiple child ads). Because it is de-duplicated, reach is NOT additive on these platforms: neither daily values nor child nodes sum to the range total. Google, LinkedIn, X, Pinterest and OpenAI report 0 (reach not synced). Frequency (impressions / reach) is only meaningful for Meta and TikTok.
1676
1676
  */
1677
1677
  reach?: number;
1678
1678
  clicks?: number;
@@ -25579,7 +25579,7 @@ type GetAdTreeData = {
25579
25579
  */
25580
25580
  status?: AdStatus;
25581
25581
  /**
25582
- * Set to `1` to also return a daily breakdown. Mirrors Meta Insights' `time_increment=1`: each node gains a `daily[]` array of per-day metrics (same fields as the aggregated `metrics`) alongside the range total, so you get per-entity daily trends in ONE call instead of calling the tree once per day. Only `1` (daily) is supported. The daily series covers the same date range and uses the same source data as `metrics`, except Meta `reach`: the range total is Meta's de-duplicated value, so daily reach does not sum to it. See `dailyLevel` to control which levels carry it.
25582
+ * Set to `1` to also return a daily breakdown. Mirrors Meta Insights' `time_increment=1`: each node gains a `daily[]` array of per-day metrics (same fields as the aggregated `metrics`) alongside the range total, so you get per-entity daily trends in ONE call instead of calling the tree once per day. Only `1` (daily) is supported. The daily series covers the same date range and uses the same source data as `metrics`, except `reach` on Meta and TikTok: the range total is the platform's de-duplicated value, so daily reach does not sum to it. See `dailyLevel` to control which levels carry it.
25583
25583
  */
25584
25584
  timeIncrement?: 1;
25585
25585
  /**
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@getlatedev/node",
39
- version: "0.2.495",
39
+ version: "0.2.496",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@getlatedev/node",
8
- version: "0.2.495",
8
+ version: "0.2.496",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.495",
3
+ "version": "0.2.496",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -478,9 +478,9 @@ export type budgetLevel = 'campaign' | 'adset';
478
478
  * called with `timeIncrement=1`. Rate metrics (ctr/cpc/cpm/costPerConversion/
479
479
  * roas/videoAvgTimeWatchedActions) are recomputed per day from that day's
480
480
  * sums, so summing the additive fields across a node's `daily[]` reproduces
481
- * its aggregated `metrics` total. `reach` is the exception: on Meta the
482
- * aggregated total is de-duplicated across the range, so daily reach does
483
- * not sum to it. Do NOT sum or plain-average
481
+ * its aggregated `metrics` total. `reach` is the exception: on Meta and
482
+ * TikTok the aggregated total is de-duplicated across the range, so daily
483
+ * reach does not sum to it. Do NOT sum or plain-average
484
484
  * `videoAvgTimeWatchedActions` across days: the range value is the
485
485
  * play-weighted average of the daily values.
486
486
  *
@@ -496,7 +496,7 @@ export type AdMetrics = {
496
496
  spend?: number;
497
497
  impressions?: number;
498
498
  /**
499
- * Unique people reached in the requested date range. Meta (facebook/instagram): Meta's own de-duplicated reach for the exact range, fetched live and cached up to ~1 hour (may lag recent delivery; on a transient Meta error the value temporarily falls back to a sum of per-day reach, which overcounts people reached on multiple days or by multiple child ads). Because it is de-duplicated, Meta reach is NOT additive: neither daily values nor child nodes sum to the range total. TikTok: sum of per-day reach, so multi-day ranges overcount vs TikTok Ads Manager. Google, LinkedIn, X, Pinterest and OpenAI report 0 (reach not synced). Only derive frequency (impressions / reach) for Meta.
499
+ * Unique people reached in the requested date range. Meta (facebook/instagram) and TikTok: the platform's own de-duplicated reach for the exact range, fetched live and cached up to ~1 hour (may lag recent delivery; on a transient platform error the value temporarily falls back to a sum of per-day reach, which overcounts people reached on multiple days or by multiple child ads). Because it is de-duplicated, reach is NOT additive on these platforms: neither daily values nor child nodes sum to the range total. Google, LinkedIn, X, Pinterest and OpenAI report 0 (reach not synced). Frequency (impressions / reach) is only meaningful for Meta and TikTok.
500
500
  */
501
501
  reach?: number;
502
502
  clicks?: number;
@@ -25995,7 +25995,7 @@ export type GetAdTreeData = {
25995
25995
  */
25996
25996
  status?: AdStatus;
25997
25997
  /**
25998
- * Set to `1` to also return a daily breakdown. Mirrors Meta Insights' `time_increment=1`: each node gains a `daily[]` array of per-day metrics (same fields as the aggregated `metrics`) alongside the range total, so you get per-entity daily trends in ONE call instead of calling the tree once per day. Only `1` (daily) is supported. The daily series covers the same date range and uses the same source data as `metrics`, except Meta `reach`: the range total is Meta's de-duplicated value, so daily reach does not sum to it. See `dailyLevel` to control which levels carry it.
25998
+ * Set to `1` to also return a daily breakdown. Mirrors Meta Insights' `time_increment=1`: each node gains a `daily[]` array of per-day metrics (same fields as the aggregated `metrics`) alongside the range total, so you get per-entity daily trends in ONE call instead of calling the tree once per day. Only `1` (daily) is supported. The daily series covers the same date range and uses the same source data as `metrics`, except `reach` on Meta and TikTok: the range total is the platform's de-duplicated value, so daily reach does not sum to it. See `dailyLevel` to control which levels carry it.
25999
25999
  */
26000
26000
  timeIncrement?: 1;
26001
26001
  /**