@zernio/node 0.2.1171 → 0.2.1172

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.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@zernio/node",
39
- version: "0.2.1171",
39
+ version: "0.2.1172",
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: "@zernio/node",
8
- version: "0.2.1171",
8
+ version: "0.2.1172",
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": "@zernio/node",
3
- "version": "0.2.1171",
3
+ "version": "0.2.1172",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -10096,8 +10096,10 @@ export const updateAdCampaign = <ThrowOnError extends boolean = false>(options:
10096
10096
  * from the synced campaign, which wins over `adAccountId`; when the campaign
10097
10097
  * was never synced, send `adAccountId` too. Before deleting, Zernio asks X
10098
10098
  * whether the campaign still holds undeleted line items (ads not synced
10099
- * yet); if it does the answer is 409 and nothing is deleted, so sync the ad
10100
- * account and retry. Other platforms answer 501 for an empty campaign.
10099
+ * yet); if it does the answer is 409 `invalid_field_value` on `campaignId`
10100
+ * and nothing is deleted. Sync the ad account and retry when those line items
10101
+ * hold promoted posts; line items without promoted posts never sync, so delete
10102
+ * them in X Ads Manager first. Other platforms answer 501 for an empty campaign.
10101
10103
  * `accountId` is ignored when the campaign does have ads.
10102
10104
  *
10103
10105
  * Reddit Ads has no delete: the campaign is archived instead (`configured_status`