@zernio/node 0.2.691 → 0.2.692

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
@@ -32704,9 +32704,31 @@ type CreateStandaloneAdData = {
32704
32704
  */
32705
32705
  body?: string;
32706
32706
  /**
32707
- * Meta only (facebook/instagram). Link description — the secondary text shown below the headline (Meta's link_data.description; on video creatives mapped to video_data.link_description). When omitted, Meta auto-pulls the destination URL's OpenGraph description. Applies on legacy, attach, and placementAssets shapes; for multi-creative use creatives[].description (this field is the shared fallback). For multi-text variations use dynamicCreative.descriptions instead.
32707
+ * Meta only (facebook/instagram). Link description — the secondary text shown below the headline (Meta's link_data.description; on video creatives mapped to video_data.link_description). When omitted, Meta auto-pulls the destination URL's OpenGraph description. Applies on legacy, attach, and placementAssets shapes; for multi-creative use creatives[].description (this field is the shared fallback). For multi-text variations use `descriptions` (array) instead.
32708
32708
  */
32709
32709
  description?: string;
32710
+ /**
32711
+ * Meta only. Multiple Text Options (Advantage+ Flexible Format): supply 1-5 primary-text
32712
+ * variations and Meta optimises delivery across them, WITHOUT enabling full Dynamic Creative
32713
+ * (`dynamicCreative`). Uses `optimization_type: DEGREES_OF_FREEDOM` on the asset feed, so
32714
+ * multiple ads per ad set are allowed (unlike `dynamicCreative` which is limited to one).
32715
+ * Requires `imageUrl` or `video`, `linkUrl`, and `callToAction`. When set, the top-level
32716
+ * `body` field is used as the `object_story_spec.link_data.message` (the preview text) and
32717
+ * `headlines` must also be present. Mutually exclusive with `dynamicCreative`,
32718
+ * `placementAssets`, `carouselCards`, and `creatives[]`.
32719
+ *
32720
+ */
32721
+ bodies?: Array<(string)>;
32722
+ /**
32723
+ * Meta only. Headline variations for Multiple Text Options. Must be sent alongside `bodies`.
32724
+ * The top-level `headline` field is used as the `object_story_spec.link_data.name`.
32725
+ *
32726
+ */
32727
+ headlines?: Array<(string)>;
32728
+ /**
32729
+ * Meta only. Optional description variations for Multiple Text Options. Sent alongside `bodies` and `headlines`.
32730
+ */
32731
+ descriptions?: Array<(string)>;
32710
32732
  /**
32711
32733
  * Required on legacy + attach shapes for Meta. Honoured on TikTok (passes through to the Spark Ad creative's `call_to_action`) and on LinkedIn (the CTA button on the ad; defaults to LEARN_MORE when `linkUrl` is set). LinkedIn accepts: LEARN_MORE, SIGN_UP, DOWNLOAD, SUBSCRIBE, REGISTER, JOIN, ATTEND, REQUEST_DEMO, VIEW_QUOTE, APPLY, SEE_MORE, SHOP_NOW, BUY_NOW. Ignored by Google, Pinterest, and X/Twitter.
32712
32734
  */
package/dist/index.d.ts CHANGED
@@ -32704,9 +32704,31 @@ type CreateStandaloneAdData = {
32704
32704
  */
32705
32705
  body?: string;
32706
32706
  /**
32707
- * Meta only (facebook/instagram). Link description — the secondary text shown below the headline (Meta's link_data.description; on video creatives mapped to video_data.link_description). When omitted, Meta auto-pulls the destination URL's OpenGraph description. Applies on legacy, attach, and placementAssets shapes; for multi-creative use creatives[].description (this field is the shared fallback). For multi-text variations use dynamicCreative.descriptions instead.
32707
+ * Meta only (facebook/instagram). Link description — the secondary text shown below the headline (Meta's link_data.description; on video creatives mapped to video_data.link_description). When omitted, Meta auto-pulls the destination URL's OpenGraph description. Applies on legacy, attach, and placementAssets shapes; for multi-creative use creatives[].description (this field is the shared fallback). For multi-text variations use `descriptions` (array) instead.
32708
32708
  */
32709
32709
  description?: string;
32710
+ /**
32711
+ * Meta only. Multiple Text Options (Advantage+ Flexible Format): supply 1-5 primary-text
32712
+ * variations and Meta optimises delivery across them, WITHOUT enabling full Dynamic Creative
32713
+ * (`dynamicCreative`). Uses `optimization_type: DEGREES_OF_FREEDOM` on the asset feed, so
32714
+ * multiple ads per ad set are allowed (unlike `dynamicCreative` which is limited to one).
32715
+ * Requires `imageUrl` or `video`, `linkUrl`, and `callToAction`. When set, the top-level
32716
+ * `body` field is used as the `object_story_spec.link_data.message` (the preview text) and
32717
+ * `headlines` must also be present. Mutually exclusive with `dynamicCreative`,
32718
+ * `placementAssets`, `carouselCards`, and `creatives[]`.
32719
+ *
32720
+ */
32721
+ bodies?: Array<(string)>;
32722
+ /**
32723
+ * Meta only. Headline variations for Multiple Text Options. Must be sent alongside `bodies`.
32724
+ * The top-level `headline` field is used as the `object_story_spec.link_data.name`.
32725
+ *
32726
+ */
32727
+ headlines?: Array<(string)>;
32728
+ /**
32729
+ * Meta only. Optional description variations for Multiple Text Options. Sent alongside `bodies` and `headlines`.
32730
+ */
32731
+ descriptions?: Array<(string)>;
32710
32732
  /**
32711
32733
  * Required on legacy + attach shapes for Meta. Honoured on TikTok (passes through to the Spark Ad creative's `call_to_action`) and on LinkedIn (the CTA button on the ad; defaults to LEARN_MORE when `linkUrl` is set). LinkedIn accepts: LEARN_MORE, SIGN_UP, DOWNLOAD, SUBSCRIBE, REGISTER, JOIN, ATTEND, REQUEST_DEMO, VIEW_QUOTE, APPLY, SEE_MORE, SHOP_NOW, BUY_NOW. Ignored by Google, Pinterest, and X/Twitter.
32712
32734
  */
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.691",
39
+ version: "0.2.692",
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.691",
8
+ version: "0.2.692",
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.691",
3
+ "version": "0.2.692",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -33309,9 +33309,31 @@ export type CreateStandaloneAdData = {
33309
33309
  */
33310
33310
  body?: string;
33311
33311
  /**
33312
- * Meta only (facebook/instagram). Link description — the secondary text shown below the headline (Meta's link_data.description; on video creatives mapped to video_data.link_description). When omitted, Meta auto-pulls the destination URL's OpenGraph description. Applies on legacy, attach, and placementAssets shapes; for multi-creative use creatives[].description (this field is the shared fallback). For multi-text variations use dynamicCreative.descriptions instead.
33312
+ * Meta only (facebook/instagram). Link description — the secondary text shown below the headline (Meta's link_data.description; on video creatives mapped to video_data.link_description). When omitted, Meta auto-pulls the destination URL's OpenGraph description. Applies on legacy, attach, and placementAssets shapes; for multi-creative use creatives[].description (this field is the shared fallback). For multi-text variations use `descriptions` (array) instead.
33313
33313
  */
33314
33314
  description?: string;
33315
+ /**
33316
+ * Meta only. Multiple Text Options (Advantage+ Flexible Format): supply 1-5 primary-text
33317
+ * variations and Meta optimises delivery across them, WITHOUT enabling full Dynamic Creative
33318
+ * (`dynamicCreative`). Uses `optimization_type: DEGREES_OF_FREEDOM` on the asset feed, so
33319
+ * multiple ads per ad set are allowed (unlike `dynamicCreative` which is limited to one).
33320
+ * Requires `imageUrl` or `video`, `linkUrl`, and `callToAction`. When set, the top-level
33321
+ * `body` field is used as the `object_story_spec.link_data.message` (the preview text) and
33322
+ * `headlines` must also be present. Mutually exclusive with `dynamicCreative`,
33323
+ * `placementAssets`, `carouselCards`, and `creatives[]`.
33324
+ *
33325
+ */
33326
+ bodies?: Array<(string)>;
33327
+ /**
33328
+ * Meta only. Headline variations for Multiple Text Options. Must be sent alongside `bodies`.
33329
+ * The top-level `headline` field is used as the `object_story_spec.link_data.name`.
33330
+ *
33331
+ */
33332
+ headlines?: Array<(string)>;
33333
+ /**
33334
+ * Meta only. Optional description variations for Multiple Text Options. Sent alongside `bodies` and `headlines`.
33335
+ */
33336
+ descriptions?: Array<(string)>;
33315
33337
  /**
33316
33338
  * Required on legacy + attach shapes for Meta. Honoured on TikTok (passes through to the Spark Ad creative's `call_to_action`) and on LinkedIn (the CTA button on the ad; defaults to LEARN_MORE when `linkUrl` is set). LinkedIn accepts: LEARN_MORE, SIGN_UP, DOWNLOAD, SUBSCRIBE, REGISTER, JOIN, ATTEND, REQUEST_DEMO, VIEW_QUOTE, APPLY, SEE_MORE, SHOP_NOW, BUY_NOW. Ignored by Google, Pinterest, and X/Twitter.
33317
33339
  */