@getlatedev/node 0.2.1095 → 0.2.1096

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
@@ -6961,6 +6961,16 @@ type ErrorResponse = {
6961
6961
  * create with a 5xx or dropped the connection and Zernio could not confirm
6962
6962
  * whether the object exists: check that parent before creating it again.
6963
6963
  *
6964
+ * When Meta refuses a write because the ad account's status is ineligible to manage
6965
+ * ads (Meta subcode 2490592 or 4841021, on the write itself or on a cleanup delete),
6966
+ * any Meta ads write (create, boost, CTWA, campaign / ad set / ad updates and status
6967
+ * changes) answers 422 `ad_account_unusable`. The message names the ad account when
6968
+ * known, links Meta's fix (https://www.facebook.com/business/help/422289316306981),
6969
+ * lists the objects left behind and ends with Meta's original error, which also stays
6970
+ * verbatim in `platformError`. Meta often reports the first failure under an
6971
+ * unrelated code (e.g. 1487194 on the creative), so branch on `code`, not on
6972
+ * `platformError`.
6973
+ *
6964
6974
  */
6965
6975
  details?: {
6966
6976
  /**
package/dist/index.d.ts CHANGED
@@ -6961,6 +6961,16 @@ type ErrorResponse = {
6961
6961
  * create with a 5xx or dropped the connection and Zernio could not confirm
6962
6962
  * whether the object exists: check that parent before creating it again.
6963
6963
  *
6964
+ * When Meta refuses a write because the ad account's status is ineligible to manage
6965
+ * ads (Meta subcode 2490592 or 4841021, on the write itself or on a cleanup delete),
6966
+ * any Meta ads write (create, boost, CTWA, campaign / ad set / ad updates and status
6967
+ * changes) answers 422 `ad_account_unusable`. The message names the ad account when
6968
+ * known, links Meta's fix (https://www.facebook.com/business/help/422289316306981),
6969
+ * lists the objects left behind and ends with Meta's original error, which also stays
6970
+ * verbatim in `platformError`. Meta often reports the first failure under an
6971
+ * unrelated code (e.g. 1487194 on the creative), so branch on `code`, not on
6972
+ * `platformError`.
6973
+ *
6964
6974
  */
6965
6975
  details?: {
6966
6976
  /**
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.1095",
39
+ version: "0.2.1096",
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.1095",
8
+ version: "0.2.1096",
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.1095",
3
+ "version": "0.2.1096",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -5183,6 +5183,16 @@ export type ErrorResponse = {
5183
5183
  * create with a 5xx or dropped the connection and Zernio could not confirm
5184
5184
  * whether the object exists: check that parent before creating it again.
5185
5185
  *
5186
+ * When Meta refuses a write because the ad account's status is ineligible to manage
5187
+ * ads (Meta subcode 2490592 or 4841021, on the write itself or on a cleanup delete),
5188
+ * any Meta ads write (create, boost, CTWA, campaign / ad set / ad updates and status
5189
+ * changes) answers 422 `ad_account_unusable`. The message names the ad account when
5190
+ * known, links Meta's fix (https://www.facebook.com/business/help/422289316306981),
5191
+ * lists the objects left behind and ends with Meta's original error, which also stays
5192
+ * verbatim in `platformError`. Meta often reports the first failure under an
5193
+ * unrelated code (e.g. 1487194 on the creative), so branch on `code`, not on
5194
+ * `platformError`.
5195
+ *
5186
5196
  */
5187
5197
  details?: {
5188
5198
  /**