@getlatedev/node 0.2.367 → 0.2.368
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 +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1305,7 +1305,7 @@ type AdMetrics = {
|
|
|
1305
1305
|
cpm?: number;
|
|
1306
1306
|
engagement?: number;
|
|
1307
1307
|
/**
|
|
1308
|
-
* Count of conversion events matching the campaign's promoted_object.custom_event_type (PURCHASE, LEAD, etc.)
|
|
1308
|
+
* Count of conversion events over the requested date range. 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.
|
|
1309
1309
|
*/
|
|
1310
1310
|
conversions?: number;
|
|
1311
1311
|
/**
|
|
@@ -1313,7 +1313,7 @@ type AdMetrics = {
|
|
|
1313
1313
|
*/
|
|
1314
1314
|
costPerConversion?: number;
|
|
1315
1315
|
/**
|
|
1316
|
-
*
|
|
1316
|
+
* Per-action-type counts summed over the date range, keyed by the platform's action-type names. Meta: raw Insights action_type keys (link_click, offsite_conversion.fb_pixel_purchase, onsite_conversion.lead_grouped, ...) — both engagement and conversion events. X: conversion types (purchase, sign_up, site_visit, download, custom). LinkedIn: conversion types (post_click, post_view, lead_gen). Google returns {} (its per-action names aren't synced per ad). Empty object when no actions are reported. NOTE: keys differ by platform, so branch on the ad's platform when interpreting them.
|
|
1317
1317
|
*/
|
|
1318
1318
|
actions?: {
|
|
1319
1319
|
[key: string]: (number);
|
|
@@ -22723,7 +22723,7 @@ type GetAdsTimelineResponse = ({
|
|
|
22723
22723
|
*/
|
|
22724
22724
|
cpm?: number;
|
|
22725
22725
|
/**
|
|
22726
|
-
* Sum of conversion events matching the campaign optimization goal.
|
|
22726
|
+
* Sum of conversion events over the range. Meta: events matching the campaign optimization goal. Google: tracked conversions. X / LinkedIn: reported website/lead conversions (added 2026-07).
|
|
22727
22727
|
*/
|
|
22728
22728
|
conversions?: number;
|
|
22729
22729
|
costPerConversion?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -1305,7 +1305,7 @@ type AdMetrics = {
|
|
|
1305
1305
|
cpm?: number;
|
|
1306
1306
|
engagement?: number;
|
|
1307
1307
|
/**
|
|
1308
|
-
* Count of conversion events matching the campaign's promoted_object.custom_event_type (PURCHASE, LEAD, etc.)
|
|
1308
|
+
* Count of conversion events over the requested date range. 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.
|
|
1309
1309
|
*/
|
|
1310
1310
|
conversions?: number;
|
|
1311
1311
|
/**
|
|
@@ -1313,7 +1313,7 @@ type AdMetrics = {
|
|
|
1313
1313
|
*/
|
|
1314
1314
|
costPerConversion?: number;
|
|
1315
1315
|
/**
|
|
1316
|
-
*
|
|
1316
|
+
* Per-action-type counts summed over the date range, keyed by the platform's action-type names. Meta: raw Insights action_type keys (link_click, offsite_conversion.fb_pixel_purchase, onsite_conversion.lead_grouped, ...) — both engagement and conversion events. X: conversion types (purchase, sign_up, site_visit, download, custom). LinkedIn: conversion types (post_click, post_view, lead_gen). Google returns {} (its per-action names aren't synced per ad). Empty object when no actions are reported. NOTE: keys differ by platform, so branch on the ad's platform when interpreting them.
|
|
1317
1317
|
*/
|
|
1318
1318
|
actions?: {
|
|
1319
1319
|
[key: string]: (number);
|
|
@@ -22723,7 +22723,7 @@ type GetAdsTimelineResponse = ({
|
|
|
22723
22723
|
*/
|
|
22724
22724
|
cpm?: number;
|
|
22725
22725
|
/**
|
|
22726
|
-
* Sum of conversion events matching the campaign optimization goal.
|
|
22726
|
+
* Sum of conversion events over the range. Meta: events matching the campaign optimization goal. Google: tracked conversions. X / LinkedIn: reported website/lead conversions (added 2026-07).
|
|
22727
22727
|
*/
|
|
22728
22728
|
conversions?: number;
|
|
22729
22729
|
costPerConversion?: number;
|
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.
|
|
39
|
+
version: "0.2.368",
|
|
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.
|
|
8
|
+
version: "0.2.368",
|
|
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
|
@@ -440,7 +440,7 @@ export type AdMetrics = {
|
|
|
440
440
|
cpm?: number;
|
|
441
441
|
engagement?: number;
|
|
442
442
|
/**
|
|
443
|
-
* Count of conversion events matching the campaign's promoted_object.custom_event_type (PURCHASE, LEAD, etc.)
|
|
443
|
+
* Count of conversion events over the requested date range. 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.
|
|
444
444
|
*/
|
|
445
445
|
conversions?: number;
|
|
446
446
|
/**
|
|
@@ -448,7 +448,7 @@ export type AdMetrics = {
|
|
|
448
448
|
*/
|
|
449
449
|
costPerConversion?: number;
|
|
450
450
|
/**
|
|
451
|
-
*
|
|
451
|
+
* Per-action-type counts summed over the date range, keyed by the platform's action-type names. Meta: raw Insights action_type keys (link_click, offsite_conversion.fb_pixel_purchase, onsite_conversion.lead_grouped, ...) — both engagement and conversion events. X: conversion types (purchase, sign_up, site_visit, download, custom). LinkedIn: conversion types (post_click, post_view, lead_gen). Google returns {} (its per-action names aren't synced per ad). Empty object when no actions are reported. NOTE: keys differ by platform, so branch on the ad's platform when interpreting them.
|
|
452
452
|
*/
|
|
453
453
|
actions?: {
|
|
454
454
|
[key: string]: (number);
|
|
@@ -23338,7 +23338,7 @@ export type GetAdsTimelineResponse = ({
|
|
|
23338
23338
|
*/
|
|
23339
23339
|
cpm?: number;
|
|
23340
23340
|
/**
|
|
23341
|
-
* Sum of conversion events matching the campaign optimization goal.
|
|
23341
|
+
* Sum of conversion events over the range. Meta: events matching the campaign optimization goal. Google: tracked conversions. X / LinkedIn: reported website/lead conversions (added 2026-07).
|
|
23342
23342
|
*/
|
|
23343
23343
|
conversions?: number;
|
|
23344
23344
|
costPerConversion?: number;
|