@zernio/node 0.2.497 → 0.2.498

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
@@ -27656,6 +27656,18 @@ type BoostPostData = {
27656
27656
  *
27657
27657
  */
27658
27658
  dsaPayor?: string;
27659
+ /**
27660
+ * Meta only. Explicit ad-set `optimization_goal` override. When omitted,
27661
+ * defaults to the value derived from `goal`. The value must be compatible
27662
+ * with the objective Meta derives from `goal`, not with the objective used
27663
+ * by `POST /v1/ads/create` for the same `goal` name: boost maps `goal:
27664
+ * "engagement"` to objective `OUTCOME_AWARENESS`, which accepts
27665
+ * `REACH`, `IMPRESSIONS`, `AD_RECALL_LIFT`, or THRUPLAY-class values, and
27666
+ * rejects `POST_ENGAGEMENT` (that value is only valid under
27667
+ * `OUTCOME_ENGAGEMENT`, which create uses for the same goal name).
27668
+ *
27669
+ */
27670
+ optimizationGoal?: string;
27659
27671
  };
27660
27672
  };
27661
27673
  type BoostPostResponse = ({
package/dist/index.d.ts CHANGED
@@ -27656,6 +27656,18 @@ type BoostPostData = {
27656
27656
  *
27657
27657
  */
27658
27658
  dsaPayor?: string;
27659
+ /**
27660
+ * Meta only. Explicit ad-set `optimization_goal` override. When omitted,
27661
+ * defaults to the value derived from `goal`. The value must be compatible
27662
+ * with the objective Meta derives from `goal`, not with the objective used
27663
+ * by `POST /v1/ads/create` for the same `goal` name: boost maps `goal:
27664
+ * "engagement"` to objective `OUTCOME_AWARENESS`, which accepts
27665
+ * `REACH`, `IMPRESSIONS`, `AD_RECALL_LIFT`, or THRUPLAY-class values, and
27666
+ * rejects `POST_ENGAGEMENT` (that value is only valid under
27667
+ * `OUTCOME_ENGAGEMENT`, which create uses for the same goal name).
27668
+ *
27669
+ */
27670
+ optimizationGoal?: string;
27659
27671
  };
27660
27672
  };
27661
27673
  type BoostPostResponse = ({
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.497",
39
+ version: "0.2.498",
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.497",
8
+ version: "0.2.498",
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.497",
3
+ "version": "0.2.498",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -28192,6 +28192,18 @@ export type BoostPostData = {
28192
28192
  *
28193
28193
  */
28194
28194
  dsaPayor?: string;
28195
+ /**
28196
+ * Meta only. Explicit ad-set `optimization_goal` override. When omitted,
28197
+ * defaults to the value derived from `goal`. The value must be compatible
28198
+ * with the objective Meta derives from `goal`, not with the objective used
28199
+ * by `POST /v1/ads/create` for the same `goal` name: boost maps `goal:
28200
+ * "engagement"` to objective `OUTCOME_AWARENESS`, which accepts
28201
+ * `REACH`, `IMPRESSIONS`, `AD_RECALL_LIFT`, or THRUPLAY-class values, and
28202
+ * rejects `POST_ENGAGEMENT` (that value is only valid under
28203
+ * `OUTCOME_ENGAGEMENT`, which create uses for the same goal name).
28204
+ *
28205
+ */
28206
+ optimizationGoal?: string;
28195
28207
  };
28196
28208
  };
28197
28209