@zernio/node 0.2.509 → 0.2.510

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
@@ -28457,7 +28457,9 @@ type CreateStandaloneAdData = {
28457
28457
  * with "The language asset feed includes an unsupported targeting field"
28458
28458
  * (subcode 1885985).
28459
28459
  *
28460
- * Media DOES inherit and is uploaded once when shared. Note that Meta enforces
28460
+ * Media DOES inherit and is uploaded once when shared, and `linkUrl` inherits
28461
+ * too: each locale may name its own landing page and unlisted locales fall back
28462
+ * to the ad's top-level `linkUrl`. Note that Meta enforces
28461
28463
  * Dynamic Creative image dimensions on language feeds, so an `imageUrl` that
28462
28464
  * works on a normal ad may be rejected with "The following images have invalid
28463
28465
  * dimensions for Dynamic Creative" (subcode 1885558). Video is not affected.
@@ -28483,6 +28485,10 @@ type CreateStandaloneAdData = {
28483
28485
  * Link description for this language. REQUIRED, and must differ from every other locale and from the ad's top-level description.
28484
28486
  */
28485
28487
  description: string;
28488
+ /**
28489
+ * Destination URL for this language. Inherits the ad's top-level `linkUrl` when omitted, and requires it to be present (400 otherwise): the top-level URL is the destination for every locale you did not override. Unlike text, identical URLs across locales are fine (they share one asset).
28490
+ */
28491
+ linkUrl?: string;
28486
28492
  /**
28487
28493
  * Image for this language. Inherits the ad's `imageUrl` when omitted. The feed is all-image OR all-video.
28488
28494
  */
package/dist/index.d.ts CHANGED
@@ -28457,7 +28457,9 @@ type CreateStandaloneAdData = {
28457
28457
  * with "The language asset feed includes an unsupported targeting field"
28458
28458
  * (subcode 1885985).
28459
28459
  *
28460
- * Media DOES inherit and is uploaded once when shared. Note that Meta enforces
28460
+ * Media DOES inherit and is uploaded once when shared, and `linkUrl` inherits
28461
+ * too: each locale may name its own landing page and unlisted locales fall back
28462
+ * to the ad's top-level `linkUrl`. Note that Meta enforces
28461
28463
  * Dynamic Creative image dimensions on language feeds, so an `imageUrl` that
28462
28464
  * works on a normal ad may be rejected with "The following images have invalid
28463
28465
  * dimensions for Dynamic Creative" (subcode 1885558). Video is not affected.
@@ -28483,6 +28485,10 @@ type CreateStandaloneAdData = {
28483
28485
  * Link description for this language. REQUIRED, and must differ from every other locale and from the ad's top-level description.
28484
28486
  */
28485
28487
  description: string;
28488
+ /**
28489
+ * Destination URL for this language. Inherits the ad's top-level `linkUrl` when omitted, and requires it to be present (400 otherwise): the top-level URL is the destination for every locale you did not override. Unlike text, identical URLs across locales are fine (they share one asset).
28490
+ */
28491
+ linkUrl?: string;
28486
28492
  /**
28487
28493
  * Image for this language. Inherits the ad's `imageUrl` when omitted. The feed is all-image OR all-video.
28488
28494
  */
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.509",
39
+ version: "0.2.510",
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.509",
8
+ version: "0.2.510",
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.509",
3
+ "version": "0.2.510",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -28995,7 +28995,9 @@ export type CreateStandaloneAdData = {
28995
28995
  * with "The language asset feed includes an unsupported targeting field"
28996
28996
  * (subcode 1885985).
28997
28997
  *
28998
- * Media DOES inherit and is uploaded once when shared. Note that Meta enforces
28998
+ * Media DOES inherit and is uploaded once when shared, and `linkUrl` inherits
28999
+ * too: each locale may name its own landing page and unlisted locales fall back
29000
+ * to the ad's top-level `linkUrl`. Note that Meta enforces
28999
29001
  * Dynamic Creative image dimensions on language feeds, so an `imageUrl` that
29000
29002
  * works on a normal ad may be rejected with "The following images have invalid
29001
29003
  * dimensions for Dynamic Creative" (subcode 1885558). Video is not affected.
@@ -29021,6 +29023,10 @@ export type CreateStandaloneAdData = {
29021
29023
  * Link description for this language. REQUIRED, and must differ from every other locale and from the ad's top-level description.
29022
29024
  */
29023
29025
  description: string;
29026
+ /**
29027
+ * Destination URL for this language. Inherits the ad's top-level `linkUrl` when omitted, and requires it to be present (400 otherwise): the top-level URL is the destination for every locale you did not override. Unlike text, identical URLs across locales are fine (they share one asset).
29028
+ */
29029
+ linkUrl?: string;
29024
29030
  /**
29025
29031
  * Image for this language. Inherits the ad's `imageUrl` when omitted. The feed is all-image OR all-video.
29026
29032
  */