@zernio/node 0.2.545 → 0.2.546
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 +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +10 -10
package/dist/index.d.mts
CHANGED
|
@@ -1926,43 +1926,43 @@ type AdMetrics = {
|
|
|
1926
1926
|
*/
|
|
1927
1927
|
roas?: number;
|
|
1928
1928
|
/**
|
|
1929
|
-
*
|
|
1929
|
+
* Number of times the video started playing, summed over the date range and across children at ad-set/campaign level. 0 for non-video ads. Sources: Meta `video_play_actions`, TikTok `video_play_actions`.
|
|
1930
1930
|
*/
|
|
1931
1931
|
videoPlayActions?: number;
|
|
1932
1932
|
/**
|
|
1933
|
-
* Views of at least 30 seconds (or to the end, for shorter videos). Meta `video_30_sec_watched_actions
|
|
1933
|
+
* Views of at least 30 seconds (or to the end, for shorter videos). Sources: Meta `video_30_sec_watched_actions` (Meta only).
|
|
1934
1934
|
*/
|
|
1935
1935
|
video30SecWatchedActions?: number;
|
|
1936
1936
|
/**
|
|
1937
|
-
* ThruPlays (watched to completion, or at least 15 seconds). Meta `video_thruplay_watched_actions
|
|
1937
|
+
* ThruPlays (watched to completion, or at least 15 seconds). Sources: Meta `video_thruplay_watched_actions` (Meta only).
|
|
1938
1938
|
*/
|
|
1939
1939
|
videoThruplayWatchedActions?: number;
|
|
1940
1940
|
/**
|
|
1941
|
-
* Views reaching 25% of the video's length. With the other percentile fields, powers hook/hold/drop-off analysis (e.g. hook rate = videoP25WatchedActions / videoPlayActions). Meta `video_p25_watched_actions`.
|
|
1941
|
+
* Views reaching 25% of the video's length. With the other percentile fields, powers hook/hold/drop-off analysis (e.g. hook rate = videoP25WatchedActions / videoPlayActions). Sources: Meta `video_p25_watched_actions`, TikTok `video_views_p25`.
|
|
1942
1942
|
*/
|
|
1943
1943
|
videoP25WatchedActions?: number;
|
|
1944
1944
|
/**
|
|
1945
|
-
* Views reaching 50% of the video's length. Meta `video_p50_watched_actions`.
|
|
1945
|
+
* Views reaching 50% of the video's length. Sources: Meta `video_p50_watched_actions`, TikTok `video_views_p50`.
|
|
1946
1946
|
*/
|
|
1947
1947
|
videoP50WatchedActions?: number;
|
|
1948
1948
|
/**
|
|
1949
|
-
* Views reaching 75% of the video's length. Meta `video_p75_watched_actions`.
|
|
1949
|
+
* Views reaching 75% of the video's length. Sources: Meta `video_p75_watched_actions`, TikTok `video_views_p75`.
|
|
1950
1950
|
*/
|
|
1951
1951
|
videoP75WatchedActions?: number;
|
|
1952
1952
|
/**
|
|
1953
|
-
* Views reaching 95% of the video's length. Meta `video_p95_watched_actions
|
|
1953
|
+
* Views reaching 95% of the video's length. Sources: Meta `video_p95_watched_actions` (Meta only).
|
|
1954
1954
|
*/
|
|
1955
1955
|
videoP95WatchedActions?: number;
|
|
1956
1956
|
/**
|
|
1957
|
-
* Views reaching 100% of the video's length. Meta `video_p100_watched_actions`.
|
|
1957
|
+
* Views reaching 100% of the video's length. Sources: Meta `video_p100_watched_actions`, TikTok `video_views_p100`.
|
|
1958
1958
|
*/
|
|
1959
1959
|
videoP100WatchedActions?: number;
|
|
1960
1960
|
/**
|
|
1961
|
-
* Average seconds watched per play
|
|
1961
|
+
* Average seconds watched per play. Aggregated over date ranges and across children as a play-weighted average (total watch time / total plays), never a plain average of averages. Sources: Meta `video_avg_time_watched_actions`, TikTok `average_video_play`.
|
|
1962
1962
|
*/
|
|
1963
1963
|
videoAvgTimeWatchedActions?: number;
|
|
1964
1964
|
/**
|
|
1965
|
-
* Derived `spend / videoThruplayWatchedActions`, in ad-account native currency. Rounded to 4 decimals rather than the usual 2 because a ThruPlay routinely costs well under a cent. 0 when the ad has no ThruPlays.
|
|
1965
|
+
* Derived `spend / videoThruplayWatchedActions`, in ad-account native currency. Rounded to 4 decimals rather than the usual 2 because a ThruPlay routinely costs well under a cent. 0 when the ad has no ThruPlays (ThruPlay is Meta-only).
|
|
1966
1966
|
*/
|
|
1967
1967
|
costPerThruplay?: number;
|
|
1968
1968
|
funnel?: AdFunnelCounts;
|
package/dist/index.d.ts
CHANGED
|
@@ -1926,43 +1926,43 @@ type AdMetrics = {
|
|
|
1926
1926
|
*/
|
|
1927
1927
|
roas?: number;
|
|
1928
1928
|
/**
|
|
1929
|
-
*
|
|
1929
|
+
* Number of times the video started playing, summed over the date range and across children at ad-set/campaign level. 0 for non-video ads. Sources: Meta `video_play_actions`, TikTok `video_play_actions`.
|
|
1930
1930
|
*/
|
|
1931
1931
|
videoPlayActions?: number;
|
|
1932
1932
|
/**
|
|
1933
|
-
* Views of at least 30 seconds (or to the end, for shorter videos). Meta `video_30_sec_watched_actions
|
|
1933
|
+
* Views of at least 30 seconds (or to the end, for shorter videos). Sources: Meta `video_30_sec_watched_actions` (Meta only).
|
|
1934
1934
|
*/
|
|
1935
1935
|
video30SecWatchedActions?: number;
|
|
1936
1936
|
/**
|
|
1937
|
-
* ThruPlays (watched to completion, or at least 15 seconds). Meta `video_thruplay_watched_actions
|
|
1937
|
+
* ThruPlays (watched to completion, or at least 15 seconds). Sources: Meta `video_thruplay_watched_actions` (Meta only).
|
|
1938
1938
|
*/
|
|
1939
1939
|
videoThruplayWatchedActions?: number;
|
|
1940
1940
|
/**
|
|
1941
|
-
* Views reaching 25% of the video's length. With the other percentile fields, powers hook/hold/drop-off analysis (e.g. hook rate = videoP25WatchedActions / videoPlayActions). Meta `video_p25_watched_actions`.
|
|
1941
|
+
* Views reaching 25% of the video's length. With the other percentile fields, powers hook/hold/drop-off analysis (e.g. hook rate = videoP25WatchedActions / videoPlayActions). Sources: Meta `video_p25_watched_actions`, TikTok `video_views_p25`.
|
|
1942
1942
|
*/
|
|
1943
1943
|
videoP25WatchedActions?: number;
|
|
1944
1944
|
/**
|
|
1945
|
-
* Views reaching 50% of the video's length. Meta `video_p50_watched_actions`.
|
|
1945
|
+
* Views reaching 50% of the video's length. Sources: Meta `video_p50_watched_actions`, TikTok `video_views_p50`.
|
|
1946
1946
|
*/
|
|
1947
1947
|
videoP50WatchedActions?: number;
|
|
1948
1948
|
/**
|
|
1949
|
-
* Views reaching 75% of the video's length. Meta `video_p75_watched_actions`.
|
|
1949
|
+
* Views reaching 75% of the video's length. Sources: Meta `video_p75_watched_actions`, TikTok `video_views_p75`.
|
|
1950
1950
|
*/
|
|
1951
1951
|
videoP75WatchedActions?: number;
|
|
1952
1952
|
/**
|
|
1953
|
-
* Views reaching 95% of the video's length. Meta `video_p95_watched_actions
|
|
1953
|
+
* Views reaching 95% of the video's length. Sources: Meta `video_p95_watched_actions` (Meta only).
|
|
1954
1954
|
*/
|
|
1955
1955
|
videoP95WatchedActions?: number;
|
|
1956
1956
|
/**
|
|
1957
|
-
* Views reaching 100% of the video's length. Meta `video_p100_watched_actions`.
|
|
1957
|
+
* Views reaching 100% of the video's length. Sources: Meta `video_p100_watched_actions`, TikTok `video_views_p100`.
|
|
1958
1958
|
*/
|
|
1959
1959
|
videoP100WatchedActions?: number;
|
|
1960
1960
|
/**
|
|
1961
|
-
* Average seconds watched per play
|
|
1961
|
+
* Average seconds watched per play. Aggregated over date ranges and across children as a play-weighted average (total watch time / total plays), never a plain average of averages. Sources: Meta `video_avg_time_watched_actions`, TikTok `average_video_play`.
|
|
1962
1962
|
*/
|
|
1963
1963
|
videoAvgTimeWatchedActions?: number;
|
|
1964
1964
|
/**
|
|
1965
|
-
* Derived `spend / videoThruplayWatchedActions`, in ad-account native currency. Rounded to 4 decimals rather than the usual 2 because a ThruPlay routinely costs well under a cent. 0 when the ad has no ThruPlays.
|
|
1965
|
+
* Derived `spend / videoThruplayWatchedActions`, in ad-account native currency. Rounded to 4 decimals rather than the usual 2 because a ThruPlay routinely costs well under a cent. 0 when the ad has no ThruPlays (ThruPlay is Meta-only).
|
|
1966
1966
|
*/
|
|
1967
1967
|
costPerThruplay?: number;
|
|
1968
1968
|
funnel?: AdFunnelCounts;
|
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: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.546",
|
|
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: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.546",
|
|
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
|
@@ -675,43 +675,43 @@ export type AdMetrics = {
|
|
|
675
675
|
*/
|
|
676
676
|
roas?: number;
|
|
677
677
|
/**
|
|
678
|
-
*
|
|
678
|
+
* Number of times the video started playing, summed over the date range and across children at ad-set/campaign level. 0 for non-video ads. Sources: Meta `video_play_actions`, TikTok `video_play_actions`.
|
|
679
679
|
*/
|
|
680
680
|
videoPlayActions?: number;
|
|
681
681
|
/**
|
|
682
|
-
* Views of at least 30 seconds (or to the end, for shorter videos). Meta `video_30_sec_watched_actions
|
|
682
|
+
* Views of at least 30 seconds (or to the end, for shorter videos). Sources: Meta `video_30_sec_watched_actions` (Meta only).
|
|
683
683
|
*/
|
|
684
684
|
video30SecWatchedActions?: number;
|
|
685
685
|
/**
|
|
686
|
-
* ThruPlays (watched to completion, or at least 15 seconds). Meta `video_thruplay_watched_actions
|
|
686
|
+
* ThruPlays (watched to completion, or at least 15 seconds). Sources: Meta `video_thruplay_watched_actions` (Meta only).
|
|
687
687
|
*/
|
|
688
688
|
videoThruplayWatchedActions?: number;
|
|
689
689
|
/**
|
|
690
|
-
* Views reaching 25% of the video's length. With the other percentile fields, powers hook/hold/drop-off analysis (e.g. hook rate = videoP25WatchedActions / videoPlayActions). Meta `video_p25_watched_actions`.
|
|
690
|
+
* Views reaching 25% of the video's length. With the other percentile fields, powers hook/hold/drop-off analysis (e.g. hook rate = videoP25WatchedActions / videoPlayActions). Sources: Meta `video_p25_watched_actions`, TikTok `video_views_p25`.
|
|
691
691
|
*/
|
|
692
692
|
videoP25WatchedActions?: number;
|
|
693
693
|
/**
|
|
694
|
-
* Views reaching 50% of the video's length. Meta `video_p50_watched_actions`.
|
|
694
|
+
* Views reaching 50% of the video's length. Sources: Meta `video_p50_watched_actions`, TikTok `video_views_p50`.
|
|
695
695
|
*/
|
|
696
696
|
videoP50WatchedActions?: number;
|
|
697
697
|
/**
|
|
698
|
-
* Views reaching 75% of the video's length. Meta `video_p75_watched_actions`.
|
|
698
|
+
* Views reaching 75% of the video's length. Sources: Meta `video_p75_watched_actions`, TikTok `video_views_p75`.
|
|
699
699
|
*/
|
|
700
700
|
videoP75WatchedActions?: number;
|
|
701
701
|
/**
|
|
702
|
-
* Views reaching 95% of the video's length. Meta `video_p95_watched_actions
|
|
702
|
+
* Views reaching 95% of the video's length. Sources: Meta `video_p95_watched_actions` (Meta only).
|
|
703
703
|
*/
|
|
704
704
|
videoP95WatchedActions?: number;
|
|
705
705
|
/**
|
|
706
|
-
* Views reaching 100% of the video's length. Meta `video_p100_watched_actions`.
|
|
706
|
+
* Views reaching 100% of the video's length. Sources: Meta `video_p100_watched_actions`, TikTok `video_views_p100`.
|
|
707
707
|
*/
|
|
708
708
|
videoP100WatchedActions?: number;
|
|
709
709
|
/**
|
|
710
|
-
* Average seconds watched per play
|
|
710
|
+
* Average seconds watched per play. Aggregated over date ranges and across children as a play-weighted average (total watch time / total plays), never a plain average of averages. Sources: Meta `video_avg_time_watched_actions`, TikTok `average_video_play`.
|
|
711
711
|
*/
|
|
712
712
|
videoAvgTimeWatchedActions?: number;
|
|
713
713
|
/**
|
|
714
|
-
* Derived `spend / videoThruplayWatchedActions`, in ad-account native currency. Rounded to 4 decimals rather than the usual 2 because a ThruPlay routinely costs well under a cent. 0 when the ad has no ThruPlays.
|
|
714
|
+
* Derived `spend / videoThruplayWatchedActions`, in ad-account native currency. Rounded to 4 decimals rather than the usual 2 because a ThruPlay routinely costs well under a cent. 0 when the ad has no ThruPlays (ThruPlay is Meta-only).
|
|
715
715
|
*/
|
|
716
716
|
costPerThruplay?: number;
|
|
717
717
|
funnel?: AdFunnelCounts;
|