@getlatedev/node 0.2.1342 → 0.2.1343

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
@@ -8491,6 +8491,16 @@ type ErrorResponse = {
8491
8491
  * unrelated code (e.g. 1487194 on the creative), so branch on `code`, not on
8492
8492
  * `platformError`.
8493
8493
  *
8494
+ * When Meta refuses a write because the Facebook user behind the connection's token
8495
+ * lacks the Advertise permission on the ad account (Meta subcode 2490585, 2490591 or 4841020 on
8496
+ * the write, or a code 200 refusal such as 1487194 whose cleanup deletes Meta refused
8497
+ * with 2490591 or 4841020), any Meta ads write answers 403 `insufficient_permissions`.
8498
+ * Meta may still accept the campaign and ad set and refuse only the ad. The message
8499
+ * names the ad account, asks for the Advertise or Manage permission on it (or a token
8500
+ * granted `ads_management`, by reconnecting), lists the objects left behind and ends
8501
+ * with Meta's `error_user_title`, `error_user_msg` and subcode; the raw error stays in
8502
+ * `platformError`.
8503
+ *
8494
8504
  */
8495
8505
  details?: {
8496
8506
  /**
package/dist/index.d.ts CHANGED
@@ -8491,6 +8491,16 @@ type ErrorResponse = {
8491
8491
  * unrelated code (e.g. 1487194 on the creative), so branch on `code`, not on
8492
8492
  * `platformError`.
8493
8493
  *
8494
+ * When Meta refuses a write because the Facebook user behind the connection's token
8495
+ * lacks the Advertise permission on the ad account (Meta subcode 2490585, 2490591 or 4841020 on
8496
+ * the write, or a code 200 refusal such as 1487194 whose cleanup deletes Meta refused
8497
+ * with 2490591 or 4841020), any Meta ads write answers 403 `insufficient_permissions`.
8498
+ * Meta may still accept the campaign and ad set and refuse only the ad. The message
8499
+ * names the ad account, asks for the Advertise or Manage permission on it (or a token
8500
+ * granted `ads_management`, by reconnecting), lists the objects left behind and ends
8501
+ * with Meta's `error_user_title`, `error_user_msg` and subcode; the raw error stays in
8502
+ * `platformError`.
8503
+ *
8494
8504
  */
8495
8505
  details?: {
8496
8506
  /**
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.1342",
39
+ version: "0.2.1343",
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.1342",
8
+ version: "0.2.1343",
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.1342",
3
+ "version": "0.2.1343",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -6643,6 +6643,16 @@ export type ErrorResponse = {
6643
6643
  * unrelated code (e.g. 1487194 on the creative), so branch on `code`, not on
6644
6644
  * `platformError`.
6645
6645
  *
6646
+ * When Meta refuses a write because the Facebook user behind the connection's token
6647
+ * lacks the Advertise permission on the ad account (Meta subcode 2490585, 2490591 or 4841020 on
6648
+ * the write, or a code 200 refusal such as 1487194 whose cleanup deletes Meta refused
6649
+ * with 2490591 or 4841020), any Meta ads write answers 403 `insufficient_permissions`.
6650
+ * Meta may still accept the campaign and ad set and refuse only the ad. The message
6651
+ * names the ad account, asks for the Advertise or Manage permission on it (or a token
6652
+ * granted `ads_management`, by reconnecting), lists the objects left behind and ends
6653
+ * with Meta's `error_user_title`, `error_user_msg` and subcode; the raw error stays in
6654
+ * `platformError`.
6655
+ *
6646
6656
  */
6647
6657
  details?: {
6648
6658
  /**