@getlatedev/node 0.2.572 → 0.2.573

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
@@ -30730,6 +30730,9 @@ type CreateStandaloneAdData = {
30730
30730
  promotedObject?: {
30731
30731
  /**
30732
30732
  * Pixel ID. **Meta:** Facebook Pixel ID, required for `goal: conversions`.
30733
+ * Requires `customEventType` alongside it; Meta rejects any promoted_object
30734
+ * carrying `pixel_id` without `custom_event_type` (error_subcode 1885014),
30735
+ * even when `customConversionId` is also present.
30733
30736
  * **TikTok:** TikTok Pixel ID, required for `goal: conversions`.
30734
30737
  * To discover the pixels an ad account can use, call
30735
30738
  * `GET /v1/accounts/{accountId}/tracking-tags?adAccountId=act_...` (each entry
@@ -30785,7 +30788,12 @@ type CreateStandaloneAdData = {
30785
30788
  */
30786
30789
  objectStoreUrl?: string;
30787
30790
  /**
30788
- * Custom Conversion ID, when optimising against one instead of a standard event.
30791
+ * Custom Conversion ID, when optimising against one instead of a standard
30792
+ * event. Accepted alone by this API, without `pixelId` or `customEventType`.
30793
+ * If `pixelId` is also sent, `customEventType` is still required on the
30794
+ * promoted_object (Meta rejects `pixel_id` without `custom_event_type`,
30795
+ * error_subcode 1885014).
30796
+ *
30789
30797
  */
30790
30798
  customConversionId?: string;
30791
30799
  /**
package/dist/index.d.ts CHANGED
@@ -30730,6 +30730,9 @@ type CreateStandaloneAdData = {
30730
30730
  promotedObject?: {
30731
30731
  /**
30732
30732
  * Pixel ID. **Meta:** Facebook Pixel ID, required for `goal: conversions`.
30733
+ * Requires `customEventType` alongside it; Meta rejects any promoted_object
30734
+ * carrying `pixel_id` without `custom_event_type` (error_subcode 1885014),
30735
+ * even when `customConversionId` is also present.
30733
30736
  * **TikTok:** TikTok Pixel ID, required for `goal: conversions`.
30734
30737
  * To discover the pixels an ad account can use, call
30735
30738
  * `GET /v1/accounts/{accountId}/tracking-tags?adAccountId=act_...` (each entry
@@ -30785,7 +30788,12 @@ type CreateStandaloneAdData = {
30785
30788
  */
30786
30789
  objectStoreUrl?: string;
30787
30790
  /**
30788
- * Custom Conversion ID, when optimising against one instead of a standard event.
30791
+ * Custom Conversion ID, when optimising against one instead of a standard
30792
+ * event. Accepted alone by this API, without `pixelId` or `customEventType`.
30793
+ * If `pixelId` is also sent, `customEventType` is still required on the
30794
+ * promoted_object (Meta rejects `pixel_id` without `custom_event_type`,
30795
+ * error_subcode 1885014).
30796
+ *
30789
30797
  */
30790
30798
  customConversionId?: string;
30791
30799
  /**
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.572",
39
+ version: "0.2.573",
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.572",
8
+ version: "0.2.573",
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.572",
3
+ "version": "0.2.573",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -31261,6 +31261,9 @@ export type CreateStandaloneAdData = {
31261
31261
  promotedObject?: {
31262
31262
  /**
31263
31263
  * Pixel ID. **Meta:** Facebook Pixel ID, required for `goal: conversions`.
31264
+ * Requires `customEventType` alongside it; Meta rejects any promoted_object
31265
+ * carrying `pixel_id` without `custom_event_type` (error_subcode 1885014),
31266
+ * even when `customConversionId` is also present.
31264
31267
  * **TikTok:** TikTok Pixel ID, required for `goal: conversions`.
31265
31268
  * To discover the pixels an ad account can use, call
31266
31269
  * `GET /v1/accounts/{accountId}/tracking-tags?adAccountId=act_...` (each entry
@@ -31316,7 +31319,12 @@ export type CreateStandaloneAdData = {
31316
31319
  */
31317
31320
  objectStoreUrl?: string;
31318
31321
  /**
31319
- * Custom Conversion ID, when optimising against one instead of a standard event.
31322
+ * Custom Conversion ID, when optimising against one instead of a standard
31323
+ * event. Accepted alone by this API, without `pixelId` or `customEventType`.
31324
+ * If `pixelId` is also sent, `customEventType` is still required on the
31325
+ * promoted_object (Meta rejects `pixel_id` without `custom_event_type`,
31326
+ * error_subcode 1885014).
31327
+ *
31320
31328
  */
31321
31329
  customConversionId?: string;
31322
31330
  /**