@zernio/node 0.2.747 → 0.2.749

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
@@ -2951,6 +2951,14 @@ type AnalyticsDeltaEntry = {
2951
2951
  * Instagram Reels skip rate, 0 to 1
2952
2952
  */
2953
2953
  reelsSkipRate: number;
2954
+ /**
2955
+ * TikTok business lane: share of viewers who watched to the end, 0 to 1
2956
+ */
2957
+ completionRate: number;
2958
+ /**
2959
+ * TikTok business lane: profile views attributed to the post
2960
+ */
2961
+ profileViews: number;
2954
2962
  };
2955
2963
  };
2956
2964
  type AnalyticsDeltaResponse = {
@@ -7424,6 +7432,14 @@ type PostAnalytics = {
7424
7432
  * Instagram Reels only: percentage (0-100) of initial views that skipped the reel within its first 3 seconds, as reported by Meta. Meta labels the metric estimated and in development, so it can move between syncs. 0 for non-Reels media and other platforms. When a post is published to several accounts, the aggregate is weighted by views.
7425
7433
  */
7426
7434
  reelsSkipRate?: number;
7435
+ /**
7436
+ * TikTok accounts connected through the TikTok for Business app only: share of viewers who watched the video to the end, 0 to 1, as TikTok reports it (T+24-48h, only for posts active in the last 7 days). 0 for other platforms. When a post is published to several accounts, the aggregate is weighted by views.
7437
+ */
7438
+ completionRate?: number;
7439
+ /**
7440
+ * TikTok accounts connected through the TikTok for Business app only: profile views from users who reached the profile through this post (T+24-48h). 0 for other platforms.
7441
+ */
7442
+ profileViews?: number;
7427
7443
  /**
7428
7444
  * Instagram accounts connected with Facebook Login only: reposts of the media by other users, minus deleted reposts, on feed posts, reels and stories. Meta does not expose this metric for accounts connected with Instagram Login, so those always report 0. 0 for other platforms, including Threads, where reposts are counted in shares instead.
7429
7445
  */
@@ -12426,9 +12442,9 @@ type GetAnalyticsData = {
12426
12442
  */
12427
12443
  profileId?: string;
12428
12444
  /**
12429
- * Sort by date, engagement, or a specific metric. Instagram-only metrics (follows, reposts, reels_skip_rate, ig_reels_*) sort a null value as 0.
12445
+ * Sort by date, engagement, or a specific metric. Platform-specific metrics (follows, reposts, reels_skip_rate, ig_reels_*, completion_rate, profile_views) sort a null value as 0.
12430
12446
  */
12431
- sortBy?: 'date' | 'engagement' | 'impressions' | 'reach' | 'likes' | 'comments' | 'shares' | 'saves' | 'clicks' | 'views' | 'follows' | 'ig_reels_avg_watch_time' | 'ig_reels_video_view_total_time' | 'reposts' | 'reels_skip_rate';
12447
+ sortBy?: 'date' | 'engagement' | 'impressions' | 'reach' | 'likes' | 'comments' | 'shares' | 'saves' | 'clicks' | 'views' | 'follows' | 'ig_reels_avg_watch_time' | 'ig_reels_video_view_total_time' | 'reposts' | 'reels_skip_rate' | 'completion_rate' | 'profile_views';
12432
12448
  /**
12433
12449
  * Filter by post source: late (posted via Zernio API), external (synced from platform), all (default)
12434
12450
  */
package/dist/index.d.ts CHANGED
@@ -2951,6 +2951,14 @@ type AnalyticsDeltaEntry = {
2951
2951
  * Instagram Reels skip rate, 0 to 1
2952
2952
  */
2953
2953
  reelsSkipRate: number;
2954
+ /**
2955
+ * TikTok business lane: share of viewers who watched to the end, 0 to 1
2956
+ */
2957
+ completionRate: number;
2958
+ /**
2959
+ * TikTok business lane: profile views attributed to the post
2960
+ */
2961
+ profileViews: number;
2954
2962
  };
2955
2963
  };
2956
2964
  type AnalyticsDeltaResponse = {
@@ -7424,6 +7432,14 @@ type PostAnalytics = {
7424
7432
  * Instagram Reels only: percentage (0-100) of initial views that skipped the reel within its first 3 seconds, as reported by Meta. Meta labels the metric estimated and in development, so it can move between syncs. 0 for non-Reels media and other platforms. When a post is published to several accounts, the aggregate is weighted by views.
7425
7433
  */
7426
7434
  reelsSkipRate?: number;
7435
+ /**
7436
+ * TikTok accounts connected through the TikTok for Business app only: share of viewers who watched the video to the end, 0 to 1, as TikTok reports it (T+24-48h, only for posts active in the last 7 days). 0 for other platforms. When a post is published to several accounts, the aggregate is weighted by views.
7437
+ */
7438
+ completionRate?: number;
7439
+ /**
7440
+ * TikTok accounts connected through the TikTok for Business app only: profile views from users who reached the profile through this post (T+24-48h). 0 for other platforms.
7441
+ */
7442
+ profileViews?: number;
7427
7443
  /**
7428
7444
  * Instagram accounts connected with Facebook Login only: reposts of the media by other users, minus deleted reposts, on feed posts, reels and stories. Meta does not expose this metric for accounts connected with Instagram Login, so those always report 0. 0 for other platforms, including Threads, where reposts are counted in shares instead.
7429
7445
  */
@@ -12426,9 +12442,9 @@ type GetAnalyticsData = {
12426
12442
  */
12427
12443
  profileId?: string;
12428
12444
  /**
12429
- * Sort by date, engagement, or a specific metric. Instagram-only metrics (follows, reposts, reels_skip_rate, ig_reels_*) sort a null value as 0.
12445
+ * Sort by date, engagement, or a specific metric. Platform-specific metrics (follows, reposts, reels_skip_rate, ig_reels_*, completion_rate, profile_views) sort a null value as 0.
12430
12446
  */
12431
- sortBy?: 'date' | 'engagement' | 'impressions' | 'reach' | 'likes' | 'comments' | 'shares' | 'saves' | 'clicks' | 'views' | 'follows' | 'ig_reels_avg_watch_time' | 'ig_reels_video_view_total_time' | 'reposts' | 'reels_skip_rate';
12447
+ sortBy?: 'date' | 'engagement' | 'impressions' | 'reach' | 'likes' | 'comments' | 'shares' | 'saves' | 'clicks' | 'views' | 'follows' | 'ig_reels_avg_watch_time' | 'ig_reels_video_view_total_time' | 'reposts' | 'reels_skip_rate' | 'completion_rate' | 'profile_views';
12432
12448
  /**
12433
12449
  * Filter by post source: late (posted via Zernio API), external (synced from platform), all (default)
12434
12450
  */
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.747",
39
+ version: "0.2.749",
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.747",
8
+ version: "0.2.749",
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": "@zernio/node",
3
- "version": "0.2.747",
3
+ "version": "0.2.749",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -9986,6 +9986,7 @@ export const listGoogleAssetGroups = <ThrowOnError extends boolean = false>(opti
9986
9986
  * request with Google without creating or persisting resources. Read assets with
9987
9987
  * `GET /v1/ads/campaigns/{campaignId}/asset-groups`. The logo is required; video is
9988
9988
  * optional via `assetGroup.youtubeVideoId`. Brand guidelines are disabled at creation.
9989
+ * All supplied asset links are validated together against Google's minimum asset requirements.
9989
9990
  * PMax rejects ACTIVE creation, portfolio bidding, bid caps, legacy creative fields
9990
9991
  * and attach shapes. Geo and language targeting are supported; omitted geo targets
9991
9992
  * all locations. PMax does not require top-level goal, headline, body or linkUrl.
@@ -1407,6 +1407,14 @@ export type AnalyticsDeltaEntry = {
1407
1407
  * Instagram Reels skip rate, 0 to 1
1408
1408
  */
1409
1409
  reelsSkipRate: number;
1410
+ /**
1411
+ * TikTok business lane: share of viewers who watched to the end, 0 to 1
1412
+ */
1413
+ completionRate: number;
1414
+ /**
1415
+ * TikTok business lane: profile views attributed to the post
1416
+ */
1417
+ profileViews: number;
1410
1418
  };
1411
1419
  };
1412
1420
 
@@ -6082,6 +6090,14 @@ export type PostAnalytics = {
6082
6090
  * Instagram Reels only: percentage (0-100) of initial views that skipped the reel within its first 3 seconds, as reported by Meta. Meta labels the metric estimated and in development, so it can move between syncs. 0 for non-Reels media and other platforms. When a post is published to several accounts, the aggregate is weighted by views.
6083
6091
  */
6084
6092
  reelsSkipRate?: number;
6093
+ /**
6094
+ * TikTok accounts connected through the TikTok for Business app only: share of viewers who watched the video to the end, 0 to 1, as TikTok reports it (T+24-48h, only for posts active in the last 7 days). 0 for other platforms. When a post is published to several accounts, the aggregate is weighted by views.
6095
+ */
6096
+ completionRate?: number;
6097
+ /**
6098
+ * TikTok accounts connected through the TikTok for Business app only: profile views from users who reached the profile through this post (T+24-48h). 0 for other platforms.
6099
+ */
6100
+ profileViews?: number;
6085
6101
  /**
6086
6102
  * Instagram accounts connected with Facebook Login only: reposts of the media by other users, minus deleted reposts, on feed posts, reels and stories. Meta does not expose this metric for accounts connected with Instagram Login, so those always report 0. 0 for other platforms, including Threads, where reposts are counted in shares instead.
6087
6103
  */
@@ -11298,9 +11314,9 @@ export type GetAnalyticsData = {
11298
11314
  */
11299
11315
  profileId?: string;
11300
11316
  /**
11301
- * Sort by date, engagement, or a specific metric. Instagram-only metrics (follows, reposts, reels_skip_rate, ig_reels_*) sort a null value as 0.
11317
+ * Sort by date, engagement, or a specific metric. Platform-specific metrics (follows, reposts, reels_skip_rate, ig_reels_*, completion_rate, profile_views) sort a null value as 0.
11302
11318
  */
11303
- sortBy?: 'date' | 'engagement' | 'impressions' | 'reach' | 'likes' | 'comments' | 'shares' | 'saves' | 'clicks' | 'views' | 'follows' | 'ig_reels_avg_watch_time' | 'ig_reels_video_view_total_time' | 'reposts' | 'reels_skip_rate';
11319
+ sortBy?: 'date' | 'engagement' | 'impressions' | 'reach' | 'likes' | 'comments' | 'shares' | 'saves' | 'clicks' | 'views' | 'follows' | 'ig_reels_avg_watch_time' | 'ig_reels_video_view_total_time' | 'reposts' | 'reels_skip_rate' | 'completion_rate' | 'profile_views';
11304
11320
  /**
11305
11321
  * Filter by post source: late (posted via Zernio API), external (synced from platform), all (default)
11306
11322
  */