@getlatedev/node 0.2.1128 → 0.2.1130

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
@@ -2933,7 +2933,7 @@ type AdMetrics = {
2933
2933
  cpm?: number;
2934
2934
  engagement?: number;
2935
2935
  /**
2936
- * Count of conversion events over the requested date range. FRACTIONAL: attribution splits one conversion across touchpoints and Google additionally reports modeled conversions, so values like 0.347 are normal. Meta: events matching the campaign's promoted_object.custom_event_type (PURCHASE, LEAD, etc.). Google: the account's tracked conversions. X and LinkedIn: their reported website/lead conversions (added 2026-07). 0 for non-conversion campaigns or when no events have fired.
2936
+ * Count of conversion events over the requested date range. FRACTIONAL: attribution splits one conversion across touchpoints and Google additionally reports modeled conversions, so values like 0.347 are normal. Meta: the ad set's Ads Manager Results, derived per ad set: the optimization goal's result (LEAD_GENERATION and QUALITY_LEAD = leads, CONVERSATIONS = messaging conversations started, APP_INSTALLS = installs, LANDING_PAGE_VIEWS = landing page views, LINK_CLICKS = link clicks, THRUPLAY = ThruPlays; REACH, IMPRESSIONS, POST_ENGAGEMENT and PAGE_LIKES report 0), otherwise the promoted_object event (custom_conversion_id when set, else custom_event_type, else PURCHASE). Google: the account's tracked conversions. X and LinkedIn: their reported website/lead conversions (added 2026-07). 0 for non-conversion campaigns or when no events have fired.
2937
2937
  */
2938
2938
  conversions?: number;
2939
2939
  /**
@@ -2957,7 +2957,7 @@ type AdMetrics = {
2957
2957
  [key: string]: (number);
2958
2958
  };
2959
2959
  /**
2960
- * Convenience sum of purchase-type action values, picked from `actionValues` via the same priority list as `conversions` so both fields describe the same events. In ad-account native currency. 0 when the campaign has no purchase event configured. Meta-only.
2960
+ * Convenience sum of purchase-type action values, picked from `actionValues` for the ad set promoted_object event (custom conversion, custom_event_type, else PURCHASE). It matches `conversions` for conversion-optimized ad sets; when the optimization goal reports a different result (LINK_CLICKS, LANDING_PAGE_VIEWS, ...) it stays on the promoted event so ROAS keeps its purchase basis. In ad-account native currency. 0 when the campaign has no purchase event configured. Meta-only.
2961
2961
  */
2962
2962
  purchaseValue?: number;
2963
2963
  /**
@@ -3277,7 +3277,7 @@ type AdsTimelineResponse = {
3277
3277
  */
3278
3278
  cpm?: number;
3279
3279
  /**
3280
- * Sum of conversion events over the range. Fractional values are normal (attribution splitting + Google modeled conversions). Meta: events matching the campaign optimization goal. Google: tracked conversions. X / LinkedIn: reported website/lead conversions (added 2026-07).
3280
+ * Sum of conversion events over the range. Fractional values are normal (attribution splitting + Google modeled conversions). Meta: the ad set Ads Manager Results (see AdMetrics.conversions). Google: tracked conversions. X / LinkedIn: reported website/lead conversions (added 2026-07).
3281
3281
  */
3282
3282
  conversions?: number;
3283
3283
  /**
@@ -25547,7 +25547,7 @@ type GetPinterestBoardsResponse = ({
25547
25547
  privacy?: string;
25548
25548
  }>;
25549
25549
  });
25550
- type GetPinterestBoardsError = (unknown | ErrorResponse);
25550
+ type GetPinterestBoardsError = (unknown);
25551
25551
  type UpdatePinterestBoardsData = {
25552
25552
  body: {
25553
25553
  defaultBoardId: string;
@@ -25689,7 +25689,7 @@ type GetYoutubePlaylistsResponse = ({
25689
25689
  }>;
25690
25690
  defaultPlaylistId?: (string) | null;
25691
25691
  });
25692
- type GetYoutubePlaylistsError = (unknown | ErrorResponse);
25692
+ type GetYoutubePlaylistsError = (unknown);
25693
25693
  type CreateYoutubePlaylistData = {
25694
25694
  body: {
25695
25695
  /**
package/dist/index.d.ts CHANGED
@@ -2933,7 +2933,7 @@ type AdMetrics = {
2933
2933
  cpm?: number;
2934
2934
  engagement?: number;
2935
2935
  /**
2936
- * Count of conversion events over the requested date range. FRACTIONAL: attribution splits one conversion across touchpoints and Google additionally reports modeled conversions, so values like 0.347 are normal. Meta: events matching the campaign's promoted_object.custom_event_type (PURCHASE, LEAD, etc.). Google: the account's tracked conversions. X and LinkedIn: their reported website/lead conversions (added 2026-07). 0 for non-conversion campaigns or when no events have fired.
2936
+ * Count of conversion events over the requested date range. FRACTIONAL: attribution splits one conversion across touchpoints and Google additionally reports modeled conversions, so values like 0.347 are normal. Meta: the ad set's Ads Manager Results, derived per ad set: the optimization goal's result (LEAD_GENERATION and QUALITY_LEAD = leads, CONVERSATIONS = messaging conversations started, APP_INSTALLS = installs, LANDING_PAGE_VIEWS = landing page views, LINK_CLICKS = link clicks, THRUPLAY = ThruPlays; REACH, IMPRESSIONS, POST_ENGAGEMENT and PAGE_LIKES report 0), otherwise the promoted_object event (custom_conversion_id when set, else custom_event_type, else PURCHASE). Google: the account's tracked conversions. X and LinkedIn: their reported website/lead conversions (added 2026-07). 0 for non-conversion campaigns or when no events have fired.
2937
2937
  */
2938
2938
  conversions?: number;
2939
2939
  /**
@@ -2957,7 +2957,7 @@ type AdMetrics = {
2957
2957
  [key: string]: (number);
2958
2958
  };
2959
2959
  /**
2960
- * Convenience sum of purchase-type action values, picked from `actionValues` via the same priority list as `conversions` so both fields describe the same events. In ad-account native currency. 0 when the campaign has no purchase event configured. Meta-only.
2960
+ * Convenience sum of purchase-type action values, picked from `actionValues` for the ad set promoted_object event (custom conversion, custom_event_type, else PURCHASE). It matches `conversions` for conversion-optimized ad sets; when the optimization goal reports a different result (LINK_CLICKS, LANDING_PAGE_VIEWS, ...) it stays on the promoted event so ROAS keeps its purchase basis. In ad-account native currency. 0 when the campaign has no purchase event configured. Meta-only.
2961
2961
  */
2962
2962
  purchaseValue?: number;
2963
2963
  /**
@@ -3277,7 +3277,7 @@ type AdsTimelineResponse = {
3277
3277
  */
3278
3278
  cpm?: number;
3279
3279
  /**
3280
- * Sum of conversion events over the range. Fractional values are normal (attribution splitting + Google modeled conversions). Meta: events matching the campaign optimization goal. Google: tracked conversions. X / LinkedIn: reported website/lead conversions (added 2026-07).
3280
+ * Sum of conversion events over the range. Fractional values are normal (attribution splitting + Google modeled conversions). Meta: the ad set Ads Manager Results (see AdMetrics.conversions). Google: tracked conversions. X / LinkedIn: reported website/lead conversions (added 2026-07).
3281
3281
  */
3282
3282
  conversions?: number;
3283
3283
  /**
@@ -25547,7 +25547,7 @@ type GetPinterestBoardsResponse = ({
25547
25547
  privacy?: string;
25548
25548
  }>;
25549
25549
  });
25550
- type GetPinterestBoardsError = (unknown | ErrorResponse);
25550
+ type GetPinterestBoardsError = (unknown);
25551
25551
  type UpdatePinterestBoardsData = {
25552
25552
  body: {
25553
25553
  defaultBoardId: string;
@@ -25689,7 +25689,7 @@ type GetYoutubePlaylistsResponse = ({
25689
25689
  }>;
25690
25690
  defaultPlaylistId?: (string) | null;
25691
25691
  });
25692
- type GetYoutubePlaylistsError = (unknown | ErrorResponse);
25692
+ type GetYoutubePlaylistsError = (unknown);
25693
25693
  type CreateYoutubePlaylistData = {
25694
25694
  body: {
25695
25695
  /**
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.1128",
39
+ version: "0.2.1130",
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.1128",
8
+ version: "0.2.1130",
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.1128",
3
+ "version": "0.2.1130",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -962,7 +962,7 @@ export type AdMetrics = {
962
962
  cpm?: number;
963
963
  engagement?: number;
964
964
  /**
965
- * Count of conversion events over the requested date range. FRACTIONAL: attribution splits one conversion across touchpoints and Google additionally reports modeled conversions, so values like 0.347 are normal. Meta: events matching the campaign's promoted_object.custom_event_type (PURCHASE, LEAD, etc.). Google: the account's tracked conversions. X and LinkedIn: their reported website/lead conversions (added 2026-07). 0 for non-conversion campaigns or when no events have fired.
965
+ * Count of conversion events over the requested date range. FRACTIONAL: attribution splits one conversion across touchpoints and Google additionally reports modeled conversions, so values like 0.347 are normal. Meta: the ad set's Ads Manager Results, derived per ad set: the optimization goal's result (LEAD_GENERATION and QUALITY_LEAD = leads, CONVERSATIONS = messaging conversations started, APP_INSTALLS = installs, LANDING_PAGE_VIEWS = landing page views, LINK_CLICKS = link clicks, THRUPLAY = ThruPlays; REACH, IMPRESSIONS, POST_ENGAGEMENT and PAGE_LIKES report 0), otherwise the promoted_object event (custom_conversion_id when set, else custom_event_type, else PURCHASE). Google: the account's tracked conversions. X and LinkedIn: their reported website/lead conversions (added 2026-07). 0 for non-conversion campaigns or when no events have fired.
966
966
  */
967
967
  conversions?: number;
968
968
  /**
@@ -986,7 +986,7 @@ export type AdMetrics = {
986
986
  [key: string]: (number);
987
987
  };
988
988
  /**
989
- * Convenience sum of purchase-type action values, picked from `actionValues` via the same priority list as `conversions` so both fields describe the same events. In ad-account native currency. 0 when the campaign has no purchase event configured. Meta-only.
989
+ * Convenience sum of purchase-type action values, picked from `actionValues` for the ad set promoted_object event (custom conversion, custom_event_type, else PURCHASE). It matches `conversions` for conversion-optimized ad sets; when the optimization goal reports a different result (LINK_CLICKS, LANDING_PAGE_VIEWS, ...) it stays on the promoted event so ROAS keeps its purchase basis. In ad-account native currency. 0 when the campaign has no purchase event configured. Meta-only.
990
990
  */
991
991
  purchaseValue?: number;
992
992
  /**
@@ -1318,7 +1318,7 @@ export type AdsTimelineResponse = {
1318
1318
  */
1319
1319
  cpm?: number;
1320
1320
  /**
1321
- * Sum of conversion events over the range. Fractional values are normal (attribution splitting + Google modeled conversions). Meta: events matching the campaign optimization goal. Google: tracked conversions. X / LinkedIn: reported website/lead conversions (added 2026-07).
1321
+ * Sum of conversion events over the range. Fractional values are normal (attribution splitting + Google modeled conversions). Meta: the ad set Ads Manager Results (see AdMetrics.conversions). Google: tracked conversions. X / LinkedIn: reported website/lead conversions (added 2026-07).
1322
1322
  */
1323
1323
  conversions?: number;
1324
1324
  /**
@@ -24738,7 +24738,7 @@ export type GetPinterestBoardsResponse = ({
24738
24738
  }>;
24739
24739
  });
24740
24740
 
24741
- export type GetPinterestBoardsError = (unknown | ErrorResponse);
24741
+ export type GetPinterestBoardsError = (unknown);
24742
24742
 
24743
24743
  export type UpdatePinterestBoardsData = {
24744
24744
  body: {
@@ -24892,7 +24892,7 @@ export type GetYoutubePlaylistsResponse = ({
24892
24892
  defaultPlaylistId?: (string) | null;
24893
24893
  });
24894
24894
 
24895
- export type GetYoutubePlaylistsError = (unknown | ErrorResponse);
24895
+ export type GetYoutubePlaylistsError = (unknown);
24896
24896
 
24897
24897
  export type CreateYoutubePlaylistData = {
24898
24898
  body: {