@zernio/node 0.2.872 → 0.2.873

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
@@ -39724,7 +39724,12 @@ type CreateStandaloneAdData = {
39724
39724
  * `body` field is used as the `object_story_spec.link_data.message` (the preview text) and
39725
39725
  * `headlines` must also be present. On a video creative the copy lands in
39726
39726
  * `video_data.message` / `video_data.title` instead of `link_data`. Mutually exclusive
39727
- * with `dynamicCreative`, `placementAssets`, `carouselCards`, and `creatives[]`. For placement-specific copy, use the singular `placementAssets.rules[].body` and `headline` fields instead.
39727
+ * with `dynamicCreative`, `carouselCards`, and `creatives[]`. With `placementAssets` the pool
39728
+ * is applied to the placement-customized creative instead (`optimization_type: PLACEMENT`,
39729
+ * every body carries the label of each rule that does not pin its own `body`, and the same for
39730
+ * `headlines`), so Meta rotates the options per placement while media stays pinned; a rule's
39731
+ * own `body` / `headline` stays pinned for that placement. `descriptions[]` cannot join a
39732
+ * placement-customized creative (Meta refuses a second description per rule, subcode 1885878).
39728
39733
  *
39729
39734
  */
39730
39735
  bodies?: Array<(string)>;
package/dist/index.d.ts CHANGED
@@ -39724,7 +39724,12 @@ type CreateStandaloneAdData = {
39724
39724
  * `body` field is used as the `object_story_spec.link_data.message` (the preview text) and
39725
39725
  * `headlines` must also be present. On a video creative the copy lands in
39726
39726
  * `video_data.message` / `video_data.title` instead of `link_data`. Mutually exclusive
39727
- * with `dynamicCreative`, `placementAssets`, `carouselCards`, and `creatives[]`. For placement-specific copy, use the singular `placementAssets.rules[].body` and `headline` fields instead.
39727
+ * with `dynamicCreative`, `carouselCards`, and `creatives[]`. With `placementAssets` the pool
39728
+ * is applied to the placement-customized creative instead (`optimization_type: PLACEMENT`,
39729
+ * every body carries the label of each rule that does not pin its own `body`, and the same for
39730
+ * `headlines`), so Meta rotates the options per placement while media stays pinned; a rule's
39731
+ * own `body` / `headline` stays pinned for that placement. `descriptions[]` cannot join a
39732
+ * placement-customized creative (Meta refuses a second description per rule, subcode 1885878).
39728
39733
  *
39729
39734
  */
39730
39735
  bodies?: Array<(string)>;
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.872",
39
+ version: "0.2.873",
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.872",
8
+ version: "0.2.873",
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.872",
3
+ "version": "0.2.873",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -40372,7 +40372,12 @@ export type CreateStandaloneAdData = {
40372
40372
  * `body` field is used as the `object_story_spec.link_data.message` (the preview text) and
40373
40373
  * `headlines` must also be present. On a video creative the copy lands in
40374
40374
  * `video_data.message` / `video_data.title` instead of `link_data`. Mutually exclusive
40375
- * with `dynamicCreative`, `placementAssets`, `carouselCards`, and `creatives[]`. For placement-specific copy, use the singular `placementAssets.rules[].body` and `headline` fields instead.
40375
+ * with `dynamicCreative`, `carouselCards`, and `creatives[]`. With `placementAssets` the pool
40376
+ * is applied to the placement-customized creative instead (`optimization_type: PLACEMENT`,
40377
+ * every body carries the label of each rule that does not pin its own `body`, and the same for
40378
+ * `headlines`), so Meta rotates the options per placement while media stays pinned; a rule's
40379
+ * own `body` / `headline` stays pinned for that placement. `descriptions[]` cannot join a
40380
+ * placement-customized creative (Meta refuses a second description per rule, subcode 1885878).
40376
40381
  *
40377
40382
  */
40378
40383
  bodies?: Array<(string)>;