@getlatedev/node 0.2.1665 → 0.2.1666
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/README.md +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +7 -5
package/README.md
CHANGED
|
@@ -1073,7 +1073,7 @@ try {
|
|
|
1073
1073
|
| `conversions.restateEvent()` | Change a stored event's value |
|
|
1074
1074
|
| `conversions.retractEvent()` | Retract a stored event |
|
|
1075
1075
|
| `conversions.rotateTrackingSiteKey()` | Rotate a tracking site's key |
|
|
1076
|
-
| `conversions.sendConversions()` | Send conversion events |
|
|
1076
|
+
| `conversions.sendConversions()` | Send conversion events to one destination (legacy) |
|
|
1077
1077
|
| `conversions.sendEvents()` | Send events to every destination |
|
|
1078
1078
|
|
|
1079
1079
|
### Creator Campaigns
|
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.1666",
|
|
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.1666",
|
|
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
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -19473,8 +19473,10 @@ export const getConversionsQuality = <ThrowOnError extends boolean = false>(opti
|
|
|
19473
19473
|
};
|
|
19474
19474
|
|
|
19475
19475
|
/**
|
|
19476
|
-
* Send conversion events
|
|
19477
|
-
*
|
|
19476
|
+
* Send conversion events to one destination (legacy)
|
|
19477
|
+
* Legacy: use [`POST /v1/events`](/conversions/send-events) instead. It sends each event once to every saved destination, retries failures, stores the event and reports what each platform answered. This endpoint keeps working and is not being removed.
|
|
19478
|
+
*
|
|
19479
|
+
* Sends conversion events, such as purchases or leads, from your server to one ad platform destination so it can attribute and optimize ads.
|
|
19478
19480
|
*
|
|
19479
19481
|
* Relays one or more events to the target ad platform's native Conversions API. The platform is inferred from the provided `accountId`. Requires the Ads add-on.
|
|
19480
19482
|
*
|
|
@@ -19813,7 +19815,7 @@ export const listEvents = <ThrowOnError extends boolean = false>(options?: Optio
|
|
|
19813
19815
|
|
|
19814
19816
|
/**
|
|
19815
19817
|
* Send events to every destination
|
|
19816
|
-
* Sends conversion events once and forwards them to every ad platform destination saved for the profile (see `POST /v1/events/destinations`), or to the `destinations` given in the request. Requires the Ads add-on.
|
|
19818
|
+
* The recommended way to send conversions. Sends conversion events once and forwards them to every ad platform destination saved for the profile (see `POST /v1/events/destinations`), or to the `destinations` given in the request. Requires the Ads add-on.
|
|
19817
19819
|
*
|
|
19818
19820
|
* ### Forwarding
|
|
19819
19821
|
*
|
|
@@ -20123,8 +20125,8 @@ export const updateCampaignConversionGoals = <ThrowOnError extends boolean = fal
|
|
|
20123
20125
|
*
|
|
20124
20126
|
* Returns the list of pixels (Meta), conversion actions (Google),
|
|
20125
20127
|
* conversion rules (LinkedIn), pixels (OpenAI Ads, Reddit) or ad accounts
|
|
20126
|
-
* (Pinterest) accessible to the connected ads account.
|
|
20127
|
-
*
|
|
20128
|
+
* (Pinterest) accessible to the connected ads account. Save the returned `id` as a destination with
|
|
20129
|
+
* `POST /v1/events/destinations` (or pass it in `destinations` on `POST /v1/events`).
|
|
20128
20130
|
*
|
|
20129
20131
|
* For Google and LinkedIn, each destination's `type` reflects the
|
|
20130
20132
|
* conversion type (PURCHASE, LEAD, SIGN_UP, etc.), and the event type is
|