@getlatedev/node 0.2.1816 → 0.2.1817

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
@@ -69869,6 +69869,15 @@ type UpdateAdSetData = {
69869
69869
  platformSpecificData?: {
69870
69870
  /**
69871
69871
  * Meta ad-set optimization_goal (e.g. OFFSITE_CONVERSIONS, LANDING_PAGE_VIEWS).
69872
+ *
69873
+ * Meta fixes an ad set's attribution window (`attribution_spec`) at creation. A goal that needs another window cannot be set here:
69874
+ *
69875
+ * - OFFSITE_CONVERSIONS to LANDING_PAGE_VIEWS needs a 1-day click window.
69876
+ * - Meta answers subcode 1885560, and this returns 400 with `param: platformSpecificData.optimizationGoal`.
69877
+ * - Instead, create a new ad set with POST /v1/ads/create, sending the new `optimizationGoal` and its `attributionSpec`, and pause this one.
69878
+ *
69879
+ * `attributionSpec` is not accepted here for the same reason (400 with `param: platformSpecificData.attributionSpec`).
69880
+ *
69872
69881
  */
69873
69882
  optimizationGoal?: string;
69874
69883
  /**
package/dist/index.d.ts CHANGED
@@ -69869,6 +69869,15 @@ type UpdateAdSetData = {
69869
69869
  platformSpecificData?: {
69870
69870
  /**
69871
69871
  * Meta ad-set optimization_goal (e.g. OFFSITE_CONVERSIONS, LANDING_PAGE_VIEWS).
69872
+ *
69873
+ * Meta fixes an ad set's attribution window (`attribution_spec`) at creation. A goal that needs another window cannot be set here:
69874
+ *
69875
+ * - OFFSITE_CONVERSIONS to LANDING_PAGE_VIEWS needs a 1-day click window.
69876
+ * - Meta answers subcode 1885560, and this returns 400 with `param: platformSpecificData.optimizationGoal`.
69877
+ * - Instead, create a new ad set with POST /v1/ads/create, sending the new `optimizationGoal` and its `attributionSpec`, and pause this one.
69878
+ *
69879
+ * `attributionSpec` is not accepted here for the same reason (400 with `param: platformSpecificData.attributionSpec`).
69880
+ *
69872
69881
  */
69873
69882
  optimizationGoal?: string;
69874
69883
  /**
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.1816",
39
+ version: "0.2.1817",
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.1816",
8
+ version: "0.2.1817",
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.1816",
3
+ "version": "0.2.1817",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -71315,6 +71315,15 @@ export type UpdateAdSetData = {
71315
71315
  platformSpecificData?: {
71316
71316
  /**
71317
71317
  * Meta ad-set optimization_goal (e.g. OFFSITE_CONVERSIONS, LANDING_PAGE_VIEWS).
71318
+ *
71319
+ * Meta fixes an ad set's attribution window (`attribution_spec`) at creation. A goal that needs another window cannot be set here:
71320
+ *
71321
+ * - OFFSITE_CONVERSIONS to LANDING_PAGE_VIEWS needs a 1-day click window.
71322
+ * - Meta answers subcode 1885560, and this returns 400 with `param: platformSpecificData.optimizationGoal`.
71323
+ * - Instead, create a new ad set with POST /v1/ads/create, sending the new `optimizationGoal` and its `attributionSpec`, and pause this one.
71324
+ *
71325
+ * `attributionSpec` is not accepted here for the same reason (400 with `param: platformSpecificData.attributionSpec`).
71326
+ *
71318
71327
  */
71319
71328
  optimizationGoal?: string;
71320
71329
  /**