@getlatedev/node 0.2.1337 → 0.2.1338

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: "@getlatedev/node",
39
- version: "0.2.1337",
39
+ version: "0.2.1338",
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.1337",
8
+ version: "0.2.1338",
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.1337",
3
+ "version": "0.2.1338",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -10638,7 +10638,10 @@ export const createAdCampaign = <ThrowOnError extends boolean = false>(options:
10638
10638
  *
10639
10639
  * **Live read, then write.** The campaign's switch is read from the platform first. When that
10640
10640
  * live read shows it already in the requested state nothing is written (`updated: 0`,
10641
- * `skipped: 1`, with the reason). Otherwise the switch is written (`updated: 1`), read back and
10641
+ * `skipped: 1`, with the reason), and when the campaign delivers in that state but some of its
10642
+ * ads are stored in the other state (for example ads switched on in the platform's own UI and
10643
+ * still stored `paused`), those ads (up to 20, at most once every 10 minutes per campaign) are
10644
+ * re-read and stored. Otherwise the switch is written (`updated: 1`), read back and
10642
10645
  * stored, and the delivery status of the ads under it (up to 20) is re-read and stored, so an
10643
10646
  * immediate GET returns what the platform now reports. A stored switch never skips a write, and
10644
10647
  * when the platform cannot be read the write always goes out. On Meta the check reads the
@@ -11332,7 +11335,10 @@ export const deleteAdSet = <ThrowOnError extends boolean = false>(options: Optio
11332
11335
  *
11333
11336
  * **Live read, then write.** The ad set's switch is read from the platform
11334
11337
  * first. When that live read shows it already in the requested state
11335
- * nothing is written (`updated: 0`, `skipped: 1`, with the reason).
11338
+ * nothing is written (`updated: 0`, `skipped: 1`, with the reason), and
11339
+ * when the ad set delivers in that state but some of its ads are stored in
11340
+ * the other state, those ads (up to 20, at most once every 10 minutes per
11341
+ * ad set) are re-read and stored.
11336
11342
  * Otherwise the switch is written (`updated: 1`), read back and stored, and
11337
11343
  * the delivery status of its ads (up to 20) is re-read and stored, so an
11338
11344
  * immediate GET returns what the platform now reports. A stored switch