@getlatedev/node 0.2.572 → 0.2.574

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
@@ -30278,8 +30278,9 @@ type CreateStandaloneAdData = {
30278
30278
  /**
30279
30279
  * Meta only. Override the Instagram account the ad is delivered as — pass an Instagram
30280
30280
  * Business Account ID (e.g. 17841...), mapped to the creative's `instagram_user_id`.
30281
- * When omitted we auto-resolve the IG account linked to the connected Facebook Page
30282
- * (the existing default). Useful when a Page has more than one eligible IG account.
30281
+ * When omitted we use the Instagram actor Meta already runs the Page's other ads as,
30282
+ * falling back to the Page's page-backed Instagram account. Useful when a Page has more
30283
+ * than one eligible IG account.
30283
30284
  *
30284
30285
  */
30285
30286
  instagramAccountId?: string;
@@ -30730,6 +30731,9 @@ type CreateStandaloneAdData = {
30730
30731
  promotedObject?: {
30731
30732
  /**
30732
30733
  * Pixel ID. **Meta:** Facebook Pixel ID, required for `goal: conversions`.
30734
+ * Requires `customEventType` alongside it; Meta rejects any promoted_object
30735
+ * carrying `pixel_id` without `custom_event_type` (error_subcode 1885014),
30736
+ * even when `customConversionId` is also present.
30733
30737
  * **TikTok:** TikTok Pixel ID, required for `goal: conversions`.
30734
30738
  * To discover the pixels an ad account can use, call
30735
30739
  * `GET /v1/accounts/{accountId}/tracking-tags?adAccountId=act_...` (each entry
@@ -30785,7 +30789,12 @@ type CreateStandaloneAdData = {
30785
30789
  */
30786
30790
  objectStoreUrl?: string;
30787
30791
  /**
30788
- * Custom Conversion ID, when optimising against one instead of a standard event.
30792
+ * Custom Conversion ID, when optimising against one instead of a standard
30793
+ * event. Accepted alone by this API, without `pixelId` or `customEventType`.
30794
+ * If `pixelId` is also sent, `customEventType` is still required on the
30795
+ * promoted_object (Meta rejects `pixel_id` without `custom_event_type`,
30796
+ * error_subcode 1885014).
30797
+ *
30789
30798
  */
30790
30799
  customConversionId?: string;
30791
30800
  /**
package/dist/index.d.ts CHANGED
@@ -30278,8 +30278,9 @@ type CreateStandaloneAdData = {
30278
30278
  /**
30279
30279
  * Meta only. Override the Instagram account the ad is delivered as — pass an Instagram
30280
30280
  * Business Account ID (e.g. 17841...), mapped to the creative's `instagram_user_id`.
30281
- * When omitted we auto-resolve the IG account linked to the connected Facebook Page
30282
- * (the existing default). Useful when a Page has more than one eligible IG account.
30281
+ * When omitted we use the Instagram actor Meta already runs the Page's other ads as,
30282
+ * falling back to the Page's page-backed Instagram account. Useful when a Page has more
30283
+ * than one eligible IG account.
30283
30284
  *
30284
30285
  */
30285
30286
  instagramAccountId?: string;
@@ -30730,6 +30731,9 @@ type CreateStandaloneAdData = {
30730
30731
  promotedObject?: {
30731
30732
  /**
30732
30733
  * Pixel ID. **Meta:** Facebook Pixel ID, required for `goal: conversions`.
30734
+ * Requires `customEventType` alongside it; Meta rejects any promoted_object
30735
+ * carrying `pixel_id` without `custom_event_type` (error_subcode 1885014),
30736
+ * even when `customConversionId` is also present.
30733
30737
  * **TikTok:** TikTok Pixel ID, required for `goal: conversions`.
30734
30738
  * To discover the pixels an ad account can use, call
30735
30739
  * `GET /v1/accounts/{accountId}/tracking-tags?adAccountId=act_...` (each entry
@@ -30785,7 +30789,12 @@ type CreateStandaloneAdData = {
30785
30789
  */
30786
30790
  objectStoreUrl?: string;
30787
30791
  /**
30788
- * Custom Conversion ID, when optimising against one instead of a standard event.
30792
+ * Custom Conversion ID, when optimising against one instead of a standard
30793
+ * event. Accepted alone by this API, without `pixelId` or `customEventType`.
30794
+ * If `pixelId` is also sent, `customEventType` is still required on the
30795
+ * promoted_object (Meta rejects `pixel_id` without `custom_event_type`,
30796
+ * error_subcode 1885014).
30797
+ *
30789
30798
  */
30790
30799
  customConversionId?: string;
30791
30800
  /**
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.574",
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.574",
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.574",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -30809,8 +30809,9 @@ export type CreateStandaloneAdData = {
30809
30809
  /**
30810
30810
  * Meta only. Override the Instagram account the ad is delivered as — pass an Instagram
30811
30811
  * Business Account ID (e.g. 17841...), mapped to the creative's `instagram_user_id`.
30812
- * When omitted we auto-resolve the IG account linked to the connected Facebook Page
30813
- * (the existing default). Useful when a Page has more than one eligible IG account.
30812
+ * When omitted we use the Instagram actor Meta already runs the Page's other ads as,
30813
+ * falling back to the Page's page-backed Instagram account. Useful when a Page has more
30814
+ * than one eligible IG account.
30814
30815
  *
30815
30816
  */
30816
30817
  instagramAccountId?: string;
@@ -31261,6 +31262,9 @@ export type CreateStandaloneAdData = {
31261
31262
  promotedObject?: {
31262
31263
  /**
31263
31264
  * Pixel ID. **Meta:** Facebook Pixel ID, required for `goal: conversions`.
31265
+ * Requires `customEventType` alongside it; Meta rejects any promoted_object
31266
+ * carrying `pixel_id` without `custom_event_type` (error_subcode 1885014),
31267
+ * even when `customConversionId` is also present.
31264
31268
  * **TikTok:** TikTok Pixel ID, required for `goal: conversions`.
31265
31269
  * To discover the pixels an ad account can use, call
31266
31270
  * `GET /v1/accounts/{accountId}/tracking-tags?adAccountId=act_...` (each entry
@@ -31316,7 +31320,12 @@ export type CreateStandaloneAdData = {
31316
31320
  */
31317
31321
  objectStoreUrl?: string;
31318
31322
  /**
31319
- * Custom Conversion ID, when optimising against one instead of a standard event.
31323
+ * Custom Conversion ID, when optimising against one instead of a standard
31324
+ * event. Accepted alone by this API, without `pixelId` or `customEventType`.
31325
+ * If `pixelId` is also sent, `customEventType` is still required on the
31326
+ * promoted_object (Meta rejects `pixel_id` without `custom_event_type`,
31327
+ * error_subcode 1885014).
31328
+ *
31320
31329
  */
31321
31330
  customConversionId?: string;
31322
31331
  /**