@getlatedev/node 0.2.1322 → 0.2.1323

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
@@ -50084,10 +50084,25 @@ type BoostPostData = {
50084
50084
  * "engagement"` to objective `OUTCOME_AWARENESS`, which accepts
50085
50085
  * `REACH`, `IMPRESSIONS`, `AD_RECALL_LIFT`, or THRUPLAY-class values, and
50086
50086
  * rejects `POST_ENGAGEMENT` (that value is only valid under
50087
- * `OUTCOME_ENGAGEMENT`, which create uses for the same goal name).
50087
+ * `OUTCOME_ENGAGEMENT`, which create uses for the same goal name, and
50088
+ * which `metaObjective` selects on a boost).
50088
50089
  *
50089
50090
  */
50090
50091
  optimizationGoal?: string;
50092
+ /**
50093
+ * Meta only, with `goal: engagement` and without `adSetId` (400 otherwise).
50094
+ * `OUTCOME_ENGAGEMENT` creates the campaign with objective `OUTCOME_ENGAGEMENT`
50095
+ * and the ad set with `optimization_goal` `POST_ENGAGEMENT` (unless
50096
+ * `optimizationGoal` is set) and `destination_type` `ON_POST` (unless
50097
+ * `destinationType` is set), the shape Ads Manager uses to boost an existing
50098
+ * post. When omitted, an engagement boost keeps `OUTCOME_AWARENESS` with
50099
+ * `REACH`. Returns 400 with `leadGenFormId` or with a `callToAction` whose objective
50100
+ * is not `OUTCOME_ENGAGEMENT` (`CALL_NOW`); messaging CTAs keep their own
50101
+ * `CONVERSATIONS` ad set. Verified against Meta on Facebook posts; Instagram posts
50102
+ * are accepted but not yet verified.
50103
+ *
50104
+ */
50105
+ metaObjective?: 'OUTCOME_ENGAGEMENT';
50091
50106
  };
50092
50107
  headers?: {
50093
50108
  /**
package/dist/index.d.ts CHANGED
@@ -50084,10 +50084,25 @@ type BoostPostData = {
50084
50084
  * "engagement"` to objective `OUTCOME_AWARENESS`, which accepts
50085
50085
  * `REACH`, `IMPRESSIONS`, `AD_RECALL_LIFT`, or THRUPLAY-class values, and
50086
50086
  * rejects `POST_ENGAGEMENT` (that value is only valid under
50087
- * `OUTCOME_ENGAGEMENT`, which create uses for the same goal name).
50087
+ * `OUTCOME_ENGAGEMENT`, which create uses for the same goal name, and
50088
+ * which `metaObjective` selects on a boost).
50088
50089
  *
50089
50090
  */
50090
50091
  optimizationGoal?: string;
50092
+ /**
50093
+ * Meta only, with `goal: engagement` and without `adSetId` (400 otherwise).
50094
+ * `OUTCOME_ENGAGEMENT` creates the campaign with objective `OUTCOME_ENGAGEMENT`
50095
+ * and the ad set with `optimization_goal` `POST_ENGAGEMENT` (unless
50096
+ * `optimizationGoal` is set) and `destination_type` `ON_POST` (unless
50097
+ * `destinationType` is set), the shape Ads Manager uses to boost an existing
50098
+ * post. When omitted, an engagement boost keeps `OUTCOME_AWARENESS` with
50099
+ * `REACH`. Returns 400 with `leadGenFormId` or with a `callToAction` whose objective
50100
+ * is not `OUTCOME_ENGAGEMENT` (`CALL_NOW`); messaging CTAs keep their own
50101
+ * `CONVERSATIONS` ad set. Verified against Meta on Facebook posts; Instagram posts
50102
+ * are accepted but not yet verified.
50103
+ *
50104
+ */
50105
+ metaObjective?: 'OUTCOME_ENGAGEMENT';
50091
50106
  };
50092
50107
  headers?: {
50093
50108
  /**
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.1322",
39
+ version: "0.2.1323",
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.1322",
8
+ version: "0.2.1323",
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.1322",
3
+ "version": "0.2.1323",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -50990,10 +50990,25 @@ export type BoostPostData = {
50990
50990
  * "engagement"` to objective `OUTCOME_AWARENESS`, which accepts
50991
50991
  * `REACH`, `IMPRESSIONS`, `AD_RECALL_LIFT`, or THRUPLAY-class values, and
50992
50992
  * rejects `POST_ENGAGEMENT` (that value is only valid under
50993
- * `OUTCOME_ENGAGEMENT`, which create uses for the same goal name).
50993
+ * `OUTCOME_ENGAGEMENT`, which create uses for the same goal name, and
50994
+ * which `metaObjective` selects on a boost).
50994
50995
  *
50995
50996
  */
50996
50997
  optimizationGoal?: string;
50998
+ /**
50999
+ * Meta only, with `goal: engagement` and without `adSetId` (400 otherwise).
51000
+ * `OUTCOME_ENGAGEMENT` creates the campaign with objective `OUTCOME_ENGAGEMENT`
51001
+ * and the ad set with `optimization_goal` `POST_ENGAGEMENT` (unless
51002
+ * `optimizationGoal` is set) and `destination_type` `ON_POST` (unless
51003
+ * `destinationType` is set), the shape Ads Manager uses to boost an existing
51004
+ * post. When omitted, an engagement boost keeps `OUTCOME_AWARENESS` with
51005
+ * `REACH`. Returns 400 with `leadGenFormId` or with a `callToAction` whose objective
51006
+ * is not `OUTCOME_ENGAGEMENT` (`CALL_NOW`); messaging CTAs keep their own
51007
+ * `CONVERSATIONS` ad set. Verified against Meta on Facebook posts; Instagram posts
51008
+ * are accepted but not yet verified.
51009
+ *
51010
+ */
51011
+ metaObjective?: 'OUTCOME_ENGAGEMENT';
50997
51012
  };
50998
51013
  headers?: {
50999
51014
  /**